Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e77126e

Browse files
committed
Removing obsolete functionality
1 parent 3ef01f0 commit e77126e

5 files changed

Lines changed: 4 additions & 830 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.9.47"
22+
VERSION = "1.0.9.48"
2323
REVISION = getRevisionNumber()
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}

lib/core/target.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
from lib.core.settings import USER_AGENT_ALIASES
6969
from lib.core.settings import XML_RECOGNITION_REGEX
7070
from lib.utils.hashdb import HashDB
71-
from lib.core.xmldump import dumper as xmldumper
7271
from thirdparty.odict.odict import OrderedDict
7372

7473
def _setRequestParams():
@@ -593,11 +592,7 @@ def _createDumpDir():
593592
conf.dumpPath = tempDir
594593

595594
def _configureDumper():
596-
if hasattr(conf, 'xmlFile') and conf.xmlFile:
597-
conf.dumper = xmldumper
598-
else:
599-
conf.dumper = dumper
600-
595+
conf.dumper = dumper
601596
conf.dumper.setOutputFile()
602597

603598
def _createTargetDirs():

0 commit comments

Comments
 (0)