Auto banned for attempting hack modcp/admincp

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

    Auto banned for attempting hack modcp/admincp

    Anyone can help me about this code for autobanned for attempting hacking modcp and admin cp.. Help.

    #2
    Is it really worth adding this code? as anyone who is attemting to get into your admincp this way will either be a muppet or they will know how to bypass isadmin($sid); function.
    your better off adding*
    addonline(getuid_sid($sid),"Naughty me im a wannabe hacker lol","");

    Comment


      #3
      heres my autoban for sql injection ..... sure u can adjust it to work for admincp


      $uid = getuid_sid($sid);
      $who = getnick_uid($uid);
      addonline(getuid_sid($sid),"If i register again please ban me straight away!","");
      $timeto = 9999*24*60*60;
      $ptime = $timeto + time();
      mysql_query("INSERT INTO ibwf_penalties SET uid='".$uid."', penalty='2', exid='1', timeto='".$ptime."', pnreas='Auto Ban (Wannabe Hacker) ', ipadd='".$uip."', browserm='".$ubr."'");
      mysql_query("UPDATE ibwf_users SET lastpnreas='Wannabe Hacker', shield='0' WHERE id='".$uid."'");
      mysql_query("INSERT INTO ibwf_mlog SET action='Sql Injection', details='<b>".$who."</b> Tried Injecting Sql', actdt='".time()."'");
      Last edited by something else; 31.05.09, 20:07. Reason: removal of unnessacery swaring

      Comment


        #4
        bro this code doesnt work

        WapCHAT Forum Currenltly changing over to xhtml

        My Dowloads Site

        Comment


          #5
          re

          my script has all those features









          Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer..
          Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free

          Comment


            #6
            Originally posted by something else View Post
            heres my autoban for sql injection ..... sure u can adjust it to work for admincp


            $uid = getuid_sid($sid);
            $who = getnick_uid($uid);
            addonline(getuid_sid($sid),"If i register again please ban me straight away!","");
            $timeto = 9999*24*60*60;
            $ptime = $timeto + time();
            mysql_query("INSERT INTO ibwf_penalties SET uid='".$uid."', penalty='2', exid='1', timeto='".$ptime."', pnreas='Auto Ban (Wannabe Hacker) ', ipadd='".$uip."', browserm='".$ubr."'");
            mysql_query("UPDATE ibwf_users SET lastpnreas='Wannabe Hacker', shield='0' WHERE id='".$uid."'");
            mysql_query("INSERT INTO ibwf_mlog SET action='Sql Injection', details='<b>".$who."</b> Tried Injecting Sql', actdt='".time()."'");
            huh? that code is pathetic lol......it would be a better shot...if you verify the user input.....and check for possible injection symbols......and if detect, you run your band code.....

            R.M.C
            ----------
            PHP Adovocate B)

            Comment


              #7
              Blimey Someone Can Code Lol

              Originally posted by mcKeny View Post
              huh? that code is pathetic lol......it would be a better shot...if you verify the user input.....and check for possible injection symbols......and if detect, you run your band code.....
              DUH!!!!!!!

              Thats just an auto-ban code which i was saying could be adjust for admincp/modcp auto ban

              __________________


              Sometime You Hit Your Head So Hard Against The Wall
              Didn`t Realize You Could See The Other Side lol
              Last edited by something else; 09.06.09, 08:23. Reason: The post above this one is so dumb that it makes sweetangel look like a genius

              Comment


                #8
                just use an updated version of a lavalair site

                Comment


                  #9
                  just use an updated version of a lavalair site?
                  where i can get the updated lavalir script site?

                  Comment


                    #10
                    search here in forum.updated means modded version of lavalair. lol why are people so lazy to read and search on their own..
                    LDSWAPWORLD sigpic
                    site closed.
                    im busy with other things in life like facebook , send me PM so i can add you
                    www.pinoySG.com

                    don't ask for help if you're not even helping yourself!
                    i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.


                    Comment


                      #11
                      register globals suck!

                      Comment

                      Working...
                      X