mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-02 20:54:13 +03:00
more minor updates
This commit is contained in:
parent
fd00ff7a82
commit
eaf8929085
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user