Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add *nix Gather Grub Password module #11166

Open
bcoles opened this Issue Dec 23, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@bcoles
Copy link
Contributor

bcoles commented Dec 23, 2018

Add modules/post/multi/gather/grub_creds.rb post module to collect passwords from grub bootloader config files.

Alternatively, lazily dump all lines that start_with? 'password' to console.

Examples:

password_pbkdf2 $USERNAME $ENC_PASSWORD
password --md5 $1$9sdflksdf/sdf44k
password --encrypted $1$9sdflksdf/sdf44k
password John 1234

Paths

/boot/grub/grub.conf
/boot/grub/grub.cfg
/etc/grub.conf
/etc/grub/grub.cfg
/etc/grub.d/00_header
/mnt/sysimage/boot/grub.conf
/mnt/boot/grub/grub.conf
/rpool/boot/grub/grub.cfg (solaris)

References

@dgarvit

This comment has been minimized.

Copy link
Contributor

dgarvit commented Dec 26, 2018

I'd like to work on this!

@dgarvit dgarvit referenced this issue Feb 17, 2019

Open

Add *nix Gather Grub Password module #11426

0 of 5 tasks complete
@aringo

This comment has been minimized.

Copy link
Contributor

aringo commented Feb 24, 2019

@bcoles

This comment has been minimized.

Copy link
Contributor Author

bcoles commented Feb 24, 2019

@aringo rofl so it does

I've updated the OP with the archive link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.