Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import platform
import getpass
import tempfile
import distutils.spawn
# import subprocess

import psutil
Expand Down Expand Up @@ -179,7 +180,7 @@ def check_for_msf():
"""
check the ENV PATH for msfconsole
"""
return os.getenv("msfconsole", False)
return os.getenv("msfconsole", False) or distutils.spawn.find_executable("msfconsole")

def logo():
"""
Expand Down