Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e88687b

Browse files
committed
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)
1 parent 524c1d3 commit e88687b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/request/redirecthandler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def _get_header_redirect(self, headers):
4040
def _ask_redirect_choice(self, redcode, redurl):
4141
if kb.redirectChoice is None:
4242
msg = "sqlmap got a %d redirect to " % redcode
43-
msg += "'%s'. Do you want to follow? [y/N] " % redurl
44-
choice = readInput(msg, default="N")
43+
msg += "'%s'. Do you want to follow? [Y/n] " % redurl
44+
choice = readInput(msg, default="Y")
4545

4646
kb.redirectChoice = choice.upper()
4747

0 commit comments

Comments
 (0)