variable renamed

This commit is contained in:
Bernardo Damele
2013-01-30 15:30:34 +00:00
parent 95998e3989
commit 103045d284
4 changed files with 28 additions and 28 deletions

View File

@@ -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)