minor bug fix

This commit is contained in:
Somdev Sangwan
2019-01-30 12:16:29 +05:30
committed by GitHub
parent 9ba141f715
commit 412e95753e

View File

@@ -4,8 +4,8 @@ lightning = '\033[93;5m⚡\033[0m'
def banner():
print ('''
%s%sBOLT%s%s v0.2.1-beta%s
''' % (yellow, white, yellow, white, end))
%s%sBOLT%s%s
''' % (yellow, white, yellow, end))
banner()
@@ -111,6 +111,10 @@ if len(uniqueTokens) < len(allTokens):
with open('./db/hashes.json') as f:
hashPatterns = json.load(f)
if not allTokens:
print ('%s No CSRF protection to test' % bad)
quit()
aToken = allTokens[0]
matches = []
for element in hashPatterns: