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

Skip to content

Commit 96f589f

Browse files
committed
minor fix
1 parent 8a2bd38 commit 96f589f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/controller/controller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def start():
384384

385385
skip |= (place == PLACE.UA and intersect(USER_AGENT_ALIASES, conf.skip, True) not in ([], None))
386386
skip |= (place == PLACE.REFERER and intersect(REFERER_ALIASES, conf.skip, True) not in ([], None))
387-
skip |= (place == PLACE.COOKIE and intersect('cookie', conf.skip, True) not in ([], None))
387+
skip |= (place == PLACE.COOKIE and intersect(PLACE.COOKIE, conf.skip, True) not in ([], None))
388388

389389
skip &= not (place == PLACE.UA and intersect(USER_AGENT_ALIASES, conf.testParameter, True))
390390
skip &= not (place == PLACE.REFERER and intersect(REFERER_ALIASES, conf.testParameter, True))
@@ -472,7 +472,7 @@ def start():
472472
break
473473

474474
msg = "%s parameter '%s' " % (injection.place, injection.parameter)
475-
msg += "is vulnerable. Do you want to keep testing the others? [Y/n] "
475+
msg += "is vulnerable. Do you want to keep testing the others (if any)? [Y/n] "
476476
test = readInput(msg, default="Y")
477477

478478
if test[0] in ("n", "N"):

0 commit comments

Comments
 (0)