2017 © Pedro Peláez
 

library kaleido

Kaleido network traffic forwarding tool.

image

burpsuite/kaleido

Kaleido network traffic forwarding tool.

  • Sunday, July 29, 2018
  • by BurpSuite
  • Repository
  • 1 Watchers
  • 0 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 25 Versions
  • 67 % Grown

The README.md

Kaleido(Scope)

Kaleido network traffic forwarding tool(api-gateway).
** I need more testing and improvement, don't use. **, (*1)

Features

  • Support GET, POST, PUT, DELETE, PATCH, SEARCH and More Request Methods.
  • Support Added/Delete/Modify Http Headers(Request/Response).
  • Support for Replay Request(Current)/Response(History).
  • Support Added/Delete/Modify Cookies(Request/Response).
  • Support Regular Expressions to Modify Request Url.
  • Support Regular Expressions to Added/Delete/Modify Body(Request/Response).
  • Support Patch Request/Response Json-Body(Does not support JSONP).
  • Support Capture Request and Responses.
  • Support for Remote Server Status-Code Responses.
  • Support Response Body Size Limit(By byte).
  • Support Regular Expressions to Added/Delete/Modify Request Params.
  • Support for Allowing/Denying the Display of Remote Server Status-Code.
  • ...

Install

composer install burpsuite/kaleido

{
  "require": {
    "burpsuite/kaleido": "^0.1.0090"
  }
}

Http

Usage

$dispatcher = FastRoute\simpleDispatcher(function(FastRoute\RouteCollector $r) {
    $r->addRoute(
        ['GET', 'POST', 'PUT', 'HEAD', 'OPTIONS', 'PATCH', 'SEARCH', 'DELETE'],
        '/kaleido/{taskId:[0-9a-f\-]+}/{url:[\w\:\/\-\.\_\%]+\??}{param:.*}',
        ['Kaleido\Http\Loader', 'listenHttp']
    );
    $r->addRoute(
        'GET', '/kaleido/{activity:\w+}/{objectId:\w+}',
        ['Kaleido\Http\Loader', 'replayHttp']
    );
});

Loader

{
  "loadType": "remote",
  "loadInfo": {
    "loadData": "http://localhost/kaleido_v3.json",
    "loadCache": {
      "type": "dynamic",
      "data": "redis_url",
      "interval": 86400
    }
  }
}

Capture

{
  "capType": "leancloud",
  "leancloud": {
    "appId": "pTPoK9Q7jGyTFpNXXXXXXXX-MdYXbMMI",
    "appKey": "uiTYApLfNDXXXXXXXXxEUTNx",
    "masterKey": "okrmXcXXXXXXXXUfKI7xzmUt",
    "apiServer": "https://us-api.leancloud.cn",
    "className": "TrafficCapture"
  }
}

Sample

[
  {
    "desc": "httpbin",
    "host": ["http://httpbin.org", "https://httpbin.org"],
    "method": ["get", "post", "put"],
    "handle": {
      "request": {
        "check_hostname": true,
        "check_method": true,
        "fix_urlencode": true,
        "enable_header": true,
        "enable_cookie": true,
        "maxSize": 250000,
        "url": {},
        "url_param": {},
        "form_param": {},
        "body": {},
        "body_patch": {},
        "cookie": {},
        "header": {
          "Cookie": null
        }
      },
      "response": {
        "allow_error": true,
        "enable_header": true,
        "enable_cookie": true,
        "body": {},
        "body_patch": {},
        "cookie": {},
        "header": {
          "Connection": null,
          "Transfer-Encoding": null,
          "Content-Length": null,
          "Access-Control-Allow-Origin": "*"
        }
      }
    }
  }
]

Socket

, (*2)

Coming Soon

  • Support Socket (react/socket).
  • Support Stream (react/stream).
  • Support Tag Replace.
  • Support Capture to Redis.
  • Support for More Exception Handling.
  • ...

The Versions

29/07 2018

dev-master

9999999-dev https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

29/07 2018

0.3.3

0.3.3.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

24/07 2018

0.3.1

0.3.1.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

24/07 2018

0.3.2

0.3.2.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

24/07 2018

0.3.0

0.3.0.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

17/07 2018

0.2.9

0.2.9.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

27/06 2018

0.2.8

0.2.8.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

29/05 2018

0.2.7

0.2.7.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

27/05 2018

0.2.6

0.2.6.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

28/04 2018

0.2.5

0.2.5.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

28/04 2018

0.2.4

0.2.4.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

28/04 2018

0.2.3

0.2.3.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

28/04 2018

0.2.2

0.2.2.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

28/04 2018

0.2.1

0.2.1.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

27/04 2018

0.1.9

0.1.9.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

27/04 2018

0.2.0

0.2.0.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

27/04 2018

0.1.8

0.1.8.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

24/04 2018

0.1.7

0.1.7.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

24/04 2018

0.1.6

0.1.6.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

24/04 2018

0.1.5

0.1.5.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

23/04 2018

0.1.4

0.1.4.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

23/04 2018

0.1.3

0.1.3.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

09/04 2018

0.1.2

0.1.2.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

05/04 2018

0.1.1

0.1.1.0 https://github.com/burpsuite/kaleido

Kaleido network traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido

03/04 2018

0.1.0

0.1.0.0 https://github.com/burpsuite/kaleido

Kaleido traffic forwarding tool.

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Avatar BurpSuite

kaleido