Metasploit mailing list archives

Windows Shellcode on Unix


From: hdm at metasploit.com (H D Moore)
Date: Wed, 16 Jul 2008 16:55:47 -0500

I bet this last step is your problem, theres no reason to use anything 
other than nasm:

$ nasm -f bin -o shellcode.bin shellcode.asm
$ xxd -i shellcode.bin

-HD

On Wednesday 16 July 2008, Ty Miller wrote:
nasm -f elf shellcode.asm
ld -o shellcode shellcode.o
 objdump -d shellcode
... then the objdump output gets formatted into shellcode.





Current thread: