diff --git a/modules/exploits/unix/ftp/proftpd_modcopy_exec.rb b/modules/exploits/unix/ftp/proftpd_modcopy_exec.rb index 5fc7f62908..d1de793e32 100644 --- a/modules/exploits/unix/ftp/proftpd_modcopy_exec.rb +++ b/modules/exploits/unix/ftp/proftpd_modcopy_exec.rb @@ -57,8 +57,8 @@ class Metasploit3 < Msf::Exploit::Remote [ OptPort.new('RPORT', [true, 'HTTP port', 80]), OptPort.new('RPORT_FTP', [true, 'FTP port', 21]), + OptString.new('TMPPATH', [true, 'Absolute writable path', '/tmp']), OptString.new('SITEPATH', [true, 'Absolute writable website path', '/var/www']), - OptString.new('TMPPATH', [true, 'Absolute writable/executable path', '/tmp']), OptString.new('TARGETURI', [true, 'Base path to the website', '/']) ], self.class) end