File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -188,12 +188,12 @@ c1cb56f2a43e9f2f6b25d5f3d504e856ea21df6fc14af5e37b1000feef2bdb5a lib/core/optio
18818848797d6c34dd9bb8a53f7f3794c85f4288d82a9a1d6be7fcf317d388cb20d4b3 lib/core/replication.py
1891890b8c38a01bb01f843d94a6c5f2075ee47520d0c4aa799cecea9c3e2c5a4a23a6 lib/core/revision.py
190190888daba83fd4a34e9503fe21f01fef4cc730e5cde871b1d40e15d4cbc847d56c lib/core/session.py
191- e2e711274bf226e785203353f9dd205e8fd3b9b11f9470513df38178edf288b6 lib/core/settings.py
191+ cacbf90118ef472f154474891da53f6fd2641c98421902134ba1706f9bc1c716 lib/core/settings.py
192192cd5a66deee8963ba8e7e9af3dd36eb5e8127d4d68698811c29e789655f507f82 lib/core/shell.py
193193bcb5d8090d5e3e0ef2a586ba09ba80eef0c6d51feb0f611ed25299fbb254f725 lib/core/subprocessng.py
194194d35650179816193164a5f177102f18379dfbe6bb6d40fbb67b78d907b41c8038 lib/core/target.py
195195ddf8c5a3dbebd6cdf8b8ba4417e36652d1e040f025175cb6487f1aebc0208836 lib/core/testing.py
196- cf4dca323645d623109a82277a8e8a63eb9abb3fff6c8a57095eb171c1ef91b3 lib/core/threads.py
196+ 2ac067fd7a8d6fedbc75f0ac2e5ee1533c63009bf257e88fdd71d8d71d4c8e5a lib/core/threads.py
197197b9aacb840310173202f79c2ba125b0243003ee6b44c92eca50424f2bdfc83c02 lib/core/unescaper.py
19819810719f5ca450610ad28242017b2d8a77354ca357ffa26948c5f62d20cac29a8b lib/core/update.py
199199ec11fd5a3f4efd10a1cae288157ac6eb6fb75da4666d76d19f6adf74ac338b5a lib/core/wordlist.py
Original file line number Diff line number Diff line change 1919from thirdparty import six
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.10.1.73 "
22+ VERSION = "1.10.1.74 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_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 @@ -188,13 +188,15 @@ def _threadFunction():
188188 threads .append (thread )
189189
190190 # And wait for them to all finish
191- alive = True
192- while alive :
191+ while True :
193192 alive = False
194193 for thread in threads :
195- if thread .is_alive ():
194+ if thread .isAlive ():
196195 alive = True
197- time .sleep (0.1 )
196+ break
197+ if not alive :
198+ break
199+ time .sleep (0.1 )
198200
199201 except (KeyboardInterrupt , SqlmapUserQuitException ) as ex :
200202 print ()
@@ -211,8 +213,8 @@ def _threadFunction():
211213 if numThreads > 1 :
212214 logger .info ("waiting for threads to finish%s" % (" (Ctrl+C was pressed)" if isinstance (ex , KeyboardInterrupt ) else "" ))
213215 try :
214- while ( threading .active_count () > 1 ) :
215- pass
216+ while threading .active_count () > 1 :
217+ time . sleep ( 0.1 )
216218
217219 except KeyboardInterrupt :
218220 kb .multipleCtrlC = True
You can’t perform that action at this time.
0 commit comments