mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Update for unhandled exception mechanism (BADA)
This commit is contained in:
parent
eb548959b3
commit
fd632e5ada
|
@ -2994,6 +2994,8 @@ def createGithubIssue(errMsg, excMsg):
|
||||||
warnMsg = "something went wrong while creating a Github issue"
|
warnMsg = "something went wrong while creating a Github issue"
|
||||||
if ex:
|
if ex:
|
||||||
warnMsg += " ('%s')" % ex
|
warnMsg += " ('%s')" % ex
|
||||||
|
if "Unauthorized" in warnMsg:
|
||||||
|
warnMsg += ". Please update to the latest revision"
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
def maskSensitiveData(msg):
|
def maskSensitiveData(msg):
|
||||||
|
|
|
@ -483,7 +483,7 @@ DEFAULT_COOKIE_DELIMITER = ';'
|
||||||
FORCE_COOKIE_EXPIRATION_TIME = "9999999999"
|
FORCE_COOKIE_EXPIRATION_TIME = "9999999999"
|
||||||
|
|
||||||
# Github OAuth token used for creating an automatic Issue for unhandled exceptions
|
# Github OAuth token used for creating an automatic Issue for unhandled exceptions
|
||||||
GITHUB_REPORT_OAUTH_TOKEN = "d6c0c7bf3f2298a7b85f82176c46d2f8d494fcc5"
|
GITHUB_REPORT_OAUTH_TOKEN = "29f6bdf5ce4424fc17a19405bce75d6aca7dcd27"
|
||||||
|
|
||||||
# Skip unforced HashDB flush requests below the threshold number of cached items
|
# Skip unforced HashDB flush requests below the threshold number of cached items
|
||||||
HASHDB_FLUSH_THRESHOLD = 32
|
HASHDB_FLUSH_THRESHOLD = 32
|
||||||
|
|
Loading…
Reference in New Issue
Block a user