interactsh icon indicating copy to clipboard operation
interactsh copied to clipboard

http-index only serves the custom index file for the root path

Open rotemreiss opened this issue 7 months ago • 3 comments

Interactsh version:

1.2.4 (latest)

Current Behavior:

The following HTTP requests result with different responses (behavior):

  1. mycustomdomain.com or foo.mycustomdomain.com -> The http index file is returned
  2. mycustomdomain.com/script.js or foo.mycustomdomain.com/script.js -> Returns <html><head></head><body></body></html>
  3. foo.mycustomdomain.com/bar/script.js -> Returns <html><head></head><body></body></html>

Expected Behavior:

All requests should return the content of the http index file.

Steps To Reproduce:

  1. Run a server with interactsh-server -domain mycustomdomain.com -wildcard -skip-acme -hi script.js
  2. Run a client with interactsh-client -s mycustomdomain.com -token MYSECRETTOKEN -v

rotemreiss avatar Apr 01 '25 06:04 rotemreiss