From e88687b1f08d8a67dc4ffc8a1a4a7c4810940025 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 21 Mar 2012 23:15:59 +0000 Subject: [PATCH] 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) --- lib/request/redirecthandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/request/redirecthandler.py b/lib/request/redirecthandler.py index 436f4f354..0809add2d 100644 --- a/lib/request/redirecthandler.py +++ b/lib/request/redirecthandler.py @@ -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="N") + msg += "'%s'. Do you want to follow? [Y/n] " % redurl + choice = readInput(msg, default="Y") kb.redirectChoice = choice.upper()