added platform check and message for none nix systems
git-svn-id: file:///home/svn/framework3/trunk@13365 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
3b85b2d08b
commit
d1c701a92a
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue