Skip to content

Commit d57b9c0

Browse files
author
jax777
authored
Update controller.py
1 parent 295d823 commit d57b9c0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/controller/controller.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
from lib.controller.checks import checkXss
2626
from lib.controller.checks import checkELE
2727
from lib.controller.checks import checkReflectXSS
28-
from lib.controller.checks import checkcontenttype
2928
from lib.core.agent import agent
3029
from lib.core.common import dataToStdout
3130
from lib.core.common import extractRegexResult
@@ -492,8 +491,7 @@ def start():
492491
logger.info(infoMsg)
493492

494493
elif PAYLOAD.TECHNIQUE.BOOLEAN in conf.tech or conf.skipStatic:
495-
if testxssflag:
496-
checkReflectXSS(place, parameter, value)
494+
checkReflectXSS(place, parameter, value)
497495
checkCmd1(place, parameter, value)
498496
checkXss(place, parameter, value)
499497
checkCmd(place, parameter, value)

0 commit comments

Comments
 (0)