mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-05-13 17:06:53 +00:00
Replacing code integrity with code checksum mechanism
This commit is contained in:
parent
171ebf2ef6
commit
1f41f8588b
4 changed files with 17 additions and 43 deletions
|
|
@ -50,8 +50,8 @@ try:
|
|||
from lib.core.data import logger
|
||||
|
||||
from lib.core.common import banner
|
||||
from lib.core.common import checkIntegrity
|
||||
from lib.core.common import checkPipedInput
|
||||
from lib.core.common import checkSums
|
||||
from lib.core.common import createGithubIssue
|
||||
from lib.core.common import dataToStdout
|
||||
from lib.core.common import extractRegexResult
|
||||
|
|
@ -268,7 +268,7 @@ def main():
|
|||
print()
|
||||
errMsg = unhandledExceptionMessage()
|
||||
excMsg = traceback.format_exc()
|
||||
valid = checkIntegrity()
|
||||
valid = checkSums()
|
||||
|
||||
os._exitcode = 255
|
||||
|
||||
|
|
@ -448,7 +448,7 @@ def main():
|
|||
raise SystemExit
|
||||
|
||||
elif valid is False:
|
||||
errMsg = "code integrity check failed (turning off automatic issue creation). "
|
||||
errMsg = "code checksum failed (turning off automatic issue creation). "
|
||||
errMsg += "You should retrieve the latest development version from official GitHub "
|
||||
errMsg += "repository at '%s'" % GIT_PAGE
|
||||
logger.critical(errMsg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue