Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Exploit SQL Injection webzonegamerz Ranking

Tantra Freelancer
Joined
Apr 9, 2014
Messages
541
Reaction score
23
You can also use arrays like:

PHP:
$dios_options = array(
    0 => 'All',
    1 => 'Brahma',
    4 => 'Shiva',
    2 => 'Vishnu',
);
 
Newbie Spellweaver
Joined
Jul 17, 2013
Messages
90
Reaction score
18
That won't really fix it, you can use websites like



To send post and or get to any website.

If you want to fix it, at the top of the script just connect to a mysql database first and run the following php.
Code:
    foreach ($_GET as $key => $value) 
    { 
        $_GET[$key] = mysql_real_escape_string($value); 
    }
    foreach ($_POST as $key => $value)
    {
        $_POST[$key] = mysql_real_escape_string($value); 
    }

If that does not fix it by escaping all none acceptable characters, then post me the document in question.
 
Newbie Spellweaver
Joined
Nov 6, 2012
Messages
45
Reaction score
6
Code:
(PHP 4 >= 4.3.0, PHP 5)
mysql_real_escape_string — Escapes special characters in a string for use in an SQL statement
[CODE]
Warning
This extension is deprecated as of PHP 5.5.0, and will be removed in the future.
Instead, the MySQLi or PDO_MySQL extension should be used.
See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include:
[LIST]
[*]mysqli_real_escape_string()
[*]PDO::quote()
[/LIST]
[/CODE]

Code:
mysql_real_escape_string() calls MySQL's library function mysql_real_escape_string, which prepends backslashes to the following characters: \x00, \n, \r, \, ', " and \x1a.

dTantra all the websites that were released here work with MSSQL not MySQL. If you want to scape characters on MSSQL you must use two single quotes. But the problem here is not exploiting a string variable, instead what is being exploited is an int variable so escaping characters doesn't help to much if the injection method is using HEX as the video above.
 
Initiate Mage
Joined
Sep 15, 2014
Messages
1
Reaction score
0
did they ( owner of the said server ) fixed this already?
 
Newbie Spellweaver
Joined
Nov 6, 2012
Messages
45
Reaction score
6
@dTantra sorry if i got you mad, that was not my intention. Providing a script to avoid sql injection is not going to help here. Why?. Coz' most of people here don't know how to implement it. Webzonegamerz has a class sql_inject.php that if we get a bit of time to read it we could implement it flawlessly and avoid this kind of problem.

To put a bit of fun to the post the call to this class is commented on the header.php

PHP:
<?php
//ob_start(); 
require_once('anti_dos.php');
//require_once('sql_inject.php');
require_once('antishell.class.php');
require_once('Block.php');
require_once('floodshell.php');
//require_once('proxx.class.php');
?>
 
Newbie Spellweaver
Joined
Jul 17, 2013
Messages
90
Reaction score
18
@dTantra sorry if i got you mad, that was not my intention. Providing a script to avoid sql injection is not going to help here. Why?. Coz' most of people here don't know how to implement it. Webzonegamerz has a class sql_inject.php that if we get a bit of time to read it we could implement it flawlessly and avoid this kind of problem.

To put a bit of fun to the post the call to this class is commented on the header.php

PHP:
<?php
//ob_start(); 
require_once('anti_dos.php');
//require_once('sql_inject.php');
require_once('antishell.class.php');
require_once('Block.php');
require_once('floodshell.php');
//require_once('proxx.class.php');
?>

Why on earth would you think I was mad? I have never looked at or used the script in question, I understand tantra uses mssql, but I figured most websites run off of mysql, that is why I provided an attempted fix that would work off of that mysql. Since it did not solve the problem in question, I was simply asking for someone to post the php file with the problem and I would provide them a proper fix.
 
Junior Spellweaver
Joined
Sep 14, 2010
Messages
185
Reaction score
83
Fix problem sql inject only using this tantra BDS

<<< BDS FIX ORIGINAL
<<< BDS FIX WEB ZONEGAMERZ
<<< Using web admin fix news.

regards.
 
Experienced Elementalist
Joined
Dec 17, 2013
Messages
235
Reaction score
31
My opinion is to Design your own website. it is less harmful since you are the designer. If you get it on other website, most likely you will encounter sql injections. - just an opinion though.
 
Skilled Illusionist
Joined
Mar 31, 2011
Messages
382
Reaction score
48
My opinion is to Design your own website. it is less harmful since you are the designer. If you get it on other website, most likely you will encounter sql injections. - just an opinion though.

The unique method to prevent injection SQL is learn php. Or depending of the language code of the web.
 
Experienced Elementalist
Joined
Dec 17, 2013
Messages
235
Reaction score
31
learn php-mysql and php-mssql and understand that characters in ACII does give your server the opening for sql attacks.
 
Newbie Spellweaver
Joined
Sep 20, 2009
Messages
27
Reaction score
0
can anyone here can teach me how to put taney to my account via sql injection? ill use this method for my friend's offline server because he said he will not give me taney. someone help me please.. this is my email. strong_romz@yahoo.com
 
Back
Top