Pro Loot API

pro.loot_download

The pro.loot_download method downloads the file associated with loot record, by unique ID

Request Example

shell
1
[ "pro.loot_download", "<token>", 99 ]

Response Example

json
1
{ "data" => "<BinaryData>" }

pro.loot_list

The pro.loot_download method returns a list of available loot records in a workspace

Request Example

shell
1
[ "pro.loot_list", "<token>", "Project1" ]

Response Example

json
1
{
2
"900" => {
3
'workspace' => "Project1",
4
'host' => "1.2.3.4",
5
'service' => 80,
6
'proto' => 'tcp',
7
'ltype' => 'screenshot',
8
'ctype' => 'image/jpeg',
9
'created_at' => <Unix Timestamp Integer>,
10
'updated_at' => <Unix Timestamp Integer>,
11
'name' => 'desktop.jpg',
12
'info' => 'User desktop screenshot',
13
'path' => '/opt/metasploit/loot/wspace_1_xxxxx.jpg',
14
'size' => 40945
15
}
16
}