Adding zsh

unstable
Tod Beardsley 2011-11-15 19:10:25 -06:00
parent 5cdab2ef41
commit d969006268
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class Metasploit3 < Msf::Post
return return
end end
@current_shell = cmd_exec("echo $SHELL") @current_shell = cmd_exec("echo $SHELL")
if @current_shell =~ /(bsh|bash|ksh|csh|\/bin\/sh)$/ if @current_shell =~ /(bsh|bash|zsh|ksh|csh|\/bin\/sh)$/
print_status "Current shell is `#{@current_shell}'" print_status "Current shell is `#{@current_shell}'"
get_root() get_root()
else else