OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [EXPL] (MS04-031) NetDDE buffer overflow vulnerability PoC

From: Alberto Garcia Hierro (tcpdevillinuxlover.org)
Date: Fri Dec 31 2004 - 12:09:02 CST


El Viernes, 31 de Diciembre de 2004 00:39, houseofdabus HOD escribió:
> ---snip---
> /* HOD-ms04031-netdde-expl.c: 2004-12-30: PUBLIC v.0.2
> *
> * Copyright (c) 2004 houseofdabus.
> *
> * (MS04-031) NetDDE buffer overflow vulnerability PoC
 I needed to add a few lines to build it on Linux. Here is the diff:

-11,6 +11,9
 #include <sys/types.h>
 #include <netinet/in.h>
 #include <sys/socket.h>
+#include <netdb.h>
+#define Sleep(x) sleep(x)
+#define closesocket(x) close(x)
 #endif

Regards,
 Alberto

--
/* Alberto García Hierro (Skyhusker) */

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)

iD8DBQBB1ZXH4O6JklHkL2cRAk0LAJ0Ys0M2yRFOOEVi+2tocm+9Q1Wm6gCfaCA2
1Is1/yl/OVfTLi+8I8VDP5w=
=3epC
-----END PGP SIGNATURE-----