mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor fine tuning for SQLi heuristic check
This commit is contained in:
parent
029bb5554d
commit
171cf6f54d
3 changed files with 4 additions and 4 deletions
|
|
@ -933,7 +933,7 @@ def heuristicCheckSqlInjection(place, parameter):
|
|||
|
||||
randStr = ""
|
||||
|
||||
while '\'' not in randStr:
|
||||
while randStr.count('\'') != 1 or randStr.count('\"') != 1:
|
||||
randStr = randomStr(length=10, alphabet=HEURISTIC_CHECK_ALPHABET)
|
||||
|
||||
kb.heuristicMode = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue