Postado Janeiro 6, 2016 9 anos Bom deu certo em partes kkkk ... http://postimg.org/image/un0na1sul/ Abaixo desse monte de erros abre as paginas dos site... Mudei o meu xampp para o 1.7.3 , estava usando o 1.7.5 @Alterações Spoiler Warning: include(sqlinjecbasict.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\index.php on line 14Warning: include() [function.include]: Failed opening 'sqlinjecbasict.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\index.php on line 14Warning: fopen(secure/sql_Injections.txt) [function.fopen]: failed to open stream: No such file or directory in C:\xampp\htdocs\easyinject.php on line 4Warning: fclose() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\easyinject.php on line 260) { die(" Não use Caracteres Especiais! Voltar "); } } } foreach($_GET as $valor) { foreach($bloquiados as $bloquiados2) { if(substr_count(strtolower($valor), strtolower($bloquiados2)) > 0) { die(" Não use Caracteres Especiais! Voltar "); } } } foreach($_COOKIE as $valor) { foreach($bloquiados as $bloquiados2) { if(substr_count(strtolower($valor), strtolower($bloquiados2)) > 0) { die(" Editado Janeiro 6, 2016 9 anos por lucas dias tavares (veja o histórico de edições)
Postado Janeiro 6, 2016 9 anos Autor Posta o index.php da pasta htdocs Edit: Não precisa postar não, apenas vá ao arquivo index.php e nas linhas 13~17 delete: Citar include "antisql.php"; include "sqlinjecbasict.php"; include "easyinject.php"; include "anticaractinject.php"; include "sqlcheck.php"; Vou atualizar o tópico! Editado Janeiro 6, 2016 9 anos por Sekk (veja o histórico de edições)
Postado Janeiro 6, 2016 9 anos Spoiler <?PHP session_start(); ob_start("ob_gzhandler"); //require('./exaBD.php'); function microtime_float() { list($usec, $sec) = explode(" ", microtime()); return ((float)$usec + (float)$sec); } $time_start = microtime_float(); //##### CONFIG ##### include('config-and-functions.php'); include "antisql.php"; include "sqlinjecbasict.php"; include "easyinject.php"; include "anticaractinject.php"; include "sqlcheck.php"; $action = $_REQUEST['action']; //##### LOGOUT ##### if($action == "logout") { unset($_SESSION['account']); unset($_SESSION['password']); } //##### LOGIN ##### $logged = FALSE; if(isset($_SESSION['account'])) { $account_logged = $ots->createObject('Account'); $account_logged->load($_SESSION['account']); if($account_logged->isLoaded() && $account_logged->getPassword() == $_SESSION['password']) { $logged = TRUE; $group_id_of_acc_logged = $account_logged->getPageAccess(); } else { $logged = FALSE; unset($_SESSION['account']); unset($account_logged); } } $login_account = strtoupper(trim($_POST['account_login'])); $login_password = trim($_POST['password_login']); if(!$logged && !empty($login_account) && !empty($login_password)) { $login_password = password_ency($login_password); $account_logged = $ots->createObject('Account'); $account_logged->find($login_account); if($account_logged->isLoaded()) { if($login_password == $account_logged->getPassword()) { $_SESSION['account'] = $account_logged->getId(); $_SESSION['password'] = $login_password; $logged = TRUE; $account_logged->setCustomField("page_lastday", time()); $group_id_of_acc_logged = $account_logged->getPageAccess(); } else $logged = FALSE; } } //#### LOAD PAGE ########## if(empty($_REQUEST['subtopic'])) { $_REQUEST['subtopic'] = "latestnews"; $subtopic = "latestnews"; } switch($_REQUEST['subtopic']) { case "latestnews": $topic = "Latest News"; $subtopic = "latestnews"; include("latestnews.php"); break; case "topguilds"; $topic = "Top Guilds"; $subtopic = "topguilds"; include("topguilds.php"); break; case "wars"; $subtopic = "wars"; $topic = "Guild Wars"; include("wars.php"); break; case "zombieevent": $topic = "Zombie Event"; $subtopic = "zombieevent"; include("zombieevent.php"); break; case "battlefield"; $topic = "Battlefield"; $subtopic = "battlefield"; include("battlefield.php"); break; case "tradeoff"; $topic = "Trade Off"; $subtopic = "tradeoff"; include("tradeoff.php"); break; case "creatures"; $topic = "Creatures"; $subtopic = "creatures"; include("creatures.php"); break; case "spells"; $topic = "Spells"; $subtopic = "spells"; include("spells.php"); break; case "bugtracker"; $topic = "Bug Tracker"; $subtopic = "bugtracker"; include("bug.php"); break; case "experiencetable"; $topic = "Experience Table"; $subtopic = "experiencetable"; include("experiencetable.php"); break; case "characters"; $topic = "Characters"; $subtopic = "characters"; include("characters.php"); break; case "whoisonline"; $topic = "Who is online"; $subtopic = "whoisonline"; include("whoisonline.php"); break; case "highscores"; $topic = "Highscores"; $subtopic = "highscores"; include("highscores.php"); break; case "killstatistics"; $topic = "Last Kills"; $subtopic = "killstatistics"; include("killstatistics.php"); break; case "guilds"; $topic = "Guilds"; $subtopic = "guilds"; include("guilds.php"); break; case "accountmanagement"; $topic = "Account Management"; $subtopic = "accountmanagement"; include("accountmanagement.php"); break; case "createaccount"; $topic = "Create Account"; $subtopic = "createaccount"; include("createaccount.php"); break; case "lostaccount"; $topic = "Lost Account Interface"; $subtopic = "lostaccount"; include("lostaccount.php"); break; case "tibiarules"; $topic = "Server Rules"; $subtopic = "tibiarules"; include("tibiarules.php"); break; case "adminpanel": $topic = "Admin Panel"; $subtopic = "adminpanel"; include("adminpanel.php"); break; case "admin"; $subtopic = "admin"; $topic = "Advanced Admin Panel"; include("adminpro.php"); break; case "confirmacao": $topic = "Confirmacao"; $subtopic = "confirmacao"; include("confirmacao.php"); break; case "vantagens": $topic = "Vantagens"; $subtopic = "vantagens"; include("vantagens.php"); break; case "forum": $topic = "Forum"; $subtopic = "forum"; include("forum.php"); break; case "team"; $subtopic = "team"; $topic = "Gamemasters List"; include("team.php"); break; case "downloads"; $subtopic = "downloads"; $topic = "Downloads"; include("downloads.php"); break; case "serverinfo"; $subtopic = "serverinfo"; $topic = "Server Info"; include("serverinfo.php"); break; case "shopsystem"; $subtopic = "shopsystem"; $topic = "Shop System"; include("shopsystem.php"); break; case "doacao"; $subtopic = "doacao"; $topic = "Doacao"; include("doacao.php"); break; case "gallery"; $subtopic = "gallery"; $topic = "Gallery"; include("gallery.php"); break; case "archive"; $subtopic = "archive"; $topic = "News Archives"; include("archive.php"); break; case "shopadmin"; $subtopic = "shopadmin"; $topic = "Shop Admin"; include("shopadmin.php"); break; case "records"; $subtopic = "records"; $topic = "Players Online Records"; include("records.php"); break; case "restarter"; $subtopic = "restarter"; $topic = "Restarter"; include("restarter.php"); break; case "bans"; $subtopic = "bans"; $topic = "Ban List"; include("bans.php"); break; case "polls"; $topic = "Polls"; $subtopic = "polls"; include("polls.php"); break; case "changelog"; $topic = "Changelog"; $subtopic = "changelog"; include("changelog.php"); break; case "featured": $topic = "Featured Article"; $subtopic = "featured"; include("featured.php"); break; case "fragers"; $topic = "Top Fragers"; $subtopic = "fragers"; include("fragers.php"); break; case "paypal"; $topic = "Donate via PayPal"; $subtopic = "paypal"; include("paypal.php"); break; } if(empty($topic)) { $title = $GLOBALS['config']['server']["serverName"]." - OTS"; $main_content .= 'Invalid subtopic. Can\'t load page.'; } else { $title = $GLOBALS['config']['server']["serverName"]." - ".$topic; } //#####LAYOUT##### $layout_header = '<script type=\'text/javascript\'> function GetXmlHttpObject() { var xmlHttp=null; try { xmlHttp=new XMLHttpRequest(); } catch (e) { try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } } return xmlHttp; } function MouseOverBigButton(source) { source.firstChild.style.visibility = "visible"; } function MouseOutBigButton(source) { source.firstChild.style.visibility = "hidden"; } function BigButtonAction(path) { window.location = path; } var'; if($logged) { $layout_header .= "loginStatus=1; loginStatus='true';"; } else { $layout_header .= "loginStatus=0; loginStatus='false';"; }; $layout_header .= " var activeSubmenuItem='".$subtopic."';</script>"; include($layout_name."/layout.php"); ob_end_flush(); ?>
Postado Janeiro 6, 2016 9 anos Autor 8 minutos atrás, Sekk disse: Posta o index.php da pasta htdocs Edit: Não precisa postar não, apenas vá ao arquivo index.php e nas linhas 13~17 delete: Vou atualizar o tópico! Tópico com download atualizado!! Editado Janeiro 6, 2016 9 anos por Sekk (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.