Skip to content

Commit ee3e354

Browse files
committed
Get posting working with loot -a
1 parent 40abbcc commit ee3e354

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ GEM
111111
bit-struct (0.16)
112112
builder (3.2.3)
113113
coderay (1.1.2)
114+
daemons (1.2.4)
114115
diff-lcs (1.3)
115116
dnsruby (1.60.2)
116117
docile (1.1.5)
@@ -314,7 +315,6 @@ GEM
314315
rack (~> 1.5)
315316
rack-protection (~> 1.4)
316317
tilt (>= 1.3, < 3)
317-
slop (3.6.0)
318318
sqlite3 (1.3.13)
319319
sshkey (1.9.0)
320320
thin (1.7.1)

lib/metasploit/framework/data_service/remote/http/remote_loot_data_service.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ def report_loot(opts)
1515
end
1616

1717
def find_or_create_loot(opts)
18-
json_to_open_struct_object(self.post_data(LOOT_PATH, loot))
18+
json_to_open_struct_object(self.post_data(LOOT_PATH, opts))
1919
end
2020

21-
def report_loot(loot)
21+
def report_loots(loot)
2222
self.post_data(LOOT_PATH, loot)
2323
end
2424

0 commit comments

Comments
 (0)