EDIT***
If you cant ask for help what good is a forum. And don’t say stackoverflow, I wouldn’t be here if I already tried.
Yo!
Just trying to do some bug hunting, Ive got a vulnerable website that I can use JavaScript on to see the PHPSESSID cookie, but when I send it to my server, the PHPSESSID cookie isn’t there, just other information. HTTPOnly flag isn’t on.
The only problem I can think is its the php script, anyone have a working script or another method of obtaining the users PHPSESSID cookie?
Github script im using:
https://gist.github.com/BeanBagKing/0add7ca363ec0d8212db091579c4a9f2
JS script im using that works: