mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 13:03:50 +03:00
minor fix
This commit is contained in:
parent
8a2bd3897d
commit
96f589fc89
|
@ -384,7 +384,7 @@ def start():
|
||||||
|
|
||||||
skip |= (place == PLACE.UA and intersect(USER_AGENT_ALIASES, conf.skip, True) not in ([], None))
|
skip |= (place == PLACE.UA and intersect(USER_AGENT_ALIASES, conf.skip, True) not in ([], None))
|
||||||
skip |= (place == PLACE.REFERER and intersect(REFERER_ALIASES, conf.skip, True) not in ([], None))
|
skip |= (place == PLACE.REFERER and intersect(REFERER_ALIASES, conf.skip, True) not in ([], None))
|
||||||
skip |= (place == PLACE.COOKIE and intersect('cookie', conf.skip, True) not in ([], None))
|
skip |= (place == PLACE.COOKIE and intersect(PLACE.COOKIE, conf.skip, True) not in ([], None))
|
||||||
|
|
||||||
skip &= not (place == PLACE.UA and intersect(USER_AGENT_ALIASES, conf.testParameter, True))
|
skip &= not (place == PLACE.UA and intersect(USER_AGENT_ALIASES, conf.testParameter, True))
|
||||||
skip &= not (place == PLACE.REFERER and intersect(REFERER_ALIASES, conf.testParameter, True))
|
skip &= not (place == PLACE.REFERER and intersect(REFERER_ALIASES, conf.testParameter, True))
|
||||||
|
@ -472,7 +472,7 @@ def start():
|
||||||
break
|
break
|
||||||
|
|
||||||
msg = "%s parameter '%s' " % (injection.place, injection.parameter)
|
msg = "%s parameter '%s' " % (injection.place, injection.parameter)
|
||||||
msg += "is vulnerable. Do you want to keep testing the others? [Y/n] "
|
msg += "is vulnerable. Do you want to keep testing the others (if any)? [Y/n] "
|
||||||
test = readInput(msg, default="Y")
|
test = readInput(msg, default="Y")
|
||||||
|
|
||||||
if test[0] in ("n", "N"):
|
if test[0] in ("n", "N"):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user