CS计算机代考程序代写 python all: admin vuln shellcode payload.in

all: admin vuln shellcode payload.in

admin: admin.c
$(CC) $^ -o $@

vuln: vuln.c
$(CC) -std=c89 -Wno-deprecated-declarations -m64 -fno-stack-protector -Wl,-z,execstack $^ -o $@

shellcode: shellcode.S
nasm $^ -o $@

payload.in: mkpayload.py shellcode
python mkpayload.py > $@

clean:
rm -f vuln shellcode payload.in