Hi friends, I have a chat text wml, would block a hacker who enters with opera and anonymous, and I would block access. I know if there is a function or code to deny access to these browsers? thanks! 😉
Stop Opera And Anonymous
Started on the old forum in November 2008 · view the original in the archive · old links redirect here
kinda pointless but here it is 🙂
$browser = $_SERVER['HTTP_USER_AGENT'];
$opera = substr_count($browser,"opera");
$operabig = substr_count($browser,"Opera");
if(($opera>0)||($operabig>0)||($browser=="")){
echo "Site is Down Please Come back later
";
}else{
//////////do normal site stuff
}
<?php
if(strstr($_SERVER['HTTP_USER_AGENT'], "SonyEricssonK800i/R8BF Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1"))
{
die("Fuck Off!!!!
Your sister is your mother
Your father is your brother
They like to f*** each other.
The Sarah family…
");
}
$mobile = "blocked2.php";
$text = $_SERVER['HTTP_USER_AGENT'];
$var[1] = 'anonymouse.org';
$var[2] = 'J2ME';
$var[3] = 'Opera Mini246/';
$result = count($var);
for ($i=0;$i<$result;$i++)
{
$ausg = stristr($text, $var[$i]);
if(strlen($ausg)>0)
{
header("location: $mobile");
echo '
java/opera mini browser detected
';
break;
}
}
?>
Want something coded email me at sales@webnwaphost.com for a prices.
us the relevant parts above to block what ever you want
Want something coded email me at sales@webnwaphost.com for a prices.
QUOTE (crazybrumi @ Nov 22 2008, 07:23 PM) <{POST_SNAPBACK}>
$mobile = "blocked2.php"; $text = $_SERVER['HTTP_USER_AGENT']; $var[1] = 'anonymouse.org'; $var[2] = 'J2ME'; $var[3] = 'Opera Mini246/';
useless line would be
$var[3] = 'Opera Mini246/';
cos of previous line
$var[2] = 'J2ME';
cos opera mini = J2ME 😉
It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!
Whats the point in totally blocking opera mini anyway? there is probably 1000 users that have registered with opera mini on my site blocking 1000 users seems kind of stupid to me
you really want to get the real browser info and ban that because to many people are using proxys and opera mini and other simular browsers.
All the codes you need have been posted loads of times before 😛
friends... yesterday the hacker has succeeded in entering chat with work and an emulator win through pc, as you/he/she can be stopped?
your probably better off trying to fix the hacking problem. cos tomorrow the hacker will come back with a new browser and so on and so on
the code that you have given me, is to stop jail cell work excellent, but a piece of code cannot be added that stops pc work?
QUOTE (Leviathan73 @ Nov 25 2008, 06:44 PM) <{POST_SNAPBACK}>
the code that you have given me, is to stop jail cell work excellent, but a piece of code cannot be added that stops pc work?
you cant stop hacking by blocking browsers... so dont waste time with that...
It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!
then nothing cannot be added for the pc
$mobile = "blocked2.php";
$text = $_SERVER['HTTP_USER_AGENT'];
$var[1] = 'anonymouse.org';
$var[2] = 'J2ME';
$var[3] = 'Opera Mini246/';
he has entered with this: 83.225.147.208 Opera/9.60 (Windows NT 6.0; U; it) Presto/2.1.1::
QUOTE (Leviathan73 @ Nov 25 2008, 07:04 PM) <{POST_SNAPBACK}>
he has entered with this: 83.225.147.208 Opera/9.60 (Windows NT 6.0; U; it) Presto/2.1.1::
why you wasting time on browsers??? like said.. it doesnt matter with what browser any1 enters... but WHERE and HOW !
many users here can change user agent(browser name) at least 15 times per minute, so blocking browsers is REALLY POINTLESS 🤔
oh and btw.. opera is really innocent browser... if anything.. then mozilla should be banned.. but then you got a big problem, cos quite a few phone browsers are introduced as mozilla on web servers 🤔
It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!
QUOTE (Leviathan73 @ Nov 25 2008, 06:04 PM) <{POST_SNAPBACK}>
he has entered with this: 83.225.147.208 Opera/9.60 (Windows NT 6.0; U; it) Presto/2.1.1::
Code i posted at start of topic will block all opera versions but as metulj said its pointless
the answers simple .. stop looking for a quick fix .. there isn't one .. any "drop-in" code anyone here can provide you with will be useless to block anyone over the age of 10.
The only way to fix your problems is to secure your site, line by line, script by script. This may involve taking the site offline until the fixes have been implemented. But im guessing your not gonna bother doing that and just spend the next few weeks googling for non existent scripts and pleading with people to help you... if you don't .. then i dont mind going through the basics of php security with you
huh? banning everybody?
banning eveybody would be something like this: $text = $_SERVER['HTTP_USER_AGENT']; if(($text!="0")||($text<1)){ echo "Everybody is banned!"; }