mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-26 22:40:18 +00:00
fixing bug with Kali linux bleeding edge
This commit is contained in:
parent
70a91ddcf3
commit
0057238594
1 changed files with 4 additions and 1 deletions
|
@ -345,7 +345,10 @@ def meta_path():
|
||||||
if os.path.isfile("/usr/bin/msfconsole"):
|
if os.path.isfile("/usr/bin/msfconsole"):
|
||||||
msf_path = ""
|
msf_path = ""
|
||||||
trigger = 1
|
trigger = 1
|
||||||
|
#Kali linux bleeding edge should return this in order to work
|
||||||
|
if os.path.isfile("/usr/share/metasploit-framework/msfconsole"):
|
||||||
|
msf_path = "/usr/share/metasploit-framework/"
|
||||||
|
trigger = 1
|
||||||
# if we are using windows
|
# if we are using windows
|
||||||
if check_os() == "windows":
|
if check_os() == "windows":
|
||||||
print_warning(
|
print_warning(
|
||||||
|
|
Loading…
Reference in a new issue