mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
refactoring, code clearing and removal of obsolete switch --longest-common
This commit is contained in:
parent
534f51f9fc
commit
fb9d7cdfaa
11 changed files with 31 additions and 131 deletions
|
|
@ -30,7 +30,6 @@ from lib.core.exception import sqlmapSyntaxException
|
|||
from lib.core.option import __setDBMS
|
||||
from lib.core.option import __setKnowledgeBaseAttributes
|
||||
from lib.core.session import resumeConfKb
|
||||
from lib.core.session import setTextOnly
|
||||
from lib.core.xmldump import dumper as xmldumper
|
||||
from lib.request.connect import Connect as Request
|
||||
|
||||
|
|
@ -265,13 +264,6 @@ def __createTargetDirs():
|
|||
__createFilesDir()
|
||||
__configureDumper()
|
||||
|
||||
def __saveSwitches():
|
||||
"""
|
||||
Store critical switches to the session file.
|
||||
"""
|
||||
if conf.textOnly:
|
||||
setTextOnly()
|
||||
|
||||
def __restoreCmdLineOptions():
|
||||
"""
|
||||
Restore command line options that could be possibly
|
||||
|
|
@ -302,4 +294,3 @@ def setupTargetEnv():
|
|||
__createTargetDirs()
|
||||
__setRequestParams()
|
||||
__setOutputResume()
|
||||
__saveSwitches()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue