typo
parent
bcc651a1b2
commit
d70d2c4a19
|
@ -91,7 +91,7 @@ class Metasploit3 < Msf::Post
|
||||||
contents = config.read
|
contents = config.read
|
||||||
|
|
||||||
# look for lines containing string 'password'
|
# look for lines containing string 'password'
|
||||||
password= contents.split("\n").grep(/password/)
|
password = contents.split("\n").grep(/password/)
|
||||||
if password.nil?
|
if password.nil?
|
||||||
# file doesn't contain a password
|
# file doesn't contain a password
|
||||||
print_status("#{file} does not contain any saved passwords")
|
print_status("#{file} does not contain any saved passwords")
|
||||||
|
|
Loading…
Reference in New Issue