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

Skip to content

Commit 8bc6154

Browse files
committed
Removing a redundant code (similar check is being done upper in code)
1 parent b31e141 commit 8bc6154

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

lib/core/option.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2224,10 +2224,6 @@ def _basicOptionValidation():
22242224
errMsg = "option '--proxy' is incompatible with switch '--ignore-proxy'"
22252225
raise SqlmapSyntaxException(errMsg)
22262226

2227-
if conf.forms and any([conf.logFile, conf.direct, conf.requestFile, conf.googleDork]):
2228-
errMsg = "switch '--forms' is compatible only with options '-u' ('--url') and '-m'"
2229-
raise SqlmapSyntaxException(errMsg)
2230-
22312227
if conf.timeSec < 1:
22322228
errMsg = "value for option '--time-sec' must be a positive integer"
22332229
raise SqlmapSyntaxException(errMsg)

0 commit comments

Comments
 (0)