Script Verification Code

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

    Script Verification Code

    Who Have Script Verification Code for wapsite...?
    Please Share with me...

    Example: [attachment=1788:image.jpeg]
    Attached Files

    #2
    add at core.php
    Code:
    function registerform($ef)
    {
      $ue = $errl = $pe = $ce = "";
      switch($ef)
      {
        case 1:
            $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Please type your UserID";
            $ue = "<img src=\"images/point.gif\" alt=\"!\"/>";
            break;
        case 2:
            $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Please type your password";
            $pe = "<img src=\"images/point.gif\" alt=\"!\"/>";
            break;
        case 3:
            $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Please type your password again";
            $ce = "<img src=\"images/point.gif\" alt=\"!\"/>";
            break;
        case 4:
            $errl = "<img src=\"images/point.gif\" alt=\"!\"/> UserID is invalid";
            $ue = "<img src=\"images/point.gif\" alt=\"!\"/>";
            break;
        case 5:
            $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Password is invalid";
            $pe = "<img src=\"images/point.gif\" alt=\"!\"/>";
            break;
        case 6:
            $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Passwords doesn&#39;t match";
            $ce = "<img src=\"images/point.gif\" alt=\"!\"/>";
            break;
        case 7:
            $errl = "<img src=\"images/point.gif\" alt=\"!\"/> UserID must be 4 characters or more";
            $ue = "<img src=\"images/point.gif\" alt=\"!\"/>";
            break;
        case 8:
            $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Password must be 4 characters or more";
            $pe = "<img src=\"images/point.gif\" alt=\"!\"/>";
            break;
        case 9:
            $errl = "<img src=\"images/point.gif\" alt=\"!\"/> UserID already in use, choose a different one";
            $ue = "<img src=\"images/point.gif\" alt=\"!\"/>";
            break;
        case 10:
            $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Unknown mysql error try registering later";
    
            break;
        case 11:
            $errl = "<img src=\"images/point.gif\" alt=\"!\"/> UserID must start with a letter from a-z";
            $ue = "<img src=\"images/point.gif\" alt=\"!\"/>";
            break;
        case 12:
            $errl = "<img src=\"images/point.gif\" alt=\"!\"/> UserID is reserved for admins of the site";
            $ue = "<img src=\"images/point.gif\" alt=\"!\"/>";
            break;
        case 13:
            $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Please choose an appropriate nickname";
            $ue = "<img src=\"images/point.gif\" alt=\"!\"/>";
            break;
        case 14:
            $errl = "<img src=\"../images/point.gif\" alt=\"!\"/> Security code is incorrect";
            $ue = "<img src=\"../images/point.gif\" alt=\"!\"/>";
            break;
    
      }
      $rform = "[size="1"]$errl[/size]
    
    ";
      $rform .= "$ue UserID: <input name=\"tfuid\" maxlength=\"15\"/>
    ";
      $rform .= "$pe Password: <input type=\"password\" name=\"tfpwd\" format=\"*x\" maxlength=\"30\"/>
    ";
      $rform .= "$ce Password: <input type=\"password\" name=\"tfcpw\" format=\"*x\" maxlength=\"30\"/>
    ";
      $rform .= "Birthday: <input name=\"tfbdy\" format=\"*x\" maxlength=\"30\"/>
    ";
      $rform .= "Sex:";
      $rform .= "<select name=\"opsex\" value=\"M\">";
      $rform .= "<option value=\"M\">Male</option>";
      $rform .= "<option value=\"F\">Female</option>";
      $rform .= "</select>
    ";
      $rform .= "Location: <input name=\"tfloc\"  maxlength=\"100\"/>
    ";
      $rform .= "<img src=\"images/captcha.php\"/>
    ";
      $rform .= "enter security code: <input type=\"text\" name=\"captcha_code\" maxlength=\"5\"/>
    ";
      $rform .= "<anchor>Register";
      $rform .= "<go href=\"register.php\" method=\"post\">";
      $rform .= "<postfield name=\"uid\" value=\"$(tfuid)\"/>";
      $rform .= "<postfield name=\"pwd\" value=\"$(tfpwd)\"/>";
      $rform .= "<postfield name=\"cpw\" value=\"$(tfcpw)\"/>";
      $rform .= "<postfield name=\"bdy\" value=\"$(tfbdy)\"/>";
      $rform .= "<postfield name=\"usx\" value=\"$(opsex)\"/>";
      $rform .= "<postfield name=\"ulc\" value=\"$(tfloc)\"/>";
      $rform .= "<postfield name=\"captcha_code\" value=\"$(captcha_code)\"/>";
      $rform .= "</go></anchor>";
      return $rform;
    }
    add this function at the very beginning of register.php I mean after <?php
    Code:
    session_start();
    use this new modified usage of function registerform in register.php
    Code:
    if(trim($uid)=="")
    {
        echo registerform(1);
    }else if(trim($pwd)=="")
    {
        echo registerform(2);
    }else if(trim($cpw)=="")
    {
        echo registerform(3);
    }else if(spacesin($uid)||scharin($uid))
    {
        echo registerform(4);
    }else if(spacesin($pwd)||scharin($pwd))
    {
        echo registerform(5);
    }else if($pwd!=$cpw)
    {
        echo registerform(6);
    }else if(strlen($uid)<4)
    {
        echo registerform(7);
    }else if(strlen($pwd)<4)
    {
        echo registerform(8);
    }else if(isdigitf($uid))
    {
        echo registerform(11);
    }else if(checknick($uid)==1)
    {
        echo registerform(12);
    
    }else if(checknick($uid)==2)
    {
        echo registerform(13);
    
    }
    else if(md5($_POST["captcha_code"])!= $_SESSION["captcha_code"])
    {
        echo registerform(14);
    
    }
    else if(register($uid,$pwd,$usx,$bdy,$ulc, $ubr)==1)
    {
        echo registerform(9);
    }else if(register($uid,$pwd,$usx,$bdy,$ulc, $ubr)==2)
    {
        echo registerform(10);
    }else{
    mkdir($uid."/", 0700);
    $brws = explode(" ",$SERVER[&#39;HTTP_USER_AGENT&#39;]);
        $ubr = $brws[0];
    $f = "$uid/index.php";
        $fp = fopen($f, "w");
        fwrite ($fp, "<php? echo $uid 
    $bdy 
    $usx 
    $ulc 
    $ubr; ?>");
        fclose($fp); 
      echo "Registration completed successfully!
    ";
      $tolog = true;
    and upload this at images root
    if like my post click:

    http://coding-talk.com/images/totall...ost_thanks.gif

    Comment


      #3
      where the image ?
      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


        #4
        chears i edited it about to run with my forum.
        Attached Files
        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


          #5
          Whats the point of it? capcha or whatever its called, its pointless, means people have to enter more stuff to just sign up and it don&#39;t stop spam bots as most of them can now read it.

          Comment


            #6
            <div class='quotetop'>QUOTE (WhiteWarrior @ Oct 10 2008, 06:30 PM) <{POST_SNAPBACK}></div>
            Whats the point of it? capcha or whatever its called, its pointless, means people have to enter more stuff to just sign up and it don&#39;t stop spam bots as most of them can now read it.[/b]
            Because without it in place it is very very simple to make a spam-bot script that will register on a list of given url&#39;s using the same script and make a spam post in a set forum id ie 1.....

            Similar to the spam posts made here recently, that was due to the forum spammer script being updared to read the ip.board captcha, hence the release of 2.3.6 with the re-captcha.

            It would still be possible to make a lava-spam script with the captcha in place but a lot lot lot harder.

            Comment


              #7
              <div class='quotetop'>QUOTE (chris @ Oct 10 2008, 10:55 PM) <{POST_SNAPBACK}></div>
              It would still be possible to make a lava-spam script with the captcha in place but a lot lot lot harder.[/b]
              i did it here
              http://wapfuns.com/waps

              and thats a part of my code

              <div class='quotetop'>QUOTE (sweetangel @ Oct 10 2008, 10:58 AM) <{POST_SNAPBACK}></div>
              add at core.php
              Code:
              function registerform($ef)
              {
                $ue = $errl = $pe = $ce = "";
                switch($ef)
                {
                  case 1:
                      $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Please type your UserID";
                      $ue = "<img src=\"images/point.gif\" alt=\"!\"/>";
                      break;
                  case 2:
                      $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Please type your password";
                      $pe = "<img src=\"images/point.gif\" alt=\"!\"/>";
                      break;
                  case 3:
                      $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Please type your password again";
                      $ce = "<img src=\"images/point.gif\" alt=\"!\"/>";
                      break;
                  case 4:
                      $errl = "<img src=\"images/point.gif\" alt=\"!\"/> UserID is invalid";
                      $ue = "<img src=\"images/point.gif\" alt=\"!\"/>";
                      break;
                  case 5:
                      $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Password is invalid";
                      $pe = "<img src=\"images/point.gif\" alt=\"!\"/>";
                      break;
                  case 6:
                      $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Passwords doesn&#39;t match";
                      $ce = "<img src=\"images/point.gif\" alt=\"!\"/>";
                      break;
                  case 7:
                      $errl = "<img src=\"images/point.gif\" alt=\"!\"/> UserID must be 4 characters or more";
                      $ue = "<img src=\"images/point.gif\" alt=\"!\"/>";
                      break;
                  case 8:
                      $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Password must be 4 characters or more";
                      $pe = "<img src=\"images/point.gif\" alt=\"!\"/>";
                      break;
                  case 9:
                      $errl = "<img src=\"images/point.gif\" alt=\"!\"/> UserID already in use, choose a different one";
                      $ue = "<img src=\"images/point.gif\" alt=\"!\"/>";
                      break;
                  case 10:
                      $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Unknown mysql error try registering later";
              
                      break;
                  case 11:
                      $errl = "<img src=\"images/point.gif\" alt=\"!\"/> UserID must start with a letter from a-z";
                      $ue = "<img src=\"images/point.gif\" alt=\"!\"/>";
                      break;
                  case 12:
                      $errl = "<img src=\"images/point.gif\" alt=\"!\"/> UserID is reserved for admins of the site";
                      $ue = "<img src=\"images/point.gif\" alt=\"!\"/>";
                      break;
                  case 13:
                      $errl = "<img src=\"images/point.gif\" alt=\"!\"/> Please choose an appropriate nickname";
                      $ue = "<img src=\"images/point.gif\" alt=\"!\"/>";
                      break;
                  case 14:
                      $errl = "<img src=\"../images/point.gif\" alt=\"!\"/> Security code is incorrect";
                      $ue = "<img src=\"../images/point.gif\" alt=\"!\"/>";
                      break;
              
                }
                $rform = "[size="1"]$errl[/size]
              
              ";
                $rform .= "$ue UserID: <input name=\"tfuid\" maxlength=\"15\"/>
              ";
                $rform .= "$pe Password: <input type=\"password\" name=\"tfpwd\" format=\"*x\" maxlength=\"30\"/>
              ";
                $rform .= "$ce Password: <input type=\"password\" name=\"tfcpw\" format=\"*x\" maxlength=\"30\"/>
              ";
                $rform .= "Birthday: <input name=\"tfbdy\" format=\"*x\" maxlength=\"30\"/>
              ";
                $rform .= "Sex:";
                $rform .= "<select name=\"opsex\" value=\"M\">";
                $rform .= "<option value=\"M\">Male</option>";
                $rform .= "<option value=\"F\">Female</option>";
                $rform .= "</select>
              ";
                $rform .= "Location: <input name=\"tfloc\"  maxlength=\"100\"/>
              ";
                $rform .= "<img src=\"images/captcha.php\"/>
              ";
                $rform .= "enter security code: <input type=\"text\" name=\"captcha_code\" maxlength=\"5\"/>
              ";
                $rform .= "<anchor>Register";
                $rform .= "<go href=\"register.php\" method=\"post\">";
                $rform .= "<postfield name=\"uid\" value=\"$(tfuid)\"/>";
                $rform .= "<postfield name=\"pwd\" value=\"$(tfpwd)\"/>";
                $rform .= "<postfield name=\"cpw\" value=\"$(tfcpw)\"/>";
                $rform .= "<postfield name=\"bdy\" value=\"$(tfbdy)\"/>";
                $rform .= "<postfield name=\"usx\" value=\"$(opsex)\"/>";
                $rform .= "<postfield name=\"ulc\" value=\"$(tfloc)\"/>";
                $rform .= "<postfield name=\"captcha_code\" value=\"$(captcha_code)\"/>";
                $rform .= "</go></anchor>";
                return $rform;
              }
              add this function at the very beginning of register.php I mean after <?php
              Code:
              session_start();
              use this new modified usage of function registerform in register.php
              Code:
              if(trim($uid)=="")
              {
                  echo registerform(1);
              }else if(trim($pwd)=="")
              {
                  echo registerform(2);
              }else if(trim($cpw)=="")
              {
                  echo registerform(3);
              }else if(spacesin($uid)||scharin($uid))
              {
                  echo registerform(4);
              }else if(spacesin($pwd)||scharin($pwd))
              {
                  echo registerform(5);
              }else if($pwd!=$cpw)
              {
                  echo registerform(6);
              }else if(strlen($uid)<4)
              {
                  echo registerform(7);
              }else if(strlen($pwd)<4)
              {
                  echo registerform(8);
              }else if(isdigitf($uid))
              {
                  echo registerform(11);
              }else if(checknick($uid)==1)
              {
                  echo registerform(12);
              
              }else if(checknick($uid)==2)
              {
                  echo registerform(13);
              
              }
              else if(md5($_POST["captcha_code"])!= $_SESSION["captcha_code"])
              {
                  echo registerform(14);
              
              }
              else if(register($uid,$pwd,$usx,$bdy,$ulc, $ubr)==1)
              {
                  echo registerform(9);
              }else if(register($uid,$pwd,$usx,$bdy,$ulc, $ubr)==2)
              {
                  echo registerform(10);
              }else{
              mkdir($uid."/", 0700);
              $brws = explode(" ",$SERVER[&#39;HTTP_USER_AGENT&#39;]);
                  $ubr = $brws[0];
              $f = "$uid/index.php";
                  $fp = fopen($f, "w");
                  fwrite ($fp, "<php? echo $uid 
              $bdy 
              $usx 
              $ulc 
              $ubr; ?>");
                  fclose($fp); 
                echo "Registration completed successfully!
              ";
                $tolog = true;
              and upload this at images root[/b]

              Comment


                #8
                But my point is, that 7 things you have to enter just to register... why make it so long?.. yeah some people like it but it really annoys me, i goto a site click register and there are pages and pages of details i have to enter just to have a username... its like filling out a job application form lol and yeah spamming is a serious problem now days but what the hell with it? so what, let people spam and spam they soon get bored of it and the people they spam always come back lol

                Comment


                  #9
                  who actually bothers to look at profiles? except cyber-****s only thing im usually intrested in is the ip/hostname/country location of a user the rest is just useless crap to me
                  thats it and thats why i keep my registration to a simple username/password/email(if sendmail is working)/then captcha and finally referrer

                  Comment


                    #10
                    im agree with amylee
                    Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

                    <span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

                    Comment


                      #11
                      Not work
                      I dont know, maybe this captcha.zip posted here not work whith code made
                      Always show: Security code is incorrect
                      sweetangel, can share captcha.php used you? ;)

                      Comment


                        #12
                        <div class='quotetop'>QUOTE (WhiteWarrior @ Oct 11 2008, 02:14 AM) <{POST_SNAPBACK}></div>
                        But my point is, that 7 things you have to enter just to register... why make it so long?.. yeah some people like it but it really annoys me, i goto a site click register and there are pages and pages of details i have to enter just to have a username... its like filling out a job application form lol and yeah spamming is a serious problem now days but what the hell with it? so what, let people spam and spam they soon get bored of it and the people they spam always come back lol[/b]
                        As i said its for protection not cos people like it.. Remove some of the other fields or whatever you want. The reason behind it is to stop people running auto registration spam scripts (they would not need to even visit your site to do this)...

                        Comment


                          #13
                          <div class='quotetop'>QUOTE (chris @ Oct 11 2008, 02:22 PM) <{POST_SNAPBACK}></div>
                          As i said its for protection not cos people like it.. Remove some of the other fields or whatever you want. The reason behind it is to stop people running auto registration spam scripts (they would not need to even visit your site to do this)...[/b]
                          i understand and i know they don&#39;t need to visit the site there going to attack but my point is why bother with it?.. everyone hates spammers but they will go away in the end and if you worry too much about spammers etc.. then you wont beable to have a good site as all your intrests would go into spamming blockers etc.. i ain&#39;t digging you i&#39;m just trying to get my point across.. take big sites like mocospace they don&#39;t careless about spammers, the members always go back to them... anyway, its 100% your choice what you do and when you do it but always remember nothing ever will stop spammers, nothing ever will to auto register scripts... they will just continue to get better and better... thats idiots for you... they will never die, they will just come back with something stronger... they are like police... a bunch of ****s with nothing to do.

                          Comment


                            #14
                            <div class='quotetop'>QUOTE (WhiteWarrior @ Oct 11 2008, 09:44 PM) <{POST_SNAPBACK}></div>
                            i understand and i know they don&#39;t need to visit the site there going to attack but my point is why bother with it?.. everyone hates spammers but they will go away in the end and if you worry too much about spammers etc.. then you wont beable to have a good site as all your intrests would go into spamming blockers etc.. i ain&#39;t digging you i&#39;m just trying to get my point across.. take big sites like mocospace they don&#39;t careless about spammers, the members always go back to them... anyway, its 100% your choice what you do and when you do it but always remember nothing ever will stop spammers, nothing ever will to auto register scripts... they will just continue to get better and better... thats idiots for you... they will never die, they will just come back with something stronger... they are like police... a bunch of ****s with nothing to do. [/b]
                            try to spam here http://www.hornymatches.com . You shall fail.

                            Comment


                              #15
                              someone can do it somehow...

                              Comment

                              Working...
                              X