diff --git a/modules/payloads/singles/linux/mipsbe/reboot.rb b/modules/payloads/singles/linux/mipsbe/reboot.rb index 567e2740c3..9b5374945a 100644 --- a/modules/payloads/singles/linux/mipsbe/reboot.rb +++ b/modules/payloads/singles/linux/mipsbe/reboot.rb @@ -17,12 +17,14 @@ module MetasploitModule A very small shellcode for rebooting the system. This payload is sometimes helpful for testing purposes or executing other payloads that rely on initial startup procedures. + Requires CAP_SYS_BOOT privileges. }, 'Author' => [ 'Michael Messner ', # metasploit payload 'rigan - ' # original payload ], 'References' => [ + ['URL', 'https://man7.org/linux/man-pages/man2/reboot.2.html'], ['URL', 'http://www.shell-storm.org/shellcode/files/shellcode-795.php'] ], 'License' => MSF_LICENSE, diff --git a/modules/payloads/singles/linux/mipsle/reboot.rb b/modules/payloads/singles/linux/mipsle/reboot.rb index afcfd93638..3d33818e42 100644 --- a/modules/payloads/singles/linux/mipsle/reboot.rb +++ b/modules/payloads/singles/linux/mipsle/reboot.rb @@ -14,14 +14,16 @@ module MetasploitModule info, 'Name' => 'Linux Reboot', 'Description' => %q{ - A very small shellcode for rebooting the system. - This payload is sometimes helpful for testing purposes. + A very small shellcode for rebooting the system using + the reboot syscall. This payload is sometimes helpful + for testing purposes. Requires CAP_SYS_BOOT privileges. }, 'Author' => [ 'Michael Messner ', # metasploit payload 'rigan - ' # original payload ], 'References' => [ + ['URL', 'https://man7.org/linux/man-pages/man2/reboot.2.html'], ['URL', 'http://www.shell-storm.org/shellcode/files/shellcode-795.php'] ], 'License' => MSF_LICENSE, diff --git a/modules/payloads/singles/linux/riscv32le/reboot.rb b/modules/payloads/singles/linux/riscv32le/reboot.rb index c3161b3d48..ac4ee175ed 100644 --- a/modules/payloads/singles/linux/riscv32le/reboot.rb +++ b/modules/payloads/singles/linux/riscv32le/reboot.rb @@ -16,12 +16,16 @@ module MetasploitModule 'Description' => %q{ A very small shellcode for rebooting the system using the reboot syscall. This payload is sometimes helpful - for testing purposes. + for testing purposes. Requires CAP_SYS_BOOT privileges. }, 'Author' => 'bcoles', 'License' => MSF_LICENSE, 'Platform' => 'linux', - 'Arch' => ARCH_RISCV32LE + 'Arch' => ARCH_RISCV32LE, + 'References' => [ + ['URL', 'https://man7.org/linux/man-pages/man2/reboot.2.html'], + ['URL', 'https://github.com/bcoles/shellcode/blob/main/riscv32/reboot/reboot.s'], + ] ) ) end diff --git a/modules/payloads/singles/linux/riscv64le/reboot.rb b/modules/payloads/singles/linux/riscv64le/reboot.rb index 87278a1db7..91aadb464a 100644 --- a/modules/payloads/singles/linux/riscv64le/reboot.rb +++ b/modules/payloads/singles/linux/riscv64le/reboot.rb @@ -16,12 +16,16 @@ module MetasploitModule 'Description' => %q{ A very small shellcode for rebooting the system using the reboot syscall. This payload is sometimes helpful - for testing purposes. + for testing purposes. Requires CAP_SYS_BOOT privileges. }, 'Author' => 'bcoles', 'License' => MSF_LICENSE, 'Platform' => 'linux', - 'Arch' => ARCH_RISCV64LE + 'Arch' => ARCH_RISCV64LE, + 'References' => [ + ['URL', 'https://man7.org/linux/man-pages/man2/reboot.2.html'], + ['URL', 'https://github.com/bcoles/shellcode/blob/main/riscv64/reboot/reboot.s'], + ] ) ) end