An OOB interaction gathering server and client library
An OOB interaction gathering server and client library
Features • Usage • Interactsh Client • Interactsh Server • Interactsh Integration • Join Discord
Interactsh is an open-source tool for detecting out-of-band interactions. It is a tool designed to detect vulnerabilities that cause external interactions.
interactsh-client -hThis will display help for the tool. Here are all the switches it supports.
…Interactsh Cli client requires go1.20+ to install successfully. Run the following command to get the repo -
go install -v github.com/projectdiscovery/interactsh/cmd/interactsh-client@latestGet your free api key by signing up at https://cloud.projectdiscovery.io
You can configure your PDCP_API_KEY in two ways:
./interactsh-client -auth./interactsh-client -auth=<pdcp-api-key>This will generate a unique payload that can be used for OOB testing with minimal interaction information in the output.
…interactsh-client with -sf, -session-file flag can be used store/read the current session information from user defined file which is useful to resume the same session to poll the interactions even after the client gets stopped or closed.
…Running the interactsh-client in verbose mode (v) to see the whole request and response, along with an output file to analyze afterwards.
…Using the server flag, interactsh-client can be configured to connect with a self-hosted Interactsh server, this flag accepts single or multiple server separated by comma.
interactsh-client -server hackwithautomation.comWe maintain a list of default Interactsh servers to use with interactsh-client:
Default servers are subject to change/rotate/down at any time, thus we recommend using a self-hosted interactsh server if you are experiencing issues with the default server.
Using the token flag, interactsh-client can connect to a self-hosted Interactsh server that is protected with authentication.
interactsh-client -server hackwithautomation.com -token XXXIf you are away from your terminal, you may use notify to send a real-time interaction notification to any supported platform.
interactsh-client | notifyInteractsh-web is a free and open-source web client that displays Interactsh interactions in a well-managed dashboard in your browser. It uses the browser's local storage to store and display all incoming interactions. By default, the web client is configured to use oast.fun as default interactsh server, and supports other self-hosted public/authencaited interactsh servers as well.
A hosted instance of interactsh-web client is available at https://app.interactsh.com
A Docker image is also provided with interactsh client that is ready to run and can be used in the following way:
docker run projectdiscovery/interactsh-client:latest$ docker run projectdiscovery/interactsh-client:latest
_ __ __ __
(_)___ / /____ _________ ______/ /______/ /_
/ / __ \/ __/ _ \/ ___/ __ '/ ___/ __/ ___/ __ \
/ / / / / /_/ __/ / / /_/ / /__/ /_(__ ) / / /
/_/_/ /_/\__/\___/_/ \__,_/\___/\__/____/_/ /_/ v1.0.0
projectdiscovery.io
[INF] Listing 1 payload for OOB Testing
[INF] c59e3crp82ke7bcnedq0cfjqdpeyyyyyn.oast.prointeractsh-collaborator is an original Burp Suite interactsh extension developed and maintained by @wdahlenb
interactsh-collaborator-rev is a revised version of the original Burp Suite interactsh extension and is developed and maintained by @Arqsz
Interactsh can be used with ZAP via the OAST add-on for ZAP. With ZAP's scripting capabilities, you can create powerful out-of-band scan rules that leverage Interactsh's features. A standalone script template has been provided as an example (it is added automatically when you install the add-on).
Options > OAST > General menu.Use Permanent Database option, you can review interactions that occurred after ZAP was terminated.Interactsh in ZAP
quickssrf is Caido extension developed and maintained which allows using Interactsh from within Caido Proxy.
Interactsh server runs multiple services and captures all the incoming requests. To host an instance of interactsh-server, you are required to setup:
interactsh-server -hThis will display help for the tool. Here are all the switches it supports.
…We are using GoDaddy for domain name and DigitalOcean droplet for the server, a basic $5 droplet should be sufficient to run self-hosted Interactsh server. If you are not using GoDaddy, follow your registrar's process for creating / updating DNS entries.
Configuring Interactsh domain
|
Configuring Interactsh serverInstall Considering domain name setup is completed, run the below command to run Following is an example of a successful installation and operation of a self-hosted server: A number of needed flags are configured automatically to run |
…Multiple domain names can be given in the same way as above to run the same interactsh server across multiple configured domains.
…Interactsh server supports both IPv4 and IPv6 addresses. You can specify multiple IP addresses using the -ip flag, and the server will respond with the appropriate A (IPv4) or AAAA (IPv6) records in DNS responses.
…The server will automatically detect and categorize IPv4 and IPv6 addresses, returning appropriate DNS records based on the query type.
Note: While running interactsh server on Cloud VM's like Amazon EC2, Google Cloud Platform (GCP), it is required to update the security rules to allow "all traffic" for inbound connections. |
There are more useful capabilities supported by interactsh-server that are not enabled by default and are intended to be used only by self-hosted servers.
interactsh-server might require custom ports for services if the default ones are already busy. If this is the case but still default ports are required as part of the payload, it's possible to configure interactsh-server behind a reverse proxy, by port-forwarding HTTP/TCP/UDP based services via http/stream proxy directive (proxy_pass).
Assuming that interactsh-server essential services run on the following ports:
The nginx configuration file to forward the traffic would look like the following one:
…Configured Domains
…Index page for http server ca
No open issues yet, or sync has not completed.