mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-29 12:41:58 +00:00
Minor update of Oracle fingerprinting
This commit is contained in:
parent
136342231e
commit
eb62397c92
3 changed files with 4 additions and 4 deletions
|
|
@ -103,7 +103,7 @@ class Fingerprint(GenericFingerprint):
|
|||
logger.info(infoMsg)
|
||||
|
||||
# Reference: https://en.wikipedia.org/wiki/Oracle_Database
|
||||
for version in ("12c", "11g", "10g", "9i", "8i"):
|
||||
for version in ("18c", "12c", "11g", "10g", "9i", "8i"):
|
||||
number = int(re.search(r"([\d]+)", version).group(1))
|
||||
output = inject.checkBooleanExpression("%d=(SELECT SUBSTR((VERSION),1,%d) FROM SYS.PRODUCT_COMPONENT_VERSION WHERE ROWNUM=1)" % (number, 1 if number < 10 else 2))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue