Tutorials Xss bug tutorial

Tutorials - Xss bug tutorial - TheJavaSea Forum, Gaming Laptops & PCs Reviews, Linux Tutorials, Network Hacks, Hacking, Leaks, Proxies, Domains & Webhosting, Coding Tutorials, SEO Tips & Hacks, Security TIPS and much more.

COLD WAR

Registered Member
Joined: Oct 22, 2021
Messages: 7
Points: 3
Reaction score: 3
method

With javascript commands redirects you to a link and gives you user cookies.





Well, now let's go to our work. (It can only be done on sites that have xss bugs)

Step 1: ‌

For example, there is a chat room where you see a message, you send this text instead of the message: ‌

Please Login or Register to view content


If the time you enter the page in the form of an error shows you an error (as a warning, for example), it means that the site has a bug.



Step 2:

Create a file called xss.php on a site you own and put this php code in it:
Please Login or Register to view content

Step 3:

Send another message in the message field with this javascript code:
Please Login or Register to view content
Instead of site.com, give the address of your site where you put the xss.php file.





Step 4:

Enter this address:

Please Login or Register to view content

And when users see your message, they will be redirected to site.com/xss.php and their cookies in a file

It will be saved for you as cookie.html.
 
Top