File tree Expand file tree Collapse file tree 4 files changed +18
-6
lines changed
modules/payloads/singles/linux Expand file tree Collapse file tree 4 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,14 @@ def initialize(info = {})
1717 A very small shellcode for rebooting the system.
1818 This payload is sometimes helpful for testing purposes or executing
1919 other payloads that rely on initial startup procedures.
20+ Requires CAP_SYS_BOOT privileges.
2021 } ,
2122 'Author' => [
2223 'Michael Messner <devnull[at]s3cur1ty.de>' , # metasploit payload
2324 'rigan - <imrigan[at]gmail.com>' # original payload
2425 ] ,
2526 'References' => [
27+ [ 'URL' , 'https://man7.org/linux/man-pages/man2/reboot.2.html' ] ,
2628 [ 'URL' , 'http://www.shell-storm.org/shellcode/files/shellcode-795.php' ]
2729 ] ,
2830 'License' => MSF_LICENSE ,
Original file line number Diff line number Diff line change @@ -14,14 +14,16 @@ def initialize(info = {})
1414 info ,
1515 'Name' => 'Linux Reboot' ,
1616 'Description' => %q{
17- A very small shellcode for rebooting the system.
18- This payload is sometimes helpful for testing purposes.
17+ A very small shellcode for rebooting the system using
18+ the reboot syscall. This payload is sometimes helpful
19+ for testing purposes. Requires CAP_SYS_BOOT privileges.
1920 } ,
2021 'Author' => [
2122 'Michael Messner <devnull[at]s3cur1ty.de>' , # metasploit payload
2223 'rigan - <imrigan[at]gmail.com>' # original payload
2324 ] ,
2425 'References' => [
26+ [ 'URL' , 'https://man7.org/linux/man-pages/man2/reboot.2.html' ] ,
2527 [ 'URL' , 'http://www.shell-storm.org/shellcode/files/shellcode-795.php' ]
2628 ] ,
2729 'License' => MSF_LICENSE ,
Original file line number Diff line number Diff line change @@ -16,12 +16,16 @@ def initialize(info = {})
1616 'Description' => %q{
1717 A very small shellcode for rebooting the system using
1818 the reboot syscall. This payload is sometimes helpful
19- for testing purposes.
19+ for testing purposes. Requires CAP_SYS_BOOT privileges.
2020 } ,
2121 'Author' => 'bcoles' ,
2222 'License' => MSF_LICENSE ,
2323 'Platform' => 'linux' ,
24- 'Arch' => ARCH_RISCV32LE
24+ 'Arch' => ARCH_RISCV32LE ,
25+ 'References' => [
26+ [ 'URL' , 'https://man7.org/linux/man-pages/man2/reboot.2.html' ] ,
27+ [ 'URL' , 'https://github.com/bcoles/shellcode/blob/main/riscv32/reboot/reboot.s' ] ,
28+ ]
2529 )
2630 )
2731 end
Original file line number Diff line number Diff line change @@ -16,12 +16,16 @@ def initialize(info = {})
1616 'Description' => %q{
1717 A very small shellcode for rebooting the system using
1818 the reboot syscall. This payload is sometimes helpful
19- for testing purposes.
19+ for testing purposes. Requires CAP_SYS_BOOT privileges.
2020 } ,
2121 'Author' => 'bcoles' ,
2222 'License' => MSF_LICENSE ,
2323 'Platform' => 'linux' ,
24- 'Arch' => ARCH_RISCV64LE
24+ 'Arch' => ARCH_RISCV64LE ,
25+ 'References' => [
26+ [ 'URL' , 'https://man7.org/linux/man-pages/man2/reboot.2.html' ] ,
27+ [ 'URL' , 'https://github.com/bcoles/shellcode/blob/main/riscv64/reboot/reboot.s' ] ,
28+ ]
2529 )
2630 )
2731 end
You can’t perform that action at this time.
0 commit comments