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

Skip to content

Commit 7c802ed

Browse files
committed
Minor fix
1 parent dc41484 commit 7c802ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/target.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def _setRequestParams():
131131

132132
kb.processUserMarks = True if kb.postHint else kb.processUserMarks
133133

134-
if re.search(URI_INJECTABLE_REGEX, conf.url, re.I) and not any(place in conf.parameters for place in (PLACE.GET, PLACE.POST)):
134+
if re.search(URI_INJECTABLE_REGEX, conf.url, re.I) and not any(place in conf.parameters for place in (PLACE.GET, PLACE.POST)) and not kb.postHint:
135135
warnMsg = "you've provided target url without any GET "
136136
warnMsg += "parameters (e.g. www.site.com/article.php?id=1) "
137137
warnMsg += "and without providing any POST parameters "

0 commit comments

Comments
 (0)