From 524c1d38adc87dec2eac2c34c60e378c6da9ab30 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 21 Mar 2012 23:03:57 +0000 Subject: [PATCH] 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) --- 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 0809add2d..436f4f354 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="Y") + msg += "'%s'. Do you want to follow? [y/N] " % redurl + choice = readInput(msg, default="N") kb.redirectChoice = choice.upper()