mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-23 04:53:05 +00:00
Merge pull request #283 from Djang0/master
fixing bug with Kali linux bleeding edge
This commit is contained in:
commit
2b29377060
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