response code=404
handle modify and https with -r
handle modify
#2663
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
detail:
sqlmap 404 handle bug
When sqlmap got 404 code from the server,sqlmap will raise a exit exception and will not scan the url's sqli anymore,but some 404 code may not be a real 404 code,
dvwa
is an example,and some waf may return 404 http response code,but the body content in the page of the url is not404
type content,so I add a handle to recgnize whether the code 404 is a real 404 or not,if the 404 is not a real 404,sqlmap will not raise the exception and go on with latter tests.