mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53: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):
|
for version in range(element[0], element[1] + 1):
|
||||||
randInt = randomInt()
|
randInt = randomInt()
|
||||||
version = getUnicode(version)
|
version = getUnicode(version)
|
||||||
query = agent.prefixQuery("/*!%s AND %d=%d*/" % (version, randInt, randInt + 1))
|
result = inject.checkBooleanExpression("%d=%d/*!%s AND %d=%d*/" % (randInt, randInt, version, randInt, randInt + 1))
|
||||||
query = agent.suffixQuery(query)
|
|
||||||
payload = agent.payload(newValue=query)
|
|
||||||
result = Request.queryPage(payload)
|
|
||||||
|
|
||||||
if result:
|
if result:
|
||||||
if not prevVer:
|
if not prevVer:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user