diff --git a/lib/core/common.py b/lib/core/common.py index 91029490b..16a377ea2 100755 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -2978,7 +2978,7 @@ def createGithubIssue(errMsg, excMsg): data = {"title": "Unhandled exception (#%s)" % key, "body": "```%s\n```\n```\n%s```" % (errMsg, excMsg)} - req = urllib2.Request(url="https://api.github.com/repos/sqlmapproject/sqlmap/issues", data=json.dumps(data), headers={"Authorization": "token %s" % GITHUB_REPORT_OAUTH_TOKEN}) + req = urllib2.Request(url="https://api.github.com/repos/sqlmapproject/sqlmap/issues", data=json.dumps(data), headers={"Authorization": "token %s" % GITHUB_REPORT_OAUTH_TOKEN.decode("base64")}) try: f = urllib2.urlopen(req) diff --git a/lib/core/settings.py b/lib/core/settings.py index e27d686c5..62da62fd2 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -484,7 +484,7 @@ DEFAULT_COOKIE_DELIMITER = ';' FORCE_COOKIE_EXPIRATION_TIME = "9999999999" # Github OAuth token used for creating an automatic Issue for unhandled exceptions -GITHUB_REPORT_OAUTH_TOKEN = "6c16fa87190a100aceea8e71cb0c1ba8e4096c7a" +GITHUB_REPORT_OAUTH_TOKEN = "YzQzM2M2YzgzMDExN2I5ZDMyYjAzNTIzODIwZDA2MDFmMmVjODI1Ng==" # Skip unforced HashDB flush requests below the threshold number of cached items HASHDB_FLUSH_THRESHOLD = 32