mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2025-02-20 07:18:35 +00:00
fix metasploit path resolution of msfconsole
This commit is contained in:
parent
d1bdb9d1a5
commit
3fe96db503
2 changed files with 6 additions and 2 deletions
|
@ -3,7 +3,7 @@ version 7.4.2
|
|||
~~~~~~~~~~~~~~~~
|
||||
|
||||
* define function meta_path() better
|
||||
|
||||
* fixed a bug in binary2teensy that would not properly identify metasploit if launcher is in /usr/bin/msfconsole
|
||||
|
||||
~~~~~~~~~~~~~~~~
|
||||
version 7.4.1
|
||||
|
|
|
@ -35,7 +35,11 @@ ipaddr = core.grab_ipaddress()
|
|||
#
|
||||
# metasploit_path here
|
||||
#
|
||||
msf_path = core.meta_path() + "msfconsole"
|
||||
|
||||
|
||||
msf_path = core.meta_path()
|
||||
if msf_path == "": msf_path = "/usr/bin/msfconsole"
|
||||
else: msf_path = msf_path + "/msfconsole"
|
||||
|
||||
################################################################
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue