Minor fine tuning for SQLi heuristic check

This commit is contained in:
Miroslav Stampar
2016-10-04 11:32:06 +02:00
parent 029bb5554d
commit 171cf6f54d
3 changed files with 4 additions and 4 deletions

View File

@@ -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