mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 19:13:12 +00:00
Implements #2908
This commit is contained in:
parent
c938d77be9
commit
aa9b5e4e0c
20 changed files with 1790 additions and 34 deletions
|
|
@ -17,6 +17,7 @@ from lib.core.exception import SqlmapNoneDataException
|
|||
from lib.core.exception import SqlmapUnsupportedDBMSException
|
||||
from lib.core.settings import SUPPORTED_DBMS
|
||||
from lib.utils.brute import columnExists
|
||||
from lib.utils.brute import fileExists
|
||||
from lib.utils.brute import tableExists
|
||||
|
||||
def action():
|
||||
|
|
@ -199,6 +200,14 @@ def action():
|
|||
if conf.fileWrite:
|
||||
conf.dbmsHandler.writeFile(conf.fileWrite, conf.fileDest, conf.fileWriteType)
|
||||
|
||||
if conf.commonFiles:
|
||||
try:
|
||||
conf.dumper.rFile(fileExists(paths.COMMON_FILES))
|
||||
except SqlmapNoneDataException as ex:
|
||||
logger.critical(ex)
|
||||
except:
|
||||
raise
|
||||
|
||||
# Operating system options
|
||||
if conf.osCmd:
|
||||
conf.dbmsHandler.osCmd()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue