Trivial message update

This commit is contained in:
Miroslav Stampar
2019-11-07 00:03:06 +01:00
parent 39a46d66e2
commit dc87e10c99
5 changed files with 6 additions and 6 deletions

View File

@@ -565,7 +565,7 @@ class Connect(object):
if refresh:
if kb.alwaysRefresh is None:
msg = "sqlmap got a refresh request "
msg = "got a refresh request "
msg += "(redirect like response common to login pages). "
msg += "Do you want to apply the refresh "
msg += "from now on (or stay on the original page)? [Y/n]"

View File

@@ -47,7 +47,7 @@ class SmartRedirectHandler(_urllib.request.HTTPRedirectHandler):
def _ask_redirect_choice(self, redcode, redurl, method):
with kb.locks.redirect:
if kb.redirectChoice is None:
msg = "sqlmap got a %d redirect to " % redcode
msg = "got a %d redirect to " % redcode
msg += "'%s'. Do you want to follow? [Y/n] " % redurl
kb.redirectChoice = REDIRECTION.YES if readInput(msg, default='Y', boolean=True) else REDIRECTION.NO