mirror of
https://github.com/inspec/inspec
synced 2024-11-26 06:30:26 +00:00
add passwd extraction of passwords
This commit is contained in:
parent
8c17ab29a5
commit
dbbad50c09
1 changed files with 7 additions and 0 deletions
|
@ -34,6 +34,13 @@ module Serverspec
|
|||
arr.length
|
||||
end
|
||||
|
||||
def passwords
|
||||
parsed = parse()
|
||||
parsed.map {|x|
|
||||
x.at(1)
|
||||
}
|
||||
end
|
||||
|
||||
def homedirs
|
||||
parsed = parse()
|
||||
parsed.map {|x|
|
||||
|
|
Loading…
Reference in a new issue