mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03: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
|
@ -40,8 +40,8 @@ class SmartRedirectHandler(urllib2.HTTPRedirectHandler):
|
||||||
def _ask_redirect_choice(self, redcode, redurl):
|
def _ask_redirect_choice(self, redcode, redurl):
|
||||||
if kb.redirectChoice is None:
|
if kb.redirectChoice is None:
|
||||||
msg = "sqlmap got a %d redirect to " % redcode
|
msg = "sqlmap got a %d redirect to " % redcode
|
||||||
msg += "'%s'. Do you want to follow? [Y/n] " % redurl
|
msg += "'%s'. Do you want to follow? [y/N] " % redurl
|
||||||
choice = readInput(msg, default="Y")
|
choice = readInput(msg, default="N")
|
||||||
|
|
||||||
kb.redirectChoice = choice.upper()
|
kb.redirectChoice = choice.upper()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user