mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
No more dumb usage of '--dbms'
This commit is contained in:
parent
e2fb16c98c
commit
ef04c99069
15 changed files with 30 additions and 41 deletions
|
|
@ -150,9 +150,7 @@ class Fingerprint(GenericFingerprint):
|
|||
* http://dev.mysql.com/doc/refman/6.0/en/news-6-0-x.html (manual has been withdrawn)
|
||||
"""
|
||||
|
||||
if not conf.extensiveFp and (Backend.isDbmsWithin(MYSQL_ALIASES) \
|
||||
or (conf.dbms or "").lower() in MYSQL_ALIASES) and Backend.getVersion() and \
|
||||
Backend.getVersion() != UNKNOWN_DBMS_VERSION:
|
||||
if not conf.extensiveFp and Backend.isDbmsWithin(MYSQL_ALIASES):
|
||||
setDbms("%s %s" % (DBMS.MYSQL, Backend.getVersion()))
|
||||
|
||||
if Backend.isVersionGreaterOrEqualThan("5"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue