Added default path variables for pwnie extress

This commit is contained in:
TrustedSec 2013-04-17 22:09:57 -04:00
parent 30bd1390ca
commit 11985eb4f3
2 changed files with 6 additions and 0 deletions

View file

@ -6,6 +6,7 @@ version 5.0.1
* added a create for the set logfile when launching se-toolkit
* fixed a bug that would cause ratte to not properly load when executing
* fixed a bug that would cause the SET HTTP server to not work properly
* added default path for the pwnie express folks for /opt/metasploit-framework
~~~~~~~~~~~~~~~~
version 5.0

View file

@ -305,6 +305,11 @@ def meta_path():
if os.path.isfile("/usr/bin/msfconsole"):
msf_path = ""
trigger = 1
# specific for pwnpad and pwnplug (pwnie express)
if os.path.isfile("/opt/metasploit-framework/msfconsole"):
msf_path = "/opt/metasploit-framework"
trigger = 1
if trigger == 0:
if check_os() != "windows":
check_metasploit = check_config("METASPLOIT_MODE=").lower()