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

Skip to content

Commit a475116

Browse files
committed
Minor check
1 parent 0d92145 commit a475116

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/core/option.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2055,6 +2055,10 @@ def _basicOptionValidation():
20552055
errMsg = "option '-d' is incompatible with switch '--tor'"
20562056
raise SqlmapSyntaxException(errMsg)
20572057

2058+
if not conf.tech:
2059+
errMsg = "option '--technique' can't be empty"
2060+
raise SqlmapSyntaxException(errMsg)
2061+
20582062
if conf.tor and conf.ignoreProxy:
20592063
errMsg = "switch '--tor' is incompatible with switch '--ignore-proxy'"
20602064
raise SqlmapSyntaxException(errMsg)

0 commit comments

Comments
 (0)