Fixes matasploit path search.

This commit is contained in:
Brigham Toskin 2018-01-31 13:46:17 -08:00
parent 0672c2746b
commit c70b5c2004

View file

@ -332,7 +332,7 @@ def meta_path():
# pull from config first
msf_path = check_config("METASPLOIT_PATH=")
if not str(msf_path.endswith("/")):
if not msf_path.endswith("/"):
msf_path = msf_path + "/"
if os.path.isfile(msf_path + "msfconsole"):
trigger = 1