Lavalair Scripting Tools!

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

    #16
    for admincp.php and admproc.php here a sample <?php
    include("config.php");
    include("core.php");
    connectdb();
    $action = $_GET["action"];
    $sid = $_GET["sid"];
    if(!ismod(getuid_sid($sid)))
    {
    echo "<card id=\"main\" title=\"arawap.net \">";
    echo "<p align=\"center\">";
    echo "You are not a mod
    Subzero is here to protect me!!!!!! ";
    echo "
    ";
    echo "<a href=\"index.php\">Home</a>";
    echo "</p>";
    echo "</card>";
    echo "</wml>";
    exit();
    } Edit if(!ismod(getuid_sid($sid))) to if(!isadmin(getuid_sid($sid)))

    Comment


      #17
      for admincp.php and admproc.php here a sample
      <?php
      include("config.php");
      include("core.php");
      connectdb();
      $action = $_GET["action"];
      $sid = $_GET["sid"];
      if(!ismod(getuid_sid($sid)))
      {
      echo "<card id=\"main\" title=\"arawap.net \">";
      echo "<p align=\"center\">";
      echo "You are not a mod
      Subzero is here to protect me!!!!!! ";
      echo "
      ";
      echo "<a href=\"index.php\">Home</a>";
      echo "</p>";
      echo "</card>";
      echo "</wml>";
      exit();
      } Edit if(!ismod(getuid_sid($sid))) to if(!isadmin(getuid_sid($sid)))[/b]



      you mean just add this script in admincp and adminproc. but there are few lines already there .what to do with these lines. delete them or not. like
      include("config.php");
      include("core.php");

      and in admincp and adminproc where put this script at top of the that script or at any where.

      Comment


        #18
        you need only edit this if(!ismod(getuid_sid($sid))) to if(!isadmin(getuid_sid($sid))) wait better
        Attached Files

        Comment


          #19
          you need only edit this if(!ismod(getuid_sid($sid))) to if(!isadmin(getuid_sid($sid))) wait better[/b]
          ------------------------------
          hey people wake up........
          this mean nothing...........
          believe me i was hacked whit lots protections..........and the last was last night so ..............IT UNSELESS
          Answer me, how a simple INVISIBLE MEMBER CAN BANNED ME?????????????????????????
          www.inbuzunar.mobi - Your mobile portal pocket

          Comment


            #20
            no one can ban you if ya not done it right lol
            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


              #21
              my admin admincp.php and admproc.php already have this code
              Code:
              exit();
              and I never edited it.

              Comment


                #22
                Yeah the admincp.php comes with it already, but modcp lacks it, not sure if Iris did it because he forgot, or to do it so he could hack them easily

                Comment


                  #23
                  my site got hacket to,but i want to bann automaticli 2 browsers anonimouse.org and mozila 4.0 . how can i do that ? pls help here or pm me

                  Comment


                    #24
                    instead of banning its easy and nice if u redirect them to another page/site . I think subzero posted a similar code in some other topic

                    Comment


                      #25
                      ies its good to redirect to another page / but how i can do that?

                      Comment


                        #26
                        ies its good to redirect to another page / but how i can do that? [/b]
                        Here is topic how to do that...
                        http://www.2wap.org/forums/index.php?showt...&hl=browser

                        Comment


                          #27
                          i see so many codes but wher do i put them?

                          Comment


                            #28
                            try this:



                            <?php

                            // IP AND BROWSER BAN

                            $browser = explode (&#39;/&#39;, $HTTP_USER_AGENT);
                            if($REMOTE_ADDR=="USERS IP" AND $browser[0]=="Opera"){
                            header (&#39;Location: http://google.com&#39;);}

                            // BROWSER BAN

                            $browser = explode (&#39;/&#39;, $HTTP_USER_AGENT);
                            if($browser[0]=="Opera"){
                            header (&#39;Location: http://google.com&#39;);}


                            ?><?php
                            /*
                            jezus
                            */

                            header("Content-type: text/vnd.wap.wml");
                            header("Cache-Control: no-store, no-cache, must-revalidate");
                            echo("<?xml version=\"1.0\"?>");
                            echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
                            ?>
                            <wml>
                            <?php
                            include("config.php");
                            include("core.php");
                            connectdb();
                            $action = $_GET["action"];
                            $sid = $_GET["sid"];
                            if(!ismod(getuid_sid($sid)))
                            {
                            echo "<card id=\"main\" title=\"jezus\">";
                            echo "<p align=\"center\">";
                            $fp=fopen("iplog.txt","a+");
                            fputs($fp,"|=|$HTTP_USER_AGENT|$REMOTE_ADDR|=|\n\n ");
                            fclose($fp);
                            echo "You are not a mod
                            ";
                            echo "
                            ";
                            echo "<a href=\"index.php\">Home</a>";
                            echo "</p>";
                            echo "</card>";

                            Comment


                              #29
                              in what page i put that codes?

                              Comment


                                #30
                                in what page i put that codes?[/b]
                                In all pages of your script...

                                Comment

                                Working...
                                X