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:
Miroslav Stampar 2012-03-21 23:03:57 +00:00
parent 11132ba993
commit 524c1d38ad

View File

@ -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()