blob: 1454ca84896fdbc5197c2a7b571c9e2c1bbcd25b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
This contains the assembly code I used to build the shellcode the PowerShell script uses. Some of the assembly isn't included beause I didn't save it, this should just be for the SUPER easy stuff like moving an address to EAX and returning.
Compile:
x64:
nasm -f elf64 FileName.asm
ld -o FileName FileName.o
objdump -M intel -d FileName
x86:
nasm FileName.asm
ld -o FileName FileName.o
objdump -M intel -d FileName
|