revert of last commit (it would be faster for sure, but not sure if it's clever to do it by default regarding SQLi detection)

This commit is contained in:
Miroslav Stampar 2012-03-21 23:15:59 +00:00
parent 524c1d38ad
commit e88687b1f0

View File

@ -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="N") choice = readInput(msg, default="Y")
kb.redirectChoice = choice.upper() kb.redirectChoice = choice.upper()