more minor updates

This commit is contained in:
Miroslav Stampar 2010-12-20 10:48:53 +00:00
parent fd00ff7a82
commit eaf8929085
3 changed files with 5 additions and 3 deletions

View File

@ -396,7 +396,7 @@ def checkSqlInjection(place, parameter, value):
elif detailKey == "os" and injection.os is None:
injection.os = detailValue
if conf.beep:
if conf.beep or conf.scriptKiddie:
beep()
# There is no need to perform this test for other

View File

@ -226,7 +226,9 @@ def start():
elif test[0] in ("q", "Q"):
break
elif not conf.scriptKiddie:
elif conf.scriptKiddie:
logger.info(message)
else:
message += "\ndo you want to test this url? [Y/n/q]"
test = readInput(message, default="Y")

View File

@ -196,7 +196,7 @@ class Connect:
if hasattr(conn, "setcookie"):
kb.redirectSetCookie = conn.setcookie
if hasattr(conn, "redurl") and hasattr(conn, "redcode") and not conf.redirectHandled:
if hasattr(conn, "redurl") and hasattr(conn, "redcode") and not conf.redirectHandled and not conf.scriptKiddie:
msg = "sqlmap got a %d redirect to " % conn.redcode
msg += "%s - What target address do you " % conn.redurl
msg += "want to use from now on? %s " % conf.url