File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2271,6 +2271,10 @@ def _basicOptionValidation():
2271
2271
errMsg = "option '-d' is incompatible with option '-u' ('--url')"
2272
2272
raise SqlmapSyntaxException (errMsg )
2273
2273
2274
+ if conf .direct and conf .dbms :
2275
+ errMsg = "option '-d' is incompatible with option '--dbms'"
2276
+ raise SqlmapSyntaxException (errMsg )
2277
+
2274
2278
if conf .identifyWaf and conf .skipWaf :
2275
2279
errMsg = "switch '--identify-waf' is incompatible with switch '--skip-waf'"
2276
2280
raise SqlmapSyntaxException (errMsg )
Original file line number Diff line number Diff line change 19
19
from lib .core .enums import OS
20
20
21
21
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22
- VERSION = "1.2.12.48 "
22
+ VERSION = "1.2.12.49 "
23
23
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
24
24
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
25
25
VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ cada93357a7321655927fc9625b3bfec lib/core/exception.py
42
42
1e5532ede194ac9c083891c2f02bca93 lib/core/__init__.py
43
43
458a194764805cd8312c14ecd4be4d1e lib/core/log.py
44
44
7d6edc552e08c30f4f4d49fa93b746f1 lib/core/optiondict.py
45
- 9e12c63430c653970cbc4c6bc6984784 lib/core/option.py
45
+ b75d17fef2c6675b53a8874484ea771f lib/core/option.py
46
46
c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
47
47
6783160150b4711d02c56ee2beadffdb lib/core/profiling.py
48
48
6f654e1715571eff68a0f8af3d62dcf8 lib/core/readlineng.py
49
49
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
50
50
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
51
51
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
52
- ee218563ec023478311e55a30e2ea443 lib/core/settings.py
52
+ 029c708c75256a97c39c14e24e62ba08 lib/core/settings.py
53
53
a971ce157d04de96ba6e710d3d38a9a8 lib/core/shell.py
54
54
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
55
55
1581be48127a3a7a9fd703359b6e7567 lib/core/target.py
You can’t perform that action at this time.
0 commit comments