Urgent Help

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

    Urgent Help

    Jaat today created more thn 3000 nicks on ma site with auto nick maker nd also was spamming ...how to stop it nd other hacking attacks ? pls help urgent....he is still goin on with nick creation ...
    <span style="font-size:12pt;line-height:100%"><span style="color:#FF0000">ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt</span></span>

    #2
    include("block.php"); in the 2nd line of the index.php,login.php etc php pages that is the include function should be pasted after php start tag <?php

    block.php
    Code:
    <?php
    $brws = explode("(",$_SERVER[&#39;HTTP_USER_AGENT&#39;]);
    $ban="";// write broswer name like Nokia 6020
    if($brws[0]==$ban){
    header (&#39;Location: ban.php&#39;);}
    ?>
    ban.php
    Code:
    <?php
    header("Content-type: text/vnd.wap.wml; charset=ISO-8859-1");
    echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
    
    echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"
    \"http://www.wapforum.org/DTD/wml_1.1.xml\">\n";
    
    /
    
    echo "<wml>\n";
    echo "<head>";
    echo "<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>";
    echo "</head>";
    
    echo "<card newcontext=\"true\" title=\"Sorry!\">\n";
    echo "<p align=\"center\">\n";
    echo "[size="1"]\n";
    
    echo "Sorry:
    ---
    [b]*[/b]You cant enter here\n";
    echo "[/size]\n";
    echo "</p>";
    echo "</card>";
    echo "</wml>";
    ?>

    Comment


      #3
      Jaat today created more thn 3000 nicks on ma site with auto nick maker nd also was spamming ...how to stop it nd other hacking attacks ? pls help urgent....he is still goin on with nick creation ...[/b]
      i would like to ask you which script are you using? i can stop if you are using mobile chat or chatzone script etc let see put this code in your reg.php
      Code:
      $cou = mysql_fetch_array(mysql_query("SELECT `ip`,`soft` FROM `chat_users` order by id desc LIMIT 1"));
      if($cou[0]=="".getenv(REMOTE_ADDR).""&&$cou[1]=="".getenv(HTTP_USER_AGENT)."") { include "./a.php"; } else {
      it will stop auto now lol and just paste in your reg.php before $login=htmlspecialchars(stripslashes(trim($login)) ); no need add ip or browser enjoy
      left wap stuff

      Comment


        #4
        include("block.php"); in the 2nd line of the index.php,login.php etc php pages that is the include function should be pasted after php start tag <?php

        block.php
        Code:
        <?php
        $brws = explode("(",$_SERVER[&#39;HTTP_USER_AGENT&#39;]);
        $ban="";// write broswer name like Nokia 6020
        if($brws[0]==$ban){
        header (&#39;Location: ban.php&#39;);}
        ?>
        ban.php
        Code:
        <?php
        header("Content-type: text/vnd.wap.wml; charset=ISO-8859-1");
        echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
        
        echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"
        \"http://www.wapforum.org/DTD/wml_1.1.xml\">\n";
        
        /
        
        echo "<wml>\n";
        echo "<head>";
        echo "<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>";
        echo "</head>";
        
        echo "<card newcontext=\"true\" title=\"Sorry!\">\n";
        echo "<p align=\"center\">\n";
        echo "[size="1"]\n";
        
        echo "Sorry:
        ---
        [b]*[/b]You cant enter here\n";
        echo "[/size]\n";
        echo "</p>";
        echo "</card>";
        echo "</wml>";
        ?>
        [/b]

        Thnx rukiya ...i need something tht can make a gap between registration ....nd i use the code u provided already but i write ip+browser the one u gave is only fro browser ??
        <span style="font-size:12pt;line-height:100%"><span style="color:#FF0000">ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt</span></span>

        Comment


          #5
          i would like to ask you which script are you using? i can stop if you are using mobile chat or chatzone script etc let see put this code in your reg.php
          Code:
          $cou = mysql_fetch_array(mysql_query("SELECT `ip`,`soft` FROM `chat_users` order by id desc LIMIT 1"));
          if($cou[0]=="".getenv(REMOTE_ADDR).""&&$cou[1]=="100.200.300.400".getenv(HTTP_USER_AGENT)."Mozilla") { include "./a.php"; } else {
          where i write 100.20.300.400 rename that ip with spammer/folder ip and also user agent
          mozilla to Opera or phone etc hope it will work for you[/b]

          Gill bro m using chatzone script oNly nd wht is a.php in tht ?? ...
          <span style="font-size:12pt;line-height:100%"><span style="color:#FF0000">ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt</span></span>

          Comment


            #6
            Gill bro m using chatzone script oNly nd wht is a.php in tht ?? ...[/b]

            paste in reg.php it will stop auto if last user will try to make new nick you can check with your own browser/ ip let me know whats result
            Code:
            $cou = mysql_fetch_array(mysql_query("SELECT `ip`,`soft` FROM `chat_users` order by id desc LIMIT 1"));
            if($cou[0]=="".getenv(REMOTE_ADDR).""&&$cou[1]=="".getenv(HTTP_USER_AGENT)."") { include "./a.php"; } else {
            in a.php put this code
            Code:
            <?
            echo "<card title=\"IP Blocked\">";
            echo "<p align=\"center\">";
            echo "<big>Your IP Address is [b]Blocked[/b]
            ";
            echo "Be Nice Next Time...;-)
            [b]yourmail@site.com[/b]</big>";
            echo "</p></card></wml>";
            @mysql_close();
            ?>
            left wap stuff

            Comment


              #7
              Code:
              <?
              echo "<card title=\"IP Blocked\">";
              echo "<p align=\"center\">";
              echo "<big>Your IP Address is [b]Blocked[/b]
              ";
              echo "Be Nice Next Time...;-)
              [b]yourmail@site.com[/b]</big>";
              echo "</p></card></wml>";
              @mysql_close();
              ?>
              MAKE IT a.php UPLOAD IN SAME DIR[/b]
              But bro jaTT uses a lot of ip&#39;s nd proxies how many wud i put in there ? isnt there any oder way tht user ones registered with ip cnt register for some time ??
              <span style="font-size:12pt;line-height:100%"><span style="color:#FF0000">ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt</span></span>

              Comment


                #8
                paste in reg.php it will stop auto if last user will try to make new nick you can check with your own browser/ ip let me know whats result
                Code:
                $cou = mysql_fetch_array(mysql_query("SELECT `ip`,`soft` FROM `chat_users` order by id desc LIMIT 1"));
                if($cou[0]=="".getenv(REMOTE_ADDR).""&&$cou[1]=="".getenv(HTTP_USER_AGENT)."") { include "./a.php"; } else {
                in a.php put this code
                Code:
                <?
                echo "<card title=\"IP Blocked\">";
                echo "<p align=\"center\">";
                echo "<big>Your IP Address is [b]Blocked[/b]
                ";
                echo "Be Nice Next Time...;-)
                [b]yourmail@site.com[/b]</big>";
                echo "</p></card></wml>";
                @mysql_close();
                ?>
                [/b]
                OOps ok got u wud use this code ....
                <span style="font-size:12pt;line-height:100%"><span style="color:#FF0000">ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt</span></span>

                Comment


                  #9
                  simplest way to stop this is to add captcha system

                  Comment


                    #10
                    simplest way to stop this is to add captcha system[/b]

                    nah thats just one more field to fill out. log browser and ip, n write a piece of code to stop browsers and ips saved from registering more than once say per day or week

                    Comment


                      #11
                      nah thats just one more field to fill out. log browser and ip, n write a piece of code to stop browsers and ips saved from registering more than once say per day or week[/b]
                      so what if a user has to fill out one more field, thats what captcha systems are made for to stop bots from registering and what not

                      Comment


                        #12
                        so what if a user has to fill out one more field, thats what captcha systems are made for to stop bots from registering and what not[/b]
                        it stops registering bots not human

                        Comment


                          #13
                          nah thats just one more field to fill out. log browser and ip, n write a piece of code to stop browsers and ips saved from registering more than once say per day or week[/b]
                          can u give example of code how wud i make it like u say ?? ...like this code given by gill bro wud stop same ip +browser registering twice ...how to add time limit ??

                          Code:
                          $cou = mysql_fetch_array(mysql_query("SELECT `ip`,`soft` FROM `chat_users` order by id desc LIMIT 1"));
                          if($cou[0]=="".getenv(REMOTE_ADDR).""&&$cou[1]=="".getenv(HTTP_USER_AGENT)."") { include "./a.php"; } else {
                          amylee i dont have any idea abt captcha system are u talking abt validation system by entering a code ?? nd in ma case the Jatt used a software to make nicks so its like bot only ....Thnx to all for ua comments ....
                          <span style="font-size:12pt;line-height:100%"><span style="color:#FF0000">ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt</span></span>

                          Comment


                            #14
                            it also stops ppl using a "auto nick maker" as an app cant decipher randomly generated images
                            i have had ppl using these sort of apps exploiting my register page and a captcha image like what you see on my site now along with user validation has stopped this crap from happening full stop

                            Comment


                              #15
                              it also stops ppl using a "auto nick maker" as an app cant decipher randomly generated images
                              i have had ppl using these sort of apps exploiting my register page and a captcha image like what you see on my site now along with user validation has stopped this crap from happening full stop[/b]
                              Ok hun i wud try for it ...
                              <span style="font-size:12pt;line-height:100%"><span style="color:#FF0000">ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt</span></span>

                              Comment

                              Working...
                              X