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!

Php Effective Anti Injection Script -> No symbol block

Experienced Elementalist
Joined
Jul 3, 2007
Messages
200
Reaction score
3
Re: [Release] Php Effective Anti Injection Script -> No symbol block

hmm, okai, i l see if this works on the ultrahackable muweb 0.8 ;D
 
Newbie Spellweaver
Joined
Oct 30, 2006
Messages
82
Reaction score
0
Re: [Release] Php Effective Anti Injection Script -> No symbol block

lolz gj 10/10
;]
 
Mythic Archon
Loyal Member
Joined
Oct 31, 2007
Messages
762
Reaction score
14
Re: [Release] Php Effective Anti Injection Script -> No symbol block

I will allow this bump cus its useful.

If you do it again Kirka you'll be infracted.
 
Experienced Elementalist
Joined
Jul 3, 2007
Messages
200
Reaction score
3
Re: [Release] Php Effective Anti Injection Script -> No symbol block

um.. why exactly? because i replied to a 1year old topic? whats wrong with that?
 
Divine Celestial
Loyal Member
Joined
Aug 24, 2007
Messages
890
Reaction score
5
Re: [Release] Php Effective Anti Injection Script -> No symbol block

thanks for the release !!!
 
Newbie Spellweaver
Joined
Jul 6, 2008
Messages
12
Reaction score
0
Re: [Release] Php Effective Anti Injection Script -> No symbol block

don't use this script.. you will be hacked !
 
Junior Spellweaver
Loyal Member
Joined
Dec 27, 2004
Messages
108
Reaction score
16
Re: [Release] Php Effective Anti Injection Script -> No symbol block

don't use this script.. you will be hacked !
Care to bring some arguments to the table?
 
Newbie Spellweaver
Joined
Oct 17, 2008
Messages
38
Reaction score
0
Re: [Release] Php Effective Anti Injection Script -> No symbol block

i added this script to my config.php , is ir right? :drool:
 
4ever Alone = my religion
Joined
Jul 2, 2006
Messages
387
Reaction score
125
Re: [Release] Php Effective Anti Injection Script -> No symbol block

Big thanks for the script! Works perfectly! But how do I add a return text or redirection to other page if someone has been trying to inject?
 
Junior Spellweaver
Joined
Feb 5, 2007
Messages
147
Reaction score
7
Re: [Release] Php Effective Anti Injection Script -> No symbol block

to add this to your web you need to add that scribt into EACH web file that connect with your DATABSE

if there is already a script tag just add it above it if not you need add a sript tag blablabla... like

<?
ADD SQL INJECTION SCRIPT HERE
?>

ok now some ppl may say just add it to index.php since it includes all other stuff (this helps only against total retards^^) but the point is ppl dont need to use index.php they can navigate in the website easy by using ip/characters.php blabla and so on so you need to add it to EACH and i like to repeat it EACH file with db connection to be sure that you are safe ^^
 
Junior Spellweaver
Loyal Member
Joined
Dec 27, 2004
Messages
108
Reaction score
16
Rephrased:
PHP:
function xw_sanitycheck($str){ return strpos(str_replace('\'\'','',' '.$str),'\'') ? str_replace('\'', '\'\'', $str) : $str; }

function secure($str){
    if (is_array($str))
        foreach($str AS $id => $value)
            $str["$id"] = secure($value);
    else
        $str = xw_sanitycheck($str);

    return $str;
}

function secure2(&$str){
    return secure($str);
}

secure2($_GET);
secure2($_POST);
secure2($_COOKIE);
 
Last edited:
Back
Top