mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
now comment injection fingerprint works with all techniques
This commit is contained in:
parent
6f17e84e19
commit
7f4acaf6f9
|
@ -66,10 +66,7 @@ class Fingerprint(GenericFingerprint):
|
|||
for version in range(element[0], element[1] + 1):
|
||||
randInt = randomInt()
|
||||
version = getUnicode(version)
|
||||
query = agent.prefixQuery("/*!%s AND %d=%d*/" % (version, randInt, randInt + 1))
|
||||
query = agent.suffixQuery(query)
|
||||
payload = agent.payload(newValue=query)
|
||||
result = Request.queryPage(payload)
|
||||
result = inject.checkBooleanExpression("%d=%d/*!%s AND %d=%d*/" % (randInt, randInt, version, randInt, randInt + 1))
|
||||
|
||||
if result:
|
||||
if not prevVer:
|
||||
|
|
Loading…
Reference in New Issue
Block a user