Skip to content

Commit 9fff88d

Browse files
committed
Minor update
1 parent 3cfa636 commit 9fff88d

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
@@ -2124,6 +2124,10 @@ def _basicOptionValidation():
21242124
errMsg = "switch '--titles' is incompatible with switch '--null-connection'"
21252125
raise SqlmapSyntaxException(errMsg)
21262126

2127+
if conf.dumpTable and conf.search:
2128+
errMsg = "switch '--dump' is incompatible with switch '--search'"
2129+
raise SqlmapSyntaxException(errMsg)
2130+
21272131
if conf.data and conf.nullConnection:
21282132
errMsg = "option '--data' is incompatible with switch '--null-connection'"
21292133
raise SqlmapSyntaxException(errMsg)

0 commit comments

Comments
 (0)