-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-mdc and -fdc options do not work. #725
Comments
Thanks for opening the issue. I tried with scanme.sh and it's working: the response we get each request: cat katana_response/scanme.sh/15c54a7d479109d03421bebc2860bcf1a4b0a342.txt
https://scanme.sh
GET / HTTP/1.1
Host: scanme.sh
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Accept-Encoding: gzip
HTTP/1.1 200 OK
Content-Length: 2
Content-Type: text/plain; charset=utf-8
Date: Fri, 12 Jan 2024 12:16:47 GMT
ok status code and body is matched, so it's filtered out by $ go run . -u scanme.sh -mdc 'status_code == 200' -fdc 'contains(body, "ok")' -silent
status code is matched but body is not matched, so it's not filtered out by $ go run . -u scanme.sh -mdc 'status_code == 200' -fdc 'contains(body, "dummy")' -silent
https://scanme.sh
Let us know if you have further questions! |
Hello, @glaucocustodio! First at all, thanks to reply <3
The proxy request/response for the /a path is shown below.
Am I missing something?
|
In my case, above, it works both with |
Thanks to reply, @dogancanbakir! I've sent you a private message on discord, please check it when you're not busy. |
The given URL wasn't reachable; I couldn't test it. |
Hi, I'm using the following options.
-mdc 'status_code == 200' -fdc "contains(body, 'refresh')"
The expected result is ignored if the response code is not
200
or therefresh
string is contained within the content being responded to. but it doesn't work. (katana version is v1.0.4)have a great day!
The text was updated successfully, but these errors were encountered: