mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-21 15:12:16 +00:00
update regarding expectingNone in fingerprinting mode to cancel drop down to other techniques available
This commit is contained in:
parent
e32fa9df43
commit
e6c66fa37c
10 changed files with 43 additions and 49 deletions
|
|
@ -80,7 +80,7 @@ class Fingerprint(GenericFingerprint):
|
|||
if conf.direct:
|
||||
result = True
|
||||
else:
|
||||
result = inject.checkBooleanExpression("ROWNUM=ROWNUM")
|
||||
result = inject.checkBooleanExpression("ROWNUM=ROWNUM", expectingNone=True)
|
||||
|
||||
if result:
|
||||
logMsg = "confirming Oracle"
|
||||
|
|
@ -91,7 +91,7 @@ class Fingerprint(GenericFingerprint):
|
|||
if conf.direct:
|
||||
result = True
|
||||
else:
|
||||
result = inject.checkBooleanExpression("LENGTH(SYSDATE)=LENGTH(SYSDATE)")
|
||||
result = inject.checkBooleanExpression("LENGTH(SYSDATE)=LENGTH(SYSDATE)", expectingNone=True)
|
||||
|
||||
if not result:
|
||||
warnMsg = "the back-end DBMS is not Oracle"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue