PDA

View Full Version : HOWTO: Crash apache using one PHP script.



Deathspike
23-09-2008, 20:31
Normally when you'd send PHP into an infinite loop, it somehow checks this and cancels the script execution due to it. However, by accident i just invoked the following function one after another, which did not get canceled and result in the destruction of apache ...


public static function __basePointer()
{
if ( self::$_isPtr == 0 )
{
$c = __CLASS__;
self::$_isPtr = new $c;
}

return self::$_isPtr;
}

Now, on the construct method call another class with that function.
Bye apache o.O

Keshire
23-09-2008, 20:33
How un-white hat of you... :P

ThEgg
23-09-2008, 20:36
Finally, I can sleep peacefully tonight.

Khage
23-09-2008, 21:00
whutsa apache?

Deli Pastrami
23-09-2008, 21:05
dude its an military grade attack helicopter. honestly :rolleyes:

MAS
23-09-2008, 21:46
I thought it was a native American :|

Kazi
23-09-2008, 21:48
Posting exploit methods! Ban ban banbanaban!

SpongerobertoSquarepantalones
23-09-2008, 21:57
Yea, except you crash your OWN Apache... some 1337 h4x script there...

Deathspike
23-09-2008, 22:26
Apache is a free webserver which most (if not all) PHP-hosting services run upon. And yes, of course i crash my own apache, what do you think - ill spend time targetting other man servers in an useless attempt? Nah, you have to see the possibilities - after all, hosting companies often only run one apache server..

SpongerobertoSquarepantalones
23-09-2008, 22:27
And yes, of course i crash my own apache, what do you think - ill spend time targetting other man servers in an useless attempt? There are some people....


Nah, you have to see the possibilities - after all, hosting companies often only run one apache server..The dark side of the internet is a pathway to many abilities some consider to be... hax...

Russian_Spy_Porque
24-09-2008, 03:11
This thread is confusing.

ThEgg
24-09-2008, 07:24
The possibilities: a quick and easy way to allow people who are running a website a chance to crash their apache and cause downtime. Am eye rite?

Azuvector
24-09-2008, 10:37
*sighs at Vortex* (http://httpd.apache.org/bug_report.html)

Deathspike
24-09-2008, 18:57
@ThEgg - Exactly, its definitly fun at shared hosting.
@Azuvector - Im not the type to post bug reports :p

Oliver1799
24-09-2008, 20:59
I haven't felt this out of the loop since 'insert generic family guy flashback'.

Warad Mohar
24-09-2008, 22:14
First the White Man had to ruin their lives in the real world, now we have to go and do it on the Internets.

Russian_Spy_Porque
25-09-2008, 07:00
The possibilities: a quick and easy way to allow people who are running a website a chance to crash their apache and cause downtime. Am eye rite?

so now the movie battle team has a website crashing division?

Well at least we don't have to worry about a mod trying to compete against us because the team can just crash their site :eek:

DarthNormaN
25-09-2008, 17:57
c'mon, report it