Skip to content

Commit

Permalink
Fixed typo headers request
Browse files Browse the repository at this point in the history
There was a typo causing an error when sending requests with custom headers
  • Loading branch information
PolEspurnes authored Dec 29, 2022
1 parent a0283cb commit 7488d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SecretFinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7488d07

Please sign in to comment.