PDA

View Full Version : TBDEV.net spoof banning tactics



czullo
30.01.08, 17:21
another interesting text:


/ Ban/whitelist clients by x0r @ tbdev.net
$useragent = substr($peer_id, 0, 3);
$agentversion = preg_replace("/[^0-9]/", "", substr($peer_id, 0, 7)) + 0;

// Whitelist these clients
if (!in_array($useragent, array("-AZ", "-UT", "-BR", "-DE", "-KT", "-lt", "-TR", "T03")))
err("Client is banned. Please read the FAQ for a list of allowed clients!");

// Whitelisted versions
if(($useragent == "-UT" && ($agentversion < 1760 && !in_array($agentversion, array(1610, 180)))) || ($useragent == "-AZ" && $agentversion < 2504) || ($useragent == "-KT" && $agentversion < 2240) || ($useragent == "-TR" && $agentversion < 960) || ($useragent == "-BR" && $agentversion < 332) || ($useragent == "-DE" && $agentversion < 570))
err("Your client version is too old! Please update to the newest version!");

Rebound
30.01.08, 17:43
This doesn´t bann spoofs, this banns different client versions or allow different client versions. Called Whitelist and Blacklist.

regards

Rebound

hitman
07.02.08, 20:38
lol, you ripped this off another board fool. //Were watching you.

deleted because your argumentation is very poor and it looks for me like spam

heisterkamp
07.02.08, 22:11
well it aint. this is stolen. from the place you steal the mod. :)
but whuteva, he could have searched for it himslef, ey? :D