Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77c96de commit 4ded9a9Copy full SHA for 4ded9a9
1 file changed
lib/core/option.py
@@ -2261,6 +2261,14 @@ def _basicOptionValidation():
2261
errMsg = "option '--crawl-exclude' requires usage of switch '--crawl'"
2262
raise SqlmapSyntaxException(errMsg)
2263
2264
+ if conf.safePost and not conf.safeUrl:
2265
+ errMsg = "option '--safe-post' requires usage of option '--safe-url'"
2266
+ raise SqlmapSyntaxException(errMsg)
2267
+
2268
+ if conf.safeFreq and not conf.safeUrl:
2269
+ errMsg = "option '--safe-freq' requires usage of option '--safe-url'"
2270
2271
2272
if conf.csrfUrl and not conf.csrfToken:
2273
errMsg = "option '--csrf-url' requires usage of option '--csrf-token'"
2274
0 commit comments