Anti Hacker script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Anti Hacker script

    Here are sumthing i found havnt tested
    Attached Files
    ________________
    Jacques
    jacques@gw-designs.co.za
    http://coding.biz.tm
    Come join and lets make it a place to learn all the noobies how to code
    __________________

    NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

    #2
    interesting, crazy and even lazy .. thats what this script is
    Code:
    function anti_hacker($txt){
    $txt=str_replace("|","I",$txt); 
    $txt=str_replace("../",",,/",$txt);
    $txt=str_replace("||","I",$txt);
    $txt=htmlspecialchars($txt);                  
    $txt=str_replace("\"",""",$txt);
    $txt=str_replace("/\\\$/","$",$txt);
    $txt=str_replace("$","$",$txt);          
    $txt=str_replace("\\","\",$txt);
    $txt=str_replace("@","@",$txt);
    $txt=str_replace("`","",$txt);  
    $txt=str_replace("^","",$txt);
    $txt=str_replace("%","%",$txt);
    $txt=stripslashes(trim($txt));
    return $txt;}
    all it does is it replaces string, all lavalair edits do have this functionality already, infact this function is limited as it will only replace value of $txt variable, anything else $abcdefg will have no effect
    Probably this script might have been had a look at before creating lava
    tinyurl.com/earnbymobile
    Easy earning for Indians
    ---------------------
    Alternative mobile advertising network .. Minimum 100 USD pay / NET15 pay cycle, Good Brand, Best targeting for Android
    goo.gl/6vub3

    Comment


      #3
      Originally posted by riderz View Post
      Here are sumthing i found havnt tested
      nice share.. but it gives me Undefined variables..

      Comment


        #4
        lol what the. . .

        Comment


          #5
          yeah wtf?
          i like the: $txt=str_replace("%","%",$txt); lol

          maybee they made a spelling mistake and was ment to write:
          $txt=str_replace("a load of crap","a load of crap",$txt); lol

          Comment


            #6
            LOL

            This cant be so true what somthing else said !! lmao
            Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
            Visit: WapMasterz Coming Back Soon!
            _______
            SCRIPTS FOR SALE BY SUBZERO
            Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
            FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
            _______
            Info & Tips
            php.net
            w3schools.com

            Comment


              #7
              Hehe well i just found and share so i dnt test that i leave for coders
              ________________
              Jacques
              jacques@gw-designs.co.za
              http://coding.biz.tm
              Come join and lets make it a place to learn all the noobies how to code
              __________________

              NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

              Comment


                #8
                This is better way

                Code:
                // filter Words That will couse you problems also helps stop sql injectshon
                        $text = str_replace("&","&",$text);
                          $text = str_replace(")",")",$text);
                          $text = str_replace("(","(",$text);
                          $text = str_replace ("\'", """, $text);
                          $text = str_replace("`","`",$text);
                          $text = str_replace("~","~",$text);
                          $text = str_replace("£","£",$text);
                          $text = str_replace("¢","¢",$text);
                          $text = str_replace("€","€",$text);
                          $text = str_replace("{","{",$text);
                          $text = str_replace("}","}",$text);
                          $text = str_replace("$","$",$text);
                          $text = str_replace("%","%",$text);
                Last edited by subzero; 12.10.09, 15:59.
                Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
                Visit: WapMasterz Coming Back Soon!
                _______
                SCRIPTS FOR SALE BY SUBZERO
                Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
                FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
                _______
                Info & Tips
                php.net
                w3schools.com

                Comment


                  #9
                  in which file or page you put this code?

                  Comment


                    #10
                    dont understand

                    i dont understand this code, somebody thrugh more lite on it, where will they put it in the script
                    http://myfacepals.com
                    MYFACEPALS SOCIAL NETWORKsigpic

                    Comment


                      #11
                      it replaces the current strings

                      Comment


                        #12
                        Is it working ?

                        Comment


                          #13
                          for Lava put this in core.php
                          PHP Code:
                          function anti_hack($text)
                          {
                                
                          $text str_replace("&","&",$text);
                                    
                          $text str_replace(")",")",$text);
                                    
                          $text str_replace("(","(",$text);
                                    
                          $text str_replace ("\'""""$text);
                                    
                          $text str_replace("`","`",$text);
                                    
                          $text str_replace("~","~",$text);
                                    
                          $text str_replace("£","£",$text);
                                    
                          $text str_replace("¢","¢",$text);
                                    
                          $text str_replace("€","€",$text);
                                    
                          $text str_replace("{","{",$text);
                                    
                          $text str_replace("}","}",$text);
                                    
                          $text str_replace("$","$",$text);
                                    
                          $text str_replace("%","%",$text);

                          then example for shoutbox use it like
                          PHP Code:
                          $text anti_hack($text); 

                          PHP Code:
                          foreach ($_SERVER as $server => $value)
                          {
                          echo 
                          "$server is $value<br />";

                          Comment


                            #14
                            try it n0wn. .hahak

                            Comment


                              #15
                              thanks drwap. . .

                              Comment

                              Working...
                              X