File tree Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Expand file tree Collapse file tree 3 files changed +8
-11
lines changed 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.1.11.33 "
22
+ VERSION = "1.1.11.34 "
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 @@ -461,15 +461,12 @@ def blindThread():
461
461
threadData = getCurrentThreadData ()
462
462
463
463
while kb .threadContinue :
464
- kb .locks .index .acquire ()
464
+ with kb .locks .index :
465
+ if threadData .shared .index [0 ] - firstChar >= length :
466
+ return
465
467
466
- if threadData .shared .index [0 ] - firstChar >= length :
467
- kb .locks .index .release ()
468
- return
469
-
470
- threadData .shared .index [0 ] += 1
471
- currentCharIndex = threadData .shared .index [0 ]
472
- kb .locks .index .release ()
468
+ threadData .shared .index [0 ] += 1
469
+ currentCharIndex = threadData .shared .index [0 ]
473
470
474
471
if kb .threadContinue :
475
472
charStart = time .time ()
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ e1c000db9be27f973569b1a430629037 lib/core/option.py
46
46
760d9df2a27ded29109b390ab202e72d lib/core/replication.py
47
47
a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py
48
48
02d4762140a72fd44668d3dab5eabda9 lib/core/session.py
49
- 8269d14ad7ba23bf255f355add19eaa5 lib/core/settings.py
49
+ 34bc58ea008c92da42e79a18fce3ec9c lib/core/settings.py
50
50
35bffbad762eb9e03db9e93b1c991103 lib/core/shell.py
51
51
a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py
52
52
d5a04d672a18f78deb2839c3745ff83c lib/core/target.py
@@ -87,7 +87,7 @@ ac3f47b2f8d2cd530512405b4a23a9db lib/takeover/metasploit.py
87
87
21b6eff33f5d28c5e167a948976817cb lib/takeover/udf.py
88
88
e49d1213f9ae0c0f922c5aef4febe205 lib/takeover/web.py
89
89
d3080bf68b4b85ed2c98af5de74e8b73 lib/takeover/xp_cmdshell.py
90
- ab58650253fdad04e7a53a4e4d36df8a lib/techniques/blind/inference.py
90
+ ed995f2c65aab9f222005493b590eb2d lib/techniques/blind/inference.py
91
91
5fb9aaf874daa47ea2b672a22740e56b lib/techniques/blind/__init__.py
92
92
5fb9aaf874daa47ea2b672a22740e56b lib/techniques/dns/__init__.py
93
93
95331b2826f28db9ff962670391aa7d6 lib/techniques/dns/test.py
You can’t perform that action at this time.
0 commit comments