XSS Guide [PART 1]
What is XSS? XSS stands for Cross-Site-Scripting. It is usually injected into input fileds or URL.
[ Hidden Content! ]
Lets get started!
![[Image: hackerman.gif]](https://patched.to/pbb-proxy/UUNCQ0JeTUoXQ1ARCAYXVhRWAVxdVBdcXBwIXQdXUxYWRFtaXQ0HFktfUAYKAEtYB1lMUFFW/hackerman.gif)
We will test exploits on this website.(The website is built for testing XSS. It is legal to test it there.) We can see the input field at the left.
Try to input HTML there and see what happens. It renders the HTML into the website. This is called reflected XSS.
“But how can we make this dangerous?”
BY USING JAVASCRIPT!
Try to input this <= imageBY USING JAVASCRIPT!
This payload works by tricking the server to load this image. As you can see, the image has an invalid source and attribute “onerror” which runs JS script which is written after that. You can replace the alert with harmful script that can redirect user or steal their cookies.
Stay Tuned For Part 2
![[Image: sheepe.gif]](https://patched.to/pbb-proxy/UUNCQ0JeTUoXQ1ARCAYXVhRWAVxdVBdcXBwIXQdXUxYWRFtaXQ0HFktEWQAEFVwbAV4E/sheepe.gif)
Not ratedThis leak has not been rated yet, be careful when downloading.