Fix references and whitespace in mips payloads.

bug/bundler_fix
Joe Vennix 2014-03-25 14:39:27 -05:00
parent c72c96f0e0
commit c8784168d5
3 changed files with 13 additions and 14 deletions

View File

@ -15,14 +15,14 @@ module Metasploit3
'Name' => 'Linux Reboot', 'Name' => 'Linux Reboot',
'Description' => %q{ 'Description' => %q{
A very small shellcode for rebooting the system. A very small shellcode for rebooting the system.
This module is sometimes helpful for testing purposes. This payload is sometimes helpful for testing purposes.
}, },
'Author' => 'Author' =>
[ [
'Michael Messner <devnull@s3cur1ty.de>', #metasploit payload 'Michael Messner <devnull@s3cur1ty.de>', #metasploit payload
'rigan - <imrigan@gmail.com>' #original payload 'rigan - <imrigan@gmail.com>' #original payload
], ],
'References' => ['URL', 'http://www.shell-storm.org/shellcode/files/shellcode-795.php'], 'References' => [['URL', 'http://www.shell-storm.org/shellcode/files/shellcode-795.php']],
'License' => MSF_LICENSE, 'License' => MSF_LICENSE,
'Platform' => 'linux', 'Platform' => 'linux',
'Arch' => ARCH_MIPSBE, 'Arch' => ARCH_MIPSBE,
@ -35,7 +35,6 @@ module Metasploit3
end end
def generate def generate
shellcode = shellcode =
"\x3c\x06\x43\x21" + #lui a2,0x4321 "\x3c\x06\x43\x21" + #lui a2,0x4321
"\x34\xc6\xfe\xdc" + #ori a2,a2,0xfedc "\x34\xc6\xfe\xdc" + #ori a2,a2,0xfedc

View File

@ -22,7 +22,7 @@ module Metasploit3
'Michael Messner <devnull@s3cur1ty.de>', #metasploit payload 'Michael Messner <devnull@s3cur1ty.de>', #metasploit payload
'entropy@phiral.net' #original payload 'entropy@phiral.net' #original payload
], ],
'References' => ['URL', 'http://www.exploit-db.com/exploits/17940/'], 'References' => [['EDB', '17940']],
'License' => MSF_LICENSE, 'License' => MSF_LICENSE,
'Platform' => 'linux', 'Platform' => 'linux',
'Arch' => ARCH_MIPSLE, 'Arch' => ARCH_MIPSLE,

View File

@ -22,7 +22,7 @@ module Metasploit3
'Michael Messner <devnull@s3cur1ty.de>', #metasploit payload 'Michael Messner <devnull@s3cur1ty.de>', #metasploit payload
'rigan - <imrigan@gmail.com>' #original payload 'rigan - <imrigan@gmail.com>' #original payload
], ],
'References' => ['URL', 'http://www.shell-storm.org/shellcode/files/shellcode-795.php'], 'References' => [['URL', 'http://www.shell-storm.org/shellcode/files/shellcode-795.php']],
'License' => MSF_LICENSE, 'License' => MSF_LICENSE,
'Platform' => 'linux', 'Platform' => 'linux',
'Arch' => ARCH_MIPSLE, 'Arch' => ARCH_MIPSLE,