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.7.1 "
22+ VERSION = "1.0.7.2 "
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 @@ -201,7 +201,7 @@ def main():
201201 logger .error (errMsg )
202202 raise SystemExit
203203
204- elif all (_ in excMsg for _ in ("No such file" , "_'" )):
204+ elif all (_ in excMsg for _ in ("No such file" , "_'" , "self.get_prog_name()" )):
205205 errMsg = "corrupted installation detected ('%s'). " % excMsg .strip ().split ('\n ' )[- 1 ]
206206 errMsg += "You should retrieve the latest development version from official GitHub "
207207 errMsg += "repository at '%s'" % GIT_PAGE
You can’t perform that action at this time.
0 commit comments