# Shellcode Note 2021
###### tags: `pentest log`
## A. Automatic exploit to vulnerable program
I still not configure out how to exploit this programiing.

## B. Exploit to the small vulnerable program and stack smashing protection
two program which is stack-protect and non-stack-protect

## C. Return to libc exploits
print the system and exit memory address to find shell memory address.

Somehow I cannot find "/bin/sh" in the memory, fail to exploit.

## D. Trying to install pwntools
install pwntools: pwndbg

install pwn and write python with it:
bfnew_m <--compile with stack protector

bfnew_m2 <--compile with no stack protector

## E. the simple CTF
obsevre the stack and calculate the shellcode length



write a pyhton code to pwn it.
