File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
lib/msf/ui/console/command_dispatcher Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1308,7 +1308,7 @@ def cmd_loot(*args)
1308
1308
types = typelist . strip ( ) . split ( "," )
1309
1309
when '-S' , '--search'
1310
1310
search_term = args . shift
1311
- when '-u' , '--update'
1311
+ when '-u' , '--update' # TODO: This is currently undocumented because it's not officially supported.
1312
1312
mode = :update
1313
1313
when '-h' , '--help'
1314
1314
cmd_loot_help
@@ -1378,6 +1378,8 @@ def cmd_loot(*args)
1378
1378
# )
1379
1379
# end
1380
1380
row = [ ]
1381
+ # TODO: This is just a temp implementation of update for the time being since it did not exist before.
1382
+ # It should be updated to not pass all of the attributes attached to the object, only the ones being updated.
1381
1383
if mode == :update
1382
1384
begin
1383
1385
loot . info = info if info
You can’t perform that action at this time.
0 commit comments