added platform check and message for none nix systems

git-svn-id: file:///home/svn/framework3/trunk@13365 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Carlos Perez 2011-07-27 14:25:56 +00:00
parent 3b85b2d08b
commit d1c701a92a
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ class Metasploit3 < Msf::Post
if paths.nil? if paths.nil?
print_error("No users found with a .ssh directory") print_error("No users found with a .ssh directory")
return return
else
print_error("Platfor is not Unix or Linux based.")
return
end end
download_loot(paths) download_loot(paths)