fixing bug with Kali linux bleeding edge

This commit is contained in:
Djang0 2016-08-31 19:19:34 +02:00
parent 70a91ddcf3
commit 0057238594

View file

@ -345,7 +345,10 @@ def meta_path():
if os.path.isfile("/usr/bin/msfconsole"):
msf_path = ""
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 check_os() == "windows":
print_warning(