mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Same refactoring as the last commit
This commit is contained in:
parent
0cc6e68be2
commit
7e1ff1bb8e
7 changed files with 7 additions and 21 deletions
|
|
@ -10,7 +10,6 @@ import re
|
|||
from lib.core.common import Backend
|
||||
from lib.core.common import Format
|
||||
from lib.core.common import getUnicode
|
||||
from lib.core.common import randomInt
|
||||
from lib.core.common import randomRange
|
||||
from lib.core.data import conf
|
||||
from lib.core.data import kb
|
||||
|
|
@ -122,8 +121,7 @@ class Fingerprint(GenericFingerprint):
|
|||
infoMsg = "testing %s" % DBMS.FIREBIRD
|
||||
logger.info(infoMsg)
|
||||
|
||||
randInt = randomInt()
|
||||
result = inject.checkBooleanExpression("(SELECT COUNT(*) FROM RDB$DATABASE WHERE %d=%d)>0" % (randInt, randInt))
|
||||
result = inject.checkBooleanExpression("(SELECT COUNT(*) FROM RDB$DATABASE WHERE [RANDNUM]=[RANDNUM])>0")
|
||||
|
||||
if result:
|
||||
infoMsg = "confirming %s" % DBMS.FIREBIRD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue