Stop Opera And Anonymous

Started on the old forum in November 2008 · view the original in the archive · old links redirect here

29 replies · 1,290 views · started 18 years ago · 1 min read

7 participants
Leviathan73 Senior · 260 posts #1

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! 😉

something else Fellow · 2,296 posts #2

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
}
crazybrumi Super moderator Principal · 1,064 posts #3
<?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.

http://flagcounter.com/more/W80q

metulj Super moderator Principal · 1,726 posts #5

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ノ刀ノイリ!

something else Fellow · 2,296 posts #6

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 😛

marwin29 Junior · 35 posts #7

Hay mate just simple remove opera and anonym0us at block.Php or delete it hehehehehe

Leviathan73 Senior · 260 posts #9

friends... yesterday the hacker has succeeded in entering chat with work and an emulator win through pc, as you/he/she can be stopped?

something else Fellow · 2,296 posts #10

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

Leviathan73 Senior · 260 posts #11

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?

metulj Super moderator Principal · 1,726 posts #12

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ノ刀ノイリ!

Leviathan73 Senior · 260 posts #13

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/';
Leviathan73 Senior · 260 posts #14

he has entered with this: 83.225.147.208 Opera/9.60 (Windows NT 6.0; U; it) Presto/2.1.1::

metulj Super moderator Principal · 1,726 posts #15

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ノ刀ノイリ!

something else Fellow · 2,296 posts #16

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

Anshul Senior · 296 posts #17

QUOTE

Code i posted at start of topic will block all opera versions but as metulj said its pointless

and u cnt access mobile chat from firefox so u banning every1 :o

djlee Developer · 224 posts #18

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

Anshul Senior · 296 posts #19

QUOTE

The only way to fix your problems is to secure your site, line by line, script by script

very true 🙂

something else Fellow · 2,296 posts #20

huh? banning everybody?

banning eveybody would be something like this: $text = $_SERVER['HTTP_USER_AGENT']; if(($text!="0")||($text<1)){ echo "Everybody is banned!"; }

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close