Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Loader)
- *
- * @ Version : 2.0.0.3
- * @ Author : DeZender
- * @ Release on : 06.05.2013
- * @ Official site : http://DeZender.Net
- *
- */
- if ($settings["cloudflare_set"] == "1") {
- $ip = $_SERVER["HTTP_CF_CONNECTING_IP"];
- }
- else {
- $ip = $_SERVER["REMOTE_ADDR"];
- }
- if (!$user->LoggedIn()) {
- header("location: index.php?page=Login");
- exit();
- }
- if (!$user->notBanned($odb)) {
- header("location: index.php?page=logout");
- exit();
- }
- $CheckUserSQL = $odb->prepare("SELECT * FROM `users` WHERE `id` = :id");
- $CheckUserSQL->execute(array(":id" => $_SESSION["ID"]));
- $CheckUserIP = $CheckUserSQL->fetch(PDO::FETCH_ASSOC);
- if ($CheckUserIP["ip_address"] == "OFF") {
- header("location: index.php?page=");
- exit();
- }
- else {
- if ($CheckUserIP["ip_address"] == $ip) {
- header("location: index.php?page=");
- exit();
- }
- }
- include("header.php");
- echo("\x0a <!-- Page content -->\x0a <div id=\"page-content\">\x0a <!-- Wizard Header -->\x0a <div class=\"content-header\">\x0a <div class=\"row\">\x0a <div class=\"col-sm-6\">\x0a <div class=\"header-section\">\x0a <h1>2-STEP Verification</h1>\x0a </div>\x0a </div>\x0a <div class=\"col-sm-6 hidden-xs\">\x0a <div class=\"header-section\">\x0a <ul class=\"breadcrumb breadcrumb-top\">\x0a <li>Home</li>\x0a <li>2-STEP VERIFICATION</li>\x0a \x0a </ul>\x0a </div>\x0a </div>\x0a </div>\x0a </div>\x0a\x0a ");
- $SQLGetKey = $odb->prepare("SELECT `security_question` FROM `users` WHERE `ID` = :id");
- $SQLGetKey->execute(array(":id" => $_SESSION["ID"]));
- $question = $SQLGetKey->fetchColumn(0);
- if (isset($_POST["submitBtn"])) {
- $checkprior = $odb->prepare("SELECT COUNT(*) FROM 2step_logs WHERE ip = ? AND `date` > ?");
- $checkprior->execute(array($_SERVER["REMOTE_ADDR"], time() - 1500));
- if (5 <= $checkprior->fetchColumn()) {
- $omegas = "OMEGA IS SEXY";
- echo("<div class=\"alert alert-danger\">\x0a <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>\x0a </i>You have not answered the question correctly, please wait 25min then try again\x0a </div>");
- }
- $answer = $_POST["answer"];
- ......................................................
- .........................
- ............
Advertisement
Add Comment
Please, Sign In to add comment