interactsh icon indicating copy to clipboard operation
interactsh copied to clipboard

match/filter interactions support

Open kiriknik opened this issue 2 years ago • 4 comments

If you run a dedicated interact-sh server, and then attach to this server interact-sh client, client show all request (include ns1.domain.com, etc) Please add flag to show only generated domain in client part

Cli flag:

   -m, -match       match interaction based on the specified pattern
   -f, -filter      filter interaction based on the specified pattern

Example:

# Running client with filtering specified subdomains
./interactsh-client -s hackwithautomation.com -f mail,smtp,ns
./interactsh-client -s hackwithautomation.com -f filter.txt
# Running client with matching specified subdomains
./interactsh-client -s hackwithautomation.com -m log4j,cb9u25bin56365jabbe0b6ouneuw6nxhe
./interactsh-client -s hackwithautomation.com -m match.txt

kiriknik avatar Jun 23 '22 09:06 kiriknik

@kiriknik just to be sure, you were running the server in -wildcard mode, right?

ehsandeep avatar Jun 23 '22 10:06 ehsandeep

Yes - to check all domains) maybe you can add flag (like --show-only-registered) - to show only generated domain?)

kiriknik avatar Jun 23 '22 16:06 kiriknik

@ehsandeep

  • -wildcard seems to be working as expected here. I think a better option would be adding --show-only/match/filter *.xxxx.yyy.zzzz,*.aaa.bbb. What do you think?
  • Please add an example of interactions to filter out in interactsh-client

Mzack9999 avatar Jul 10 '22 15:07 Mzack9999

@Mzack9999 updated the issue with the suggested flag and example.

ehsandeep avatar Jul 17 '22 10:07 ehsandeep