bye...
Printable View
bye...
Yes you have the rights.
Quote:
[12:16:03 PM] ιкαѕυ2к™ - お元気ですか: More then 22 SQL Injections needs to be fixed
You are allowed to post it but I suggest everyone who want to use it to fix every single exploits.
Link down ;)
Link Offline :sleep:
Closed until link is working.
Link has been updated.
Link fixxed (SQL Injections has been sorted out and patched) and Readme translated.
iKasu do you promise you won't delete this post into your famous words?
Approved!
IKASU why give this error
i make thisQuote:
Datenbank Error
Es konnte keine Verbindung zur Datenbank hergestellt werden.
Grund:
could not find driver
andQuote:
All .sql Files needs to be imported into the WarZ Database!
Then you need to locate the \system\lib\config\db.conf.php and add your Database Account.
Then delete the file: /system/lib/class/database/MSSQL.class.php and rename
MSSQL(PDO).class.php to MSSQL.class.php
my config is correct o.O i have other site working in my host
Hi!!!
You need a connector (library/driver) for MSSQL Server in your web server.
Best regards!!!
Affz my error where?
http://i.imgur.com/Lu84x7U.png
same =)
and i have ext sql , mssql pdo etc etc
In what it got coded?
solution?
http://i.imgur.com/Lu84x7U.png[/QUOTE]
How fix this problem please,,,???
i read on the internet pdo driver as missing but i ave pdo installed well and works fine. i tink is because runing sql server and not mysql server. i cant explain much more
I fixed it and now I see the main page)) but when I go to the registration page to me is an error in the address bar, it says:
http://localhost/register/
ERROR HTTP 404.0 - Not Found
Please Help me)
check folders in sql server or wwroot folder. How do you fix this error?
Why do all the pages shows homepage? Guys please help.
For example I open the registration page but directs me to the homepage guys please help.
Attachment 137522
i cant pass the database error
Please Friends) How to fix my Problem?
I am Enabled log/ how to fix??? I am Using IIS7
Attachment 137531
http://i.imgur.com/Lu84x7U.png
how do I fix this error?
http://localhost/account/ 404.0 - Not Found
Please help! How to fix?
Create a folder named account in C:\inetpub\wwwroot
and make an index with this code below :D
Code:<div class="well span6"> <p>Seja Bem Vindo<font color=red size=5> <?php echo ucfirst($_SESSION['username']);?>!</font><br>
Mantenha-se sempre atualizado no nosso site com as ultimas notícias e eventos<br>
Atenciosamente Equipe KAOZ.</p>
<?php if($_SESSION['developer'] == 1)
echo "<p><font color=green size=3>Você tem previlégios de DEV</font></p>"; else echo"<p><font color=red size=3>Você não tem previlégios de DEV</font></p>";?>
<?php echo "<p>O ID de sua conta é <font color=white size=5> ". $_SESSION['customerID']."</font></p>";?>
<?php while( $row = sqlsrv_fetch_array( $email2, SQLSRV_FETCH_ASSOC) ) {
echo '<p>Seu email é : <font color=white size=4>'.$row['email'].'</font></p>'; } ?>
<?php while( $row10 = sqlsrv_fetch_array( $login, SQLSRV_FETCH_ASSOC) ) {
echo '<p>Ultimo IP logado : <font color=white size=4>'.$row10['lastloginIP'].'</font></p>'; } ?>
<?php while( $row3 = sqlsrv_fetch_array( $stmt3, SQLSRV_FETCH_ASSOC) ) {
if($row3['AccountStatus'] == 100) echo '<p>Status de Sua Conta: <font color=green size=4>Conta Ativa</font></p>'; else echo '<p>Status de Sua Conta: <font color=red size=4>Conta Banida</font></p>'; } ?>
<?php while( $row4 = sqlsrv_fetch_array( $stmt4, SQLSRV_FETCH_ASSOC) ) {
echo '<p>Seu cash atual é : <font color=white size=5>'.$row4['GamePoints'].'</font></p>'; } ?>
<p>Abaixo Você pode conferir informações básicas sobre seu Sobrevivente</p>
<?php while( $row = sqlsrv_fetch_array( $stmt, SQLSRV_FETCH_ASSOC) ) {
echo '<a href="characters.php?characterName='.$row['Gamertag'].'">'.$row['Gamertag'].'</a><br />'; } ?>
<form action="https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx" onsubmit="return enviar"() method="post" target="_blank" id="pagse" name="pagse">
<input type="hidden" name="email_cobranca" value="doidloko@hotmail.com">
<input type="hidden" name="tipo" value="CP">
<input type="hidden" name="moeda" value="BRL">
<input type="hidden" name="item_id_1" value="12">
<input type="hidden" name="item_quant_1" value="1">
<input type="hidden" name="item_descr_1" value="<?php echo $_SESSION['customerID']; ?>"/>
<input type="hidden" name="item_peso_1" value="0">
<H3>PAGSEGURO</h3>
» Cash Liberado em até 24 Horas após aprovação:<br>
<table width="100%" border="0" cellpadding="5">
<tr>
<td width="50%" align="right" bgcolor="#303030"><strong>ID de sua Conta:</strong></td>
<td width="50%" bgcolor="#303030"><input type="text" class="campos" disabled="disabled" name="item_descr_2" value="<?php echo $_SESSION['customerID']; ?>"></td>
</tr>
<tr>
<td align="right" bgcolor="#303030"><strong>Valor a Donatar:</strong></td>
<td bgcolor="#303030"><input type="text" name="item_valor_1" id="item_valor_1" class="campos" onBlur="if((this.value=='') || (this.value=='0,') || (this.value=='0,0') || (this.value=='0'))this.value='0,00';" onKeyPress="if (event.keyCode < 44 || event.keyCode > 57 ) event.returnValue = false; return ApenasNumeros(event)" onKeyDown="FormataValor(this,event,13,2);" value="0,00"></td>
</tr>
<tr>
<td colspan="2" align="center" bgcolor="#303030"><input name="contribuir" class="button"
onclick="retirar('item_valor_1')" type="submit" id="contribuir" value="Efetuar Doação" /></td>
</tr>
</table>
</form>
</br>
<H3>PAYPAL</h3>
» Cash Liberado em até 24 Horas após aprovação:<br>
<table width="100%" border="0" cellpadding="5">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top" target="_blank">
<tr>
<td width="50%" align="right" bgcolor="#303030"><strong>ID de sua Conta:</strong></td>
<td width="50%" bgcolor="#303030"><input type="text" class="campos" disabled="disabled" name="item_descr_2" value="<?php echo $_SESSION['customerID']; ?>"></td>
</tr>
<tr>
<td align="right" bgcolor="#303030"><strong>Valor a Donatar:</strong></td>
<td bgcolor="#303030"><input type="text" name="item_valor_5" id="item_valor_5" class="campos" onBlur="if((this.value=='') || (this.value=='0,') || (this.value=='0,0') || (this.value=='0'))this.value='0,00';" onKeyPress="if (event.keyCode < 44 || event.keyCode > 57 ) event.returnValue = false; return ApenasNumeros(event)" onKeyDown="FormataValor(this,event,13,2);" value="0,00"></td>
</tr>
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="BQUXZ573D4B78">
<input type="hidden" name="item_name" value="<?php echo $_SESSION['customerID']; ?>">
<tr>
<td colspan="2" align="center" bgcolor="#303030"><input name="contribuir" class="button"
onclick="retirar('item_valor_5')" type="submit" id="contribuir" value="Efetuar Doação" /></td>
</tr>
</form>
</table>
</div>
does no one know how to fix this stupid driver error i have all the pdo drivers installed and enabled and it just wont get past that screen.
I can't get past the Datenbank Error. Anyone know how to fix? I've tried everything, all tables are imported, i have the PDO drivers....
Just stuck. =/
Code:<?php
/*
* @author Mythen (Tobias K.)
* @copyright 2012 Mythen (Tobias K.)
* @project NetCMS
*/
if(!defined("NDB")){
die("Der Aufruf dieser Datei ist nicht gestattet!");
}
class MSSQL {
protected static $dbResource;
protected static $lastQuery;
function __construct(){
try{
//self::$dbResource = new PDO("mssql:host=".$host.";dbname=".$datenbank.";charset=".$charset, $user, $pass);
self::$dbResource = new PDO("sqlsrv:Server=localhost;Database=Warz", "root", "pass");
self::$dbResource->exec("SET NAMES 'UTF8'");
}catch(PDOException $ex){
NDB::showError("Datenbank Error", "Es konnte keine Verbindung zur Datenbank hergestellt werden.<br><br>Grund:<br>".$ex->getMessage());
}
}
public static function sendQuery($qry){
if(strpos($qry, ";") !== false){$qry = "";}
try{
self::$lastQuery = self::$dbResource->prepare($qry);
self::$lastQuery->execute();
}catch(PDOException $ex){
NDB::showError("Datenbank Error", "<b>Invalid SQL:</b><br>".$qry."<br><br><b>Fehler Meldung:</b><br>".$ex->getMessage());
}
return self::$lastQuery;
}
public static function fetchArray($qry = null){
if($qry !== null){ self::$lastQuery = $qry; }
$result = self::$lastQuery->fetch(PDO::FETCH_ASSOC);
return $result;
}
public static function count($table, $where = "", $order = ""){
if(!empty($where)){
$qry = self::sendQuery("SELECT COUNT(*) as count FROM ".$table." WHERE ".$where.$order);
$fetch = self::fetchArray($qry);
return $fetch["count"];
}elseif(!empty($order)){
$qry = self::sendQuery("SELECT COUNT(*) as count FROM ".$table." ".$order);
$fetch = self::fetchArray($qry);
return $fetch["count"];
}else{
$qry = self::sendQuery("SELECT COUNT(*) as count FROM ".$table);
$fetch = self::fetchArray($qry);
return $fetch["count"];
}
}
public static function getInsertID(){
$result = self::$dbResource->lastInsertId();
return $result;
}
public static function getTables($db){
$tables = array();
$result = self::sendQuery("SHOW TABLES FROM `".$db."`");
while ($row = self::fetchArray($result)) {
$tables[] = $row[0];
}
return $tables;
}
function __destruct(){
self::$dbResource = null;
}
}
?>
Thumbs up! Thanks to you now I can see the main page and log in. But it seems that it doesn't have any functions, I mean, all the links are broken because in the download that iKasu posted there is no account, market, ranking, trading folders and etc. If anyone made it, please post so people can use. If someone is working on them, let me know, I wanna try to help.
Guys! You're making a nonsense! Do not use this site! It lends itself to the SQL injections, iKasu will not let you live in peace, it will constantly break your database! Also this site has a huge flaw! There's a lot of different ways Dupe things.!
I made some modifications to it kkkk
http://i.imgur.com/BraXXZw.png
I agree with you, the IKASU leaves several faults and then fuck your emulator.
here's the proof:
http://i.imgur.com/UmSn3Hr.png
i now get this once i have everything working.
Notice: Undefined variable: sliders in C:\inetpub\wwwroot\system\lib\class\template\template.class.php on line 158
Notice: Undefined variable: paginateArray in C:\inetpub\wwwroot\system\lib\class\template\paginate.class.php on line 51
Please delete this theard!!!!!!!!!!!
Version is in the header does not work, iKasu hurt her, that's my Corrected version is fully working)))
WarZED Site ( Fixed)
Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file C:\inetpub\wwwroot\site2/system/templates/compiled\wrt532b385d6a84c8.82877324' in C:\inetpub\wwwroot\site2\system\lib\class\smarty\sysplugins\smarty_internal_write_file.php:44 Stack trace: #0 C:\inetpub\wwwroot\site2\system\lib\class\smarty\sysplugins\smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('C:\inetpub\wwwr...', 'compileTemplateSource() #2 C:\inetpub\wwwroot\site2\system\lib\class\smarty\sysplugins\smarty_internal_templatebase.php(374): Smarty_Internal_TemplateBase->fetch('C:\inetpub\wwwr...', NULL, NULL, NULL, true) #3 C:\inetpub\wwwroot\site2\system\lib\class\template\template.class.php(79): Smarty_Internal_TemplateBase->display('C:\inetpub\wwwr...') #4 C:\inetpub\wwwroot\site2\index.php(45): Template->displaySite('', 1395341405.3823) #5 {m in C:\inetpub\wwwroot\site2\system\lib\class\smarty\sysplugins\smarty_internal_write_file.php on line 44
Error *.*
i have a problem with database connection php sql driver is installed
http://grabilla.com/0491e-207ef25c-8...cfdf783edb.png
Microsoft Drivers 3.0 for PHP: http://www.microsoft.com/en-us/downl....aspx?id=20098
Microsoft Drivers 3.0 for PHP is installed :-D
is made there is still the error
Anyone ?
http://74.117.238.70/error.png
Is the directory write protected?
Go to the folder right click and check if the checkbox at "Write protected" is not checked
Also:
And try:PHP Code:var_dump(is_writable("PUT THE PATH HERE"))
After the initialization of smarty :)PHP Code:$smarty->testInstall(); exit;
No go......has anyone gotten this site fully functional ?
http://i.imgur.com/RgEfBEt.png
Now it's working for 100%. :)
Someone can share fixed web?
anyone ave th sql of this site? i can fix that error easy but i dont ave the sql tables of the site
Invalid SQL:
SELECT * FROM [WarZ].[dbo].[webSlider] ORDER BY [id] ASC
Fehler Meldung:
[Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid object name 'WarZ.dbo.webSlider'.
How can i fix this problem?
Datenbank Error
Quote:
invalid SQL: SELECT * FROM [WarZ].[dbo].[webSlider] ORDER BY [id] ASC
Fehler Meldung: [Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid object name 'WarZ.dbo.webSlider'.
U'll need a table called webSlider^^.
so i just create new table under warz called webSlider?
okey i added webSlider table which is have [id] now need to add webNews with [id] and [post]
now i see white screen with these lines:
Quote:
Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file C:\inetpub\wwwroot/system/templates/compiled\wrt5486fbd103f376.06216999' in C:\inetpub\wwwroot\system\lib\class\smarty\sysplugins\smarty_internal_write_file.php:44 Stack trace: #0 C:\inetpub\wwwroot\system\lib\class\smarty\sysplugins\smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('C:\inetpub\wwwr...', '
Quote:
compileTemplateSource() #2 C:\inetpub\wwwroot\system\lib\class\smarty\sysplugins\smarty_internal_templatebase.php(374): Smarty_Internal_TemplateBase->fetch('C:\inetpub\wwwr...', NULL, NULL, NULL, true) #3 C:\inetpub\wwwroot\system\lib\class\template\template.class.php(79): Smarty_Internal_TemplateBase->display('C:\inetpub\wwwr...') #4 C:\inetpub\wwwroot\index.php(45): Template->displaySite('', 1418132432.8122) #5 {main} thrown in C:\inetpub\wwwroot\system\lib\class\smarty\sysplugins\smarty_internal_write_file.php on line 44
Folder system/templates/compiled must be writable.
i cant disable write protection, always turn on why?
now it's works! Thanks a Lot!
How to disable the protection?
i cant disable , but now it's works! i just have blue "cube" in the write protection
Closed until anybody can provide a reupload.
If you can PM me.