File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -2092,25 +2092,16 @@ def report_loot(opts)
2092
2092
loot . service_id = opts [ :service ] [ :id ]
2093
2093
end
2094
2094
2095
- loot . path = path
2096
- loot . ltype = ltype
2095
+ loot . path = path
2096
+ loot . ltype = ltype
2097
2097
loot . content_type = ctype
2098
- loot . data = data
2099
- loot . name = name if name
2100
- loot . info = info if info
2098
+ loot . data = data
2099
+ loot . name = name if name
2100
+ loot . info = info if info
2101
+ loot . workspace = wspace
2101
2102
msf_import_timestamps ( opts , loot )
2102
2103
loot . save!
2103
2104
2104
- if !opts [ :created_at ]
2105
- =begin
2106
- if host
2107
- host.updated_at = host.created_at
2108
- host.state = HostState::Alive
2109
- host.save!
2110
- end
2111
- =end
2112
- end
2113
-
2114
2105
ret [ :loot ] = loot
2115
2106
}
2116
2107
end
You can’t perform that action at this time.
0 commit comments