mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-05-14 01:16:59 +00:00
Some minor stuff for Py3
This commit is contained in:
parent
8d89389c36
commit
a21cbcb665
5 changed files with 61 additions and 20 deletions
|
|
@ -27,7 +27,6 @@ try:
|
|||
import re
|
||||
import shutil
|
||||
import sys
|
||||
import thread
|
||||
import threading
|
||||
import time
|
||||
import traceback
|
||||
|
|
@ -169,7 +168,7 @@ def main():
|
|||
else:
|
||||
try:
|
||||
start()
|
||||
except thread.error as ex:
|
||||
except Exception as ex:
|
||||
if "can't start new thread" in getSafeExString(ex):
|
||||
errMsg = "unable to start new threads. Please check OS (u)limits"
|
||||
logger.critical(errMsg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue