Hello this just a having fun with top reputed sites as we all know the Xss Attack.
javascript Injection is Similar to Cross Site RF vulnerability,
its just for fun, but sometimes you can get cookies of vulnerable website by using Javascript injection,
Take a Look of javascript injection

Note: I think all are working on Firefox Only

Alert and Changing Title on Website

Javascript: alert(document.title = "title name");

You can Chnage Title of website by putting this script in you browser
and you'll get a Alert too ..

Message On website on alert Box

Javascript: alert("you message here");

use this script for more than one message

javascript: alert("First message"); alert("second message"); alert("Third message");

you can show you message on website by putting this script on browser URL box
Getting Cookies By javascripts
you can use these scripts to get and chnage cookies of website

javascript:void(document.cookie="username=user123"); alert(document.cookie);
javascript:void(document.cookie="username=user123"); void(document.cookie="password=pass123"); alert(document.cookie);

Post a Comment

Feel Free To Ask Your Query we Love To Answer