Land #20707, adds note "CAP_SYS_BOOT privileges are required" to Linux Reboot payloads

Add note "CAP_SYS_BOOT privileges are required" to Linux Reboot payloads
This commit is contained in:
msutovsky-r7
2025-11-19 12:10:03 +01:00
committed by GitHub
4 changed files with 18 additions and 6 deletions
@@ -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 <devnull[at]s3cur1ty.de>', # metasploit payload
'rigan - <imrigan[at]gmail.com>' # 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,
@@ -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 <devnull[at]s3cur1ty.de>', # metasploit payload
'rigan - <imrigan[at]gmail.com>' # 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,
@@ -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
@@ -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