Monday, June 20, 2016

How to get XSS Pop Up on any Site | Javascript Injection

How to get XSS Pop Up on any Site | Javascript Injection: Hello guys! so today we are going to discuss about javascript injection :P. By you can get XSS Pop up on any site all you need to do is just paste some javascript vectors in console prompt of your browser. How to get XSS Pop Up on any Site | Javascript Injection

By this you can prank your friends just by pasting javascript on a popular sites like facebook in console and take screenshots and simple send it to your friend :P ok so here we start..How to get XSS Pop Up on any Site | Javascript Injection


How to get XSS Pop Up on any Site | Javascript Injection

Javascript Injection: Produce XSS Pop Up on any Site. Basically, its just for fun, but sometimes you can get cookies of vulnerable website by using Javascript injection, ok so lets start..

1). For Chrome open console by Ctrl+Shift+I and paste any of these javascript in console box and get pop up :)

2). Do the same for Firefox :) Ctrl+Shift+I :)

To Alert and Changing Title on Website by Javascript(XSS)

just enter the below javascript in console :)
Javascript: alert(document.title = "title name");

Message On website on alert Box

Just enter this script:
Javascript: alert("you message here");
use this script for more than one message
javascript: alert("First message"); alert("second message"); alert("Third message");



Getting Cookies By javascripts(XSS)

You can also get cookies by javascript(XSS).. just use below scripts :)
alert(document.cookie);
javascript:void(document.cookie="Cookie_name=Cookie_value");
javascript:void(document.cookie="username=user123"); alert(document.cookie);
javascript:void(document.cookie="username=user123"); void(document.cookie="password=pass123"); alert(document.cookie); 
What are you waiting for? Just go ahead and prank your friends :P
So thats it for now if you really enjoyed reading do share and don't forget to leave your feedback :)... 

2 on: "How to get XSS Pop Up on any Site | Javascript Injection"
  1. Replies
    1. Its just simple just press the following keys and find the console tab and paste the scripts given above..you will get pop up :)

      CTRL+SHIFT+I

      If you still not got let me know i will upload video tutorial :)

      Delete