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

Skip to content

Commit 1cfd6a6

Browse files
committed
Code cleanup
1 parent 08f7e20 commit 1cfd6a6

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

lib/core/common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1950,10 +1950,12 @@ def initTechnique(technique=None):
19501950
conf.textOnly = True
19511951
debugMsg = "restoring switch --text-only"
19521952
logger.debug(debugMsg)
1953+
19531954
if kb.injection.conf.string:
19541955
conf.string = kb.injection.conf.string
19551956
debugMsg = "restoring option --string '%s'" % conf.string
19561957
logger.debug(debugMsg)
1958+
19571959
if kb.injection.conf.regexp:
19581960
conf.regexp = kb.injection.conf.regexp
19591961
debugMsg = "restoring option --regexp '%s'" % conf.regexp

lib/core/datatype.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ def __init__(self):
7373
self.suffix = None
7474
self.clause = None
7575

76-
# data is a dict with stype as key and a tuple as value with
77-
# title, where, comment and reqPayload
76+
# data is a dict with various stype, each which is a dict with
77+
# all the information specific for that stype
7878
self.data = advancedDict()
7979

80-
# conf is a dict with stores current snapshot of important
80+
# conf is a dict which stores current snapshot of important
8181
# options used during detection
8282
self.conf = advancedDict()
8383

0 commit comments

Comments
 (0)