From d70d2c4a193a8e289a8066c29ff856990e9dfc17 Mon Sep 17 00:00:00 2001 From: Brandon McCann Date: Wed, 26 Dec 2012 19:54:35 -0600 Subject: [PATCH] typo --- modules/post/windows/gather/credentials/spark_im.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/post/windows/gather/credentials/spark_im.rb b/modules/post/windows/gather/credentials/spark_im.rb index d09f5b2318..fa20a2bb46 100644 --- a/modules/post/windows/gather/credentials/spark_im.rb +++ b/modules/post/windows/gather/credentials/spark_im.rb @@ -91,7 +91,7 @@ class Metasploit3 < Msf::Post contents = config.read # look for lines containing string 'password' - password= contents.split("\n").grep(/password/) + password = contents.split("\n").grep(/password/) if password.nil? # file doesn't contain a password print_status("#{file} does not contain any saved passwords")