mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-28 20:43:49 +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
|
raise SqlmapUnsupportedDBMSException, errMsg
|
||||||
|
|
||||||
dataToStdout("%s\n" % conf.dbmsHandler.getFingerprint())
|
conf.dumper.singleString(conf.dbmsHandler.getFingerprint())
|
||||||
|
|
||||||
# Enumeration options
|
# Enumeration options
|
||||||
if conf.getBanner:
|
if conf.getBanner:
|
||||||
|
|
|
@ -149,7 +149,7 @@ def _showInjections():
|
||||||
|
|
||||||
data = "".join(set(map(lambda x: _formatInjection(x), kb.injections))).rstrip("\n")
|
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:
|
if conf.tamper:
|
||||||
warnMsg = "changes made by tampering scripts are not "
|
warnMsg = "changes made by tampering scripts are not "
|
||||||
|
|
|
@ -73,6 +73,9 @@ class Dump(object):
|
||||||
def getOutputFile(self):
|
def getOutputFile(self):
|
||||||
return self._outputFile
|
return self._outputFile
|
||||||
|
|
||||||
|
def singleString(self, data):
|
||||||
|
self._write(data)
|
||||||
|
|
||||||
def string(self, header, data, sort=True):
|
def string(self, header, data, sort=True):
|
||||||
kb.stickyLevel = None
|
kb.stickyLevel = None
|
||||||
|
|
||||||
|
@ -112,9 +115,6 @@ class Dump(object):
|
||||||
if elements:
|
if elements:
|
||||||
self._write("")
|
self._write("")
|
||||||
|
|
||||||
def technic(self, header, data):
|
|
||||||
self.string(header, data)
|
|
||||||
|
|
||||||
def banner(self,data):
|
def banner(self,data):
|
||||||
self.string("banner", data)
|
self.string("banner", data)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user