From c48a6ddbdfc02bf92b8d4e247dbe89bdfba4e821 Mon Sep 17 00:00:00 2001 From: Garvit Dewan Date: Thu, 21 Feb 2019 14:17:15 +0530 Subject: [PATCH] Add /boot/grub2/user.cfg path to grub_password --- modules/post/multi/gather/grub_password.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/post/multi/gather/grub_password.rb b/modules/post/multi/gather/grub_password.rb index 9d52645057..abe166d961 100644 --- a/modules/post/multi/gather/grub_password.rb +++ b/modules/post/multi/gather/grub_password.rb @@ -36,7 +36,8 @@ class MetasploitModule < Msf::Post '/mnt/sysimage/boot/grub.conf', '/mnt/boot/grub/grub.conf', '/rpool/boot/grub/grub.cfg', - '/boot/grub2/grub.cfg' + '/boot/grub2/grub.cfg', + '/boot/grub2/user.cfg' ] print_status("Searching for GRUB config files..")