mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2025-04-04 14:56:08 +00:00
updated msf path for PTF
This commit is contained in:
parent
dce2c22e79
commit
0775045731
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
~~~~~~~~~~~~~~~~
|
||||
version 6.5.3
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
* added automatic path detection for metasploit in SET and PTF
|
||||
|
||||
~~~~~~~~~~~~~~~~
|
||||
version 6.5.2
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue