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