diff --git a/modules/post/multi/gather/pidgin_cred.rb b/modules/post/multi/gather/pidgin_cred.rb index c2927d1a9c..3d45790f0e 100644 --- a/modules/post/multi/gather/pidgin_cred.rb +++ b/modules/post/multi/gather/pidgin_cred.rb @@ -64,7 +64,7 @@ class Metasploit3 < Msf::Post print_error "Unsupported platform #{session.platform}" return end - if paths.empty? + if path.nil? or paths.empty? print_status("No users found with a .purple directory") return end