ObjectPath icon indicating copy to clipboard operation
ObjectPath copied to clipboard

return full path

Open lprat opened this issue 6 years ago • 0 comments

Hi, Thanks for you work! I would like extract full path on query. With jq , i can do: $ cat report-cuckoo.json |jq 'path(.. |.file_written?| select(.!=null))' [ "behavior", "generic", 1, "summary", "file_written" ] [ "behavior", "summary", "file_written" ] Is it possible with your tool? Loading JSON document from report-cuckoo.json... done.

$..*[@.file_written] [ [ "C:\Users\cuck\AppData\LocaldsDwSUeGcL.exe", "C:\Users\cuck\AppData\LocalMgyoNizMqk.jpg" ], [ "C:\Users\cuck\AppData\LocaldsDwSUeGcL.exe", "C:\Users\cuck\AppData\LocalMgyoNizMqk.jpg" ] ] I don't found solution.

Thanks for help. Sincerly, Lionel

lprat avatar Feb 13 '19 18:02 lprat