interactsh
interactsh copied to clipboard
[Feature] [Prototype] Adding internal scripting engine
Adding supports for OOB-yaml based templates:
- DSL matcher on requests
- Invoke a custom callback in python-like language
- Allows to manipulate responses (currently only HTTP and partially DNS)
Not compiling as nebula
is still incomplete
Steps to reproduce locally:
- Run interactsh-server
$ go run . -template -unsafe -debug -skip-acme
2021/09/13 13:26:40 Client Token: <Token>
2021/09/13 13:26:40 Listening on DNS, SMTP and HTTP ports
- run interactsh-client:
$ go run . -url http://localhost -v -template-path templates/callbacks_http.yaml -token <token>
_ __ __ __
(_)___ / /____ _________ ______/ /______/ /_
/ / __ \/ __/ _ \/ ___/ __ '/ ___/ __/ ___/ __ \
/ / / / / /_/ __/ / / /_/ / /__/ /_(__ ) / / /
/_/_/ /_/\__/\___/_/ \__,_/\___/\__/____/_/ /_/ v0.0.5
projectdiscovery.io
[INF] Listing 1 URL for OOB Testing
[INF] <id>.localhost
- Issue the following request with the path
/test1
to trigger the customized response
GET /test1 HTTP/1.1
Host: <id>.localhost
Content-Length: 2
Response:
HTTP/1.1 500 Internal Server Error
Another_one: this is another header
Authorization: kasdkasjd
Date: Mon, 13 Sep 2021 11:22:43 GMT
Content-Length: 4
Content-Type: text/plain; charset=utf-8
test
Closing as not planned.