Skip to content

Commit abed3bf

Browse files
committed
Rename
1 parent 9ee6e19 commit abed3bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/post/linux/gather/enum_aws_ec2_instance_metadata.rb renamed to modules/post/multi/gather/aws_ec2_instance_metadata.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def initialize(info = {})
1010
super(
1111
update_info(
1212
info,
13-
'Name' => 'Enumerate AWS EC2 Instance Metadata',
13+
'Name' => 'Gather AWS EC2 Instance Metadata',
1414
'Description' => %q(
1515
This module will attempt to connect to the AWS EC2 instance metadata service
1616
and crawl and collect all metadata known about the session'd host.
@@ -20,7 +20,7 @@ def initialize(info = {})
2020
'Jon Hart <jon_hart[at]rapid7.com>' # original metasploit module
2121
],
2222
# TODO: is there a way to do this on Windows?
23-
'Platform' => %w(linux osx unix),
23+
'Platform' => %w(unix),
2424
'SessionTypes' => %w(shell meterpreter),
2525
'References' =>
2626
[
@@ -31,7 +31,7 @@ def initialize(info = {})
3131

3232
register_advanced_options(
3333
[
34-
OptString.new('TARGETURI', [true, 'AWS EC2 Instance metadata URI', 'http://169.254.169.254/latest/meta-data/ '])
34+
OptString.new('TARGETURI', [true, 'AWS EC2 Instance metadata URI', 'http://169.254.169.254/latest/meta-data/'])
3535
]
3636
)
3737
end

0 commit comments

Comments
 (0)