From 412e95753eb48a458668a4b0a1f586b014cf1247 Mon Sep 17 00:00:00 2001 From: Somdev Sangwan Date: Wed, 30 Jan 2019 12:16:29 +0530 Subject: [PATCH] minor bug fix --- bolt.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bolt.py b/bolt.py index 6cede1c..d057f8a 100644 --- a/bolt.py +++ b/bolt.py @@ -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() @@ -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: