Forum Discussion
Re: Cross-Site Scripting: Ep.6 – Further Exploitation
- 9 months ago
👋 IronLady18, you're doing 99% of the steps correctly, the problem lies with the fact you're using port 4848 to both host the script.js file and receive the connection back from the server. You'll also need a listener (I like using netcat, as it's simple!) to catch the connection from the server, and output the contents of the request.
For example, to spawn a listener on port 4444, you would run:
nc -nvlp 4444
You'd need to adjust the script.js file to match whatever port you choose to host your listener on.
Hope this helps!
Hello guys appreciate further help on this too tried the following
Then requested in the ask question same port with the listener
And I am just getting this. Any help is appreciated.
If same port with http server though, I am getting 404 instead. Not sure what I am doing wrong.
Thanks in advance for the help.
Hi restarting the lab and attempting without changes on the first try worked for me