updated msf path for PTF

This commit is contained in:
TrustedSec 2015-08-12 14:53:38 -06:00
parent dce2c22e79
commit 0775045731
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,9 @@
~~~~~~~~~~~~~~~~
version 6.5.3
~~~~~~~~~~~~~~~~
* added automatic path detection for metasploit in SET and PTF
~~~~~~~~~~~~~~~~
version 6.5.2
~~~~~~~~~~~~~~~~

View file

@ -308,6 +308,11 @@ def meta_path():
msf_path = "/opt/metasploit-framework/"
trigger = 1
# specific for pentesters framework github.com/trustedsec/ptf
if os.path.isfile("/pentest/exploitation/metasploit/msfconsole"):
msf_path = "/pentest/exploitation/metasploit/msfconsole"
trigger = 1
if os.path.isfile("/usr/bin/msfconsole"):
msf_path = ""
trigger = 1