delorie.com/archives/browse.cgi | search |
Message-ID: | <437BF7B6.8F28E500@dessent.net> |
Date: | Wed, 16 Nov 2005 19:23:34 -0800 |
From: | Brian Dessent <brian AT dessent DOT net> |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: buffer overflow on cygwin vs solaris. |
References: | <7D40F487BB77314D8392F8C910348F6054E4E0 AT ZMY16EXM65 DOT ds DOT mot DOT com> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Song Ken Vern-E11804 wrote: > for (i=0; i<=4028; i++) > buffer[i]='A'; Wow. That's some horrible code. Hasn't this person heard of memset()? > On Solaris, it does. > > How do I get the core dump equivalent on cygwin installation? That's because you're trying to exploit a bug in Solaris. Cygwin is not Solaris. It does not have this vulnerability. This is a good thing. Ideally Cygwin (and any other library for that matter) would have zero exploitable buffer overflows. And even if it did, you most certainly can't expect to use shellcode intended for Solaris under Cygwin. They aren't even remotely similar under the hood, so don't expect a single thing on that page to work. You'll need to use win32 shellcode techniques. If you want to play around with buffer overflows, I suggest that you create your own buffer and overflow it. And find a better guide. There are plenty of win32-oriented guides to overflowing buffers and executing your code. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |