mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 02:53:46 +03:00
minor fix: add also back-end DBMS and web app fingerprint output to log file
This commit is contained in:
parent
bbd2adb5fb
commit
ac44cf3ec0
|
@ -54,7 +54,7 @@ def action():
|
|||
|
||||
raise SqlmapUnsupportedDBMSException, errMsg
|
||||
|
||||
dataToStdout("%s\n" % conf.dbmsHandler.getFingerprint())
|
||||
conf.dumper.singleString(conf.dbmsHandler.getFingerprint())
|
||||
|
||||
# Enumeration options
|
||||
if conf.getBanner:
|
||||
|
|
|
@ -149,7 +149,7 @@ def _showInjections():
|
|||
|
||||
data = "".join(set(map(lambda x: _formatInjection(x), kb.injections))).rstrip("\n")
|
||||
|
||||
conf.dumper.technic(header, data)
|
||||
conf.dumper.string(header, data)
|
||||
|
||||
if conf.tamper:
|
||||
warnMsg = "changes made by tampering scripts are not "
|
||||
|
|
|
@ -73,6 +73,9 @@ class Dump(object):
|
|||
def getOutputFile(self):
|
||||
return self._outputFile
|
||||
|
||||
def singleString(self, data):
|
||||
self._write(data)
|
||||
|
||||
def string(self, header, data, sort=True):
|
||||
kb.stickyLevel = None
|
||||
|
||||
|
@ -112,9 +115,6 @@ class Dump(object):
|
|||
if elements:
|
||||
self._write("")
|
||||
|
||||
def technic(self, header, data):
|
||||
self.string(header, data)
|
||||
|
||||
def banner(self,data):
|
||||
self.string("banner", data)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user