Merge pull request #283 from Djang0/master

fixing bug with Kali linux bleeding edge
This commit is contained in:
trustedsec 2016-09-02 08:55:56 -04:00 committed by GitHub
commit 2b29377060

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(