File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1245,7 +1245,6 @@ def parseUnionPage(output, unique=True):
12451245
12461246 for entry in output :
12471247 entry = entry .group (1 )
1248- entry = decodeHexValue (entry ) if conf .hexConvert else entry
12491248
12501249 if unique :
12511250 key = entry .lower ()
@@ -1256,9 +1255,14 @@ def parseUnionPage(output, unique=True):
12561255 else :
12571256 continue
12581257
1259- entry = safecharencode (entry ) if kb .safeCharEncode else entry
12601258 entry = entry .split (kb .chars .delimiter )
12611259
1260+ if conf .hexConvert :
1261+ entry = applyFunctionRecursively (entry , decodeHexValue )
1262+
1263+ if kb .safeCharEncode :
1264+ entry = applyFunctionRecursively (entry , safecharencode )
1265+
12621266 data .append (entry [0 ] if len (entry ) == 1 else entry )
12631267 else :
12641268 data = output
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ def webInit(self):
136136 logger .info (infoMsg )
137137
138138 default = None
139- choices = [ 'asp' , 'aspx' , 'php' , 'jsp' ]
139+ choices = ( 'asp' , 'aspx' , 'php' , 'jsp' )
140140
141141 for ext in choices :
142142 if conf .url .endswith (ext ):
You can’t perform that action at this time.
0 commit comments