Skip to content

Commit c3a6b71

Browse files
committed
Fixes #4025
1 parent f7a237f commit c3a6b71

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/core/option.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2466,6 +2466,10 @@ def _basicOptionValidation():
24662466
errMsg = "invalid regular expression '%s' ('%s')" % (conf.paramExclude, getSafeExString(ex))
24672467
raise SqlmapSyntaxException(errMsg)
24682468

2469+
if conf.cookieDel and len(conf.cookieDel):
2470+
errMsg = "option '--cookie-del' should contain a single character (e.g. ';')"
2471+
raise SqlmapSyntaxException(errMsg)
2472+
24692473
if conf.crawlExclude:
24702474
try:
24712475
re.compile(conf.crawlExclude)

0 commit comments

Comments
 (0)