Bugtraq mailing list archives

Re: Securax Advisory 11


From: Michal Zalewski <lcamtuf () DIONE IDS PL>
Date: Tue, 2 Jan 2001 20:36:59 +0100

On Tue, 2 Jan 2001, Michal Zalewski wrote:

Am I missing something?

I've tested it by hand, but - not to mention - your exploit couldn't work
at all (on little endians, at least ;), because it is broken:

   sin.sin_family = AF_INET;
-  sin.sin_port = 6000;
+  sin.sin_port = htons(6000);
   sin.sin_addr.s_addr = inet_addr(argv[1]);

Hmmm...

--
_______________________________________________________
Michal Zalewski [lcamtuf () tpi pl] [tp.internet/security]
[http://lcamtuf.na.export.pl] <=--=> bash$ :(){ :|:&};:
=--=> Did you know that clones never use mirrors? <=--=


Current thread: