Skip to content

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

Open
@rotemreiss

Description

@rotemreiss

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

Metadata

Metadata

Assignees

Labels

Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions