mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
major improvement with display of payloads (all payloads are displayed now) and removal of "pesky" spaces
This commit is contained in:
parent
620fa1c8fb
commit
d3e7e89e60
16 changed files with 35 additions and 42 deletions
|
|
@ -79,14 +79,14 @@ class Fingerprint(GenericFingerprint):
|
|||
if conf.direct:
|
||||
result = True
|
||||
else:
|
||||
payload = agent.fullPayload(" AND tempdb_id()=tempdb_id()")
|
||||
payload = agent.fullPayload("AND tempdb_id()=tempdb_id()")
|
||||
result = Request.queryPage(payload)
|
||||
|
||||
if result:
|
||||
logMsg = "confirming Sybase"
|
||||
logger.info(logMsg)
|
||||
|
||||
payload = agent.fullPayload(" AND suser_id()=suser_id()")
|
||||
payload = agent.fullPayload("AND suser_id()=suser_id()")
|
||||
result = Request.queryPage(payload)
|
||||
|
||||
if not result:
|
||||
|
|
@ -104,7 +104,7 @@ class Fingerprint(GenericFingerprint):
|
|||
|
||||
for version in range(12, 16):
|
||||
randInt = randomInt()
|
||||
query = " AND @@VERSION_NUMBER/1000=%d" % version
|
||||
query = "AND @@VERSION_NUMBER/1000=%d" % version
|
||||
payload = agent.fullPayload(query)
|
||||
result = Request.queryPage(payload)
|
||||
if result:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue