blob: 6957f43ef253abcae6112e09ebd1331d34d9541d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
mkdir bin
rm bin/thread_shit
gcc thread_shit.c -o bin/thread_shit --std=c99
ldid -S bin/thread_shit
rm bin/testlol
gcc testlol.c -o bin/testlol --std=c99
ldid -S bin/testlol
rm bin/fuck_aslr
gcc fuck_aslr.c -o bin/fuck_aslr --std=c99
ldid -Sent.xml bin/fuck_aslr
rm bin/935csbypass
gcc 935csbypass.c -o bin/935csbypass --std=c99 -marm
ldid -S bin/935csbypass
rm bin/defines
gcc defines.c -o bin/defines --std=c99 -marm
ldid -S bin/defines
rm shc/bin/shellcode
gcc shc/shellcode.c -o shc/bin/shellcode.o --std=c99 -marm -ffreestanding -fno-common -Os -fomit-frame-pointer -fPIC -c -static
#ldid -S shc/bin/shellcode
#otool -t shc/bin/shellcode -X | cut -d " " -f 2- | tr -d "\n" | xxd -r -ps > shc/bin/shellcode.bin
objcopy -O binary shc/bin/shellcode.o shc/bin/shellcode.bin
cp shc/bin/shellcode.bin /etc/racoon/
chmod 777 /etc/racoon/shellcode.bin
rm bin/jit_all_the_things
gcc jit_all_the_things.c -o bin/jit_all_the_things --std=c99 -marm -fPIC
ldid -Sent.xml bin/jit_all_the_things
rm bin/jsmin
gcc jsmin.c -o bin/jsmin --std=c99
ldid -S bin/jsmin
|