Skip to content

Commit 42823fe

Browse files
committed
Test download_exec with linux meterpreter
1 parent f4c6505 commit 42823fe

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

modules/post/linux/manage/download_exec.rb

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,23 @@ def initialize(info={})
1515
super( update_info( info,
1616
'Name' => 'Linux Manage Download and Execute',
1717
'Description' => %q{
18-
This module downloads and runs a file with bash. It first tries to uses curl as
19-
its HTTP client and then wget if it's not found. Bash found in the PATH is used to
20-
execute the file.
18+
This module downloads and runs a file with bash. It first tries to uses curl as
19+
its HTTP client and then wget if it's not found. Bash found in the PATH is used
20+
to execute the file.
2121
},
2222
'License' => MSF_LICENSE,
2323
'Author' =>
2424
[
2525
'Joshua D. Abraham <jabra[at]praetorian.com>',
2626
],
27-
'Platform' => [ 'linux' ],
28-
'SessionTypes' => [ 'shell' ]
27+
'Platform' => ['linux'],
28+
'SessionTypes' => ['shell', 'meterpreter']
2929
))
3030

3131
register_options(
3232
[
3333
OptString.new('URL', [true, 'Full URL of file to download.'])
3434
], self.class)
35-
3635
end
3736

3837
def cmd_exec_vprint(cmd)

0 commit comments

Comments
 (0)