mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Update for an Issue #287
This commit is contained in:
parent
ef33729381
commit
a6448e8768
5 changed files with 54 additions and 15 deletions
|
|
@ -421,11 +421,11 @@ class Backend:
|
|||
dbms = Backend.getForcedDbms()
|
||||
elif Backend.getDbms() is not None:
|
||||
dbms = kb.dbms
|
||||
elif conf.get('dbms'):
|
||||
elif conf.get("dbms"):
|
||||
dbms = conf.dbms
|
||||
elif Backend.getErrorParsedDBMSes():
|
||||
dbms = unArrayizeValue(Backend.getErrorParsedDBMSes())
|
||||
elif kb.injection.dbms:
|
||||
elif kb.get("injection") and kb.injection.dbms:
|
||||
dbms = unArrayizeValue(kb.injection.dbms)
|
||||
|
||||
return aliasToDbmsEnum(dbms)
|
||||
|
|
|
|||
|
|
@ -483,7 +483,7 @@ EVENTVALIDATION_REGEX = r'(?i)(?P<name>__EVENTVALIDATION[^"]*)[^>]+value="(?P<re
|
|||
LIMITED_ROWS_TEST_NUMBER = 15
|
||||
|
||||
# Default TCP port used for XML-RPC server instance
|
||||
XML_RPC_SERVER_PORT = 8776
|
||||
XMLRPC_SERVER_PORT = 8776
|
||||
|
||||
# Regular expression for SOAP-like POST data
|
||||
SOAP_RECOGNITION_REGEX = r"(?s)\A(<\?xml[^>]+>)?\s*<([^> ]+)( [^>]+)?>.+</\2.*>\s*\Z"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue