is there any code to stop auto bot registration like someone is using my registration page from other site coded . like he is just typing the id in his page and its auto registering ids like 1 2 3 4 5 autometically so is there any code or .httacccess to stop this and the registration will only allowed from my site registration page ???
turn off registration from any other sites
Started on the old forum in October 2009 · view the original in the archive · old links redirect here
TL;DR · summary of 38 replies
- subzero suggested using a time limit for registration, with a message indicating the user needs to wait 30 seconds after registering.
- coder4u proposed adding captcha functionality in the registration process.
- GiLL provided a suggestion to use an IP ban file (ipban.php) and include it in the registration script.
- CreativityKills pointed out vulnerabilities in session handling that could be exploited by bots, such as not destroying the session after validation.
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
Maybe that's not in registration..He uses something i don't know, googlebot..In his user-agent..I tried using googlebot but can't enter a site..
My Blog: http://jhommark.blogspot.com My Facebook: http://www.facebook.com/jhommark My Official Site: http://www.undergroundweb.tk My Community Site: http://undergroundwap.xtreemhost.com
the capcha i am using is image capcha with 4 numbers but i think the are creating a lot of ids with just a single capcha how to possbile that from any other site like reffer site registration will not be allowed like i saw before if i come from any site it shows reffer site in some sites so is it possible to do that by this way
Random code in sign up reg time limt alot aways you can stop it
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... _______…
i tried a lot of times even i requested but nothing works for me i just wanted that it will take 30 seconds after register to enter the site and also the cookies thing cookie banning or put a cookie after registeration so that user will not able to register again but i am failed to do all those things that because why i requesting time by time for those things and i am facing huge problem of flooding spamming auto registration massive pproblem atleast 300 register per day
why dont you filter the reg page
if($ip == "$filer") { echo " NO GO AWAY!"; }else{ echo "YES U MAY SIGN UP"; }
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... _______…
gill wrote: i am sure they are using auto fill app and you shuld use email verification i know who are they ...here ashu owner of mansoon.net and coder4u let me get free time wil f@@ stupid they dont know what is result of "hacking" and they call themself Hacker just creating nicks or abusing in chat room it is their work ...why ? they want turn off other sites that users can buy sites from them and they are using lava script.
rider already complaint here about ashu about spamming..and regarding auto fill.there are some russian scripts.i had not seen how they work but they are for same purpose..
she is beautifull than php.and i love her more than php.
subzeero bro i can't do that because the problem if shared ip of mobile internet providers like same ip used by 100 users so if i filter 1 ip then the other user will not able to register so i need something like auto validation also mobile users basically dont have email address of their own so thats another pproblem with email varification so if i get a auto validatation or a cookie set then the flooder will not able to register a lot of ids in a single mins and i dont know how they are working and from which site but i am working on it and trying to find it out
bijaybd wrote: subzeero bro i can't do that because the problem if shared ip of mobile internet providers like same ip used by 100 users so if i filter 1 ip then the other user will not able to register so i need something like auto validation also mobile users basically dont have email address of their own so thats another pproblem with email varification so if i get a auto validatation or a cookie set then the flooder will not able to register a lot of ids in a single mins and i dont know how they are working and from which site but i am working on it and trying to find it out
whats the problem with random code at registration.does not that block flooding.
she is beautifull than php.and i love her more than php.
NO you can have it to delete with time.
You can place a message sayin
Hello sorrry, Some one else sign up with same ip as you. All you need is wait for 30 secs then Try Again Sorry for any confiests
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... _______…
try this in your reg.php if your using mobile chat script etc
$cou = mysql_fetch_array(mysql_query("SELECT `ip`,`soft` FROM `chat_users` order by id desc LIMIT 1"));
if($cou[0]=="".getenv(REMOTE_ADDR)."") { include "./ban.php"; }
make a ban.php
<?
echo '<card title="'.getenv(REMOTE_ADDR).'@ NO ACCESS banned!">';
echo "<p align=\"center\">";
echo"<b>banned by staff !</b><br/>";
echo"<b>Contact Site Owners admin@yoursite.com</b><br/>";
echo "<a href=\"index.php\">BACK</a><br/><b>© your site</b>";
echo "</p></card></wml>";
@mysql_close();
?>
or use this for ban ip range or seg make a php file called ipban.php and in reg.php put this on top after header codes
include "./ipban.php";
<?
$getip = $_SERVER["REMOTE_ADDR"];
$banned_ip = array();
// Here you change ips which you want ban
$banned_ip[] = '172.99.*';
$banned_ip[] = '200.145.131.216*';
$banned_ip[] = '193.*';
foreach($banned_ip as $banned)
{
$blacked=str_replace('*', '', $banned);
$len=strlen($blacked);
if ($ip==$blacked || substr($getip, 0, $len)==$blacked)
{
echo 'You are banned!';
exit;
}
}
?>
left wap stuff
captcha.php
<? session_start(); header('content-type: image/jpeg'); $text = rand(10000,99999); $_SESSION["vercode"] = $text; $height = 25; $width = 65; $image_p = imagecreate($width, $height); $black = imagecolorallocate($image_p, 0, 0, 0); $white = imagecolorallocate($image_p, 255, 255, 255); $font_size = 14; imagestring($image_p, $font_size, 5, 5, $text, $white); imagejpeg($image_p, null, 80); ?>coder4u wrote: captcha.php
<? session_start(); header('content-type: image/jpeg'); $text = rand(10000,99999); $_SESSION["vercode"] = $text; $height = 25; $width = 65; $image_p = imagecreate($width, $height); $black = imagecolorallocate($image_p, 0, 0, 0); $white = imagecolorallocate($image_p, 255, 255, 255); $font_size = 14; imagestring($image_p, $font_size, 5, 5, $text, $white); imagejpeg($image_p, null, 80); ?>
what you wana say it doesnt make sense what the h** your talking about mr poor hacker ? dont teach me ok ?and stop flooding here
left wap stuff
