Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
s0md3v committed Jan 30, 2019
1 parent 9ba141f commit 412e957
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bolt.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

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()

Expand Down Expand Up @@ -111,6 +111,10 @@ def banner():
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:
Expand Down

0 comments on commit 412e957

Please sign in to comment.