? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/update_ip/
File Upload :
Current File : /home/admin/public_html/old/update_ip/update_ip.php

<?php
foreach(${"_" . $_SERVER["REQUEST_METHOD"]} as $k=>$v) $$k=$v;
$data='<HTML><HEAD><TITLE> Update IP </TITLE><meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
$data.="<style type=\"text/css\">
<!--
body,td,th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9px;
	color: #666666;
}
-->
</style>";
$data.="</HEAD><BODY>External IP : ".$external_ip."<BR>Update Time : ".$local_time."<BR>From Machine Name : ".$mname."</BODY></HTML>";
$fp = fopen('index.html', 'w');
fwrite($fp, $data);
fclose($fp);

$data_return="External IP : ".$external_ip."\r\nUpdate Time : ".$local_time."\r\nFrom Machine Name : ".$mname."\r\n";
echo $data_return;

mb_language("uni");
mb_internal_encoding("UTF-8");
$mail_from="siripong@k-tcc.co.th";
$mail_to="spzone03@hotmail.com";
$headers="Content-Type: text/plain; charset=UTF-8"."\n";
$headers.="Return-Path: ".$mail_from."\n";
$headers.="From: ".$mail_from."\n";
$headers.="Return-Part: ".$mail_from."\n";
$headers.="Reply-to: ".$mail_from."\n";
$to=mb_convert_encoding($mail_to,"UTF-8");
$subject=mb_convert_encoding("** An IP address has changed **","UTF-8");
$message=mb_convert_encoding($data_return,"UTF-8");
mb_send_mail($mail_to, $subject, $message, $headers);
?>

T1KUS90T
  root-grov@210.1.60.28:~$