mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
making default redirect choice to NO (making fewer requests by default and in lots of cases clearer pages for comparison - original page vs redirect message)
This commit is contained in:
parent
11132ba993
commit
524c1d38ad
1 changed files with 2 additions and 2 deletions
|
|
@ -40,8 +40,8 @@ class SmartRedirectHandler(urllib2.HTTPRedirectHandler):
|
|||
def _ask_redirect_choice(self, redcode, redurl):
|
||||
if kb.redirectChoice is None:
|
||||
msg = "sqlmap got a %d redirect to " % redcode
|
||||
msg += "'%s'. Do you want to follow? [Y/n] " % redurl
|
||||
choice = readInput(msg, default="Y")
|
||||
msg += "'%s'. Do you want to follow? [y/N] " % redurl
|
||||
choice = readInput(msg, default="N")
|
||||
|
||||
kb.redirectChoice = choice.upper()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue