mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-05-14 09:29:26 +00:00
variable renamed
This commit is contained in:
parent
95998e3989
commit
103045d284
4 changed files with 28 additions and 28 deletions
|
|
@ -36,7 +36,7 @@ from lib.core.common import urldecode
|
|||
from lib.core.data import conf
|
||||
from lib.core.data import kb
|
||||
from lib.core.data import logger
|
||||
from lib.core.enums import API_CONTENT_TYPE
|
||||
from lib.core.enums import CONTENT_TYPE
|
||||
from lib.core.enums import HASHDB_KEYS
|
||||
from lib.core.enums import HEURISTIC_TEST
|
||||
from lib.core.enums import HTTPMETHOD
|
||||
|
|
@ -153,7 +153,7 @@ def _showInjections():
|
|||
header += "a total of %d HTTP(s) requests" % kb.testQueryCount
|
||||
|
||||
if hasattr(conf, "api"):
|
||||
conf.dumper.string("", kb.injections, content_type=API_CONTENT_TYPE.TECHNIQUES)
|
||||
conf.dumper.string("", kb.injections, content_type=CONTENT_TYPE.TECHNIQUES)
|
||||
else:
|
||||
data = "".join(set(map(lambda x: _formatInjection(x), kb.injections))).rstrip("\n")
|
||||
conf.dumper.string(header, data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue