File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from lib .core .revision import getRevisionNumber
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.0.5.15 "
22+ VERSION = "1.0.5.16 "
2323REVISION = getRevisionNumber ()
2424STABLE = VERSION .count ('.' ) <= 2
2525VERSION_STRING = "sqlmap/%s#%s" % (VERSION , "stable" if STABLE else "dev" )
Original file line number Diff line number Diff line change 4949from lib .core .option import initOptions
5050from lib .core .option import init
5151from lib .core .profiling import profile
52+ from lib .core .settings import IS_WIN
5253from lib .core .settings import LEGAL_DISCLAIMER
5354from lib .core .settings import VERSION
5455from lib .core .testing import smokeTest
@@ -192,6 +193,14 @@ def main():
192193 logger .error (errMsg )
193194 raise SystemExit
194195
196+ elif "can't start new thread" in excMsg :
197+ errMsg = "there has been a problem while creating new thread instance. "
198+ errMsg += "Please make sure that you are not running too many processes"
199+ if not IS_WIN :
200+ errMsg += " (or increase the 'ulimit -u' value)"
201+ logger .error (errMsg )
202+ raise SystemExit
203+
195204 elif all (_ in excMsg for _ in ("pymysql" , "configparser" )):
196205 errMsg = "wrong initialization of pymsql detected (using Python3 dependencies)"
197206 logger .error (errMsg )
You can’t perform that action at this time.
0 commit comments