diff --git a/documentation/modules/exploit/unix/ftp/proftpd_modcopy_exec.md b/documentation/modules/exploit/unix/ftp/proftpd_modcopy_exec.md index cd46a42344..fdb3e735ce 100644 --- a/documentation/modules/exploit/unix/ftp/proftpd_modcopy_exec.md +++ b/documentation/modules/exploit/unix/ftp/proftpd_modcopy_exec.md @@ -13,6 +13,7 @@ directory, PHP remote code execution is made possible. Download and build: ```sh +sudo apt install gcc make wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.5.tar.gz tar zxvf proftpd-1.3.5.tar.gz cd proftpd-1.3.5 @@ -20,10 +21,10 @@ cd proftpd-1.3.5 make ``` -Run ProFTPD in foreground with `-n` flag for testing: +Run ProFTPD using the sample default configuration file (in foreground with `-n` flag for testing): ``` -sudo ./proftpd -n +sudo ./proftpd -n -c "`pwd`/sample-configurations/basic.conf" ``` Set up a web server with a world-writable directory: