From 7488d075563a2411aa82c4077429527eabf9d644 Mon Sep 17 00:00:00 2001 From: Pol Centelles <48432549+PolEspurnes@users.noreply.github.com> Date: Thu, 29 Dec 2022 15:24:59 +0100 Subject: [PATCH] Fixed typo headers request There was a typo causing an error when sending requests with custom headers --- SecretFinder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SecretFinder.py b/SecretFinder.py index c0ad533..b408712 100644 --- a/SecretFinder.py +++ b/SecretFinder.py @@ -353,7 +353,7 @@ def send_request(url): 'Accept-Encoding' : 'gzip' } if args.headers: - for i in args.header.split('\\n'): + for i in args.headers.split('\\n'): # replace space and split name,value = i.replace(' ','').split(':') headers[name] = value