Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

return full path #84

Open
lprat opened this issue Feb 13, 2019 · 0 comments
Open

return full path #84

lprat opened this issue Feb 13, 2019 · 0 comments

Comments

@lprat
Copy link

lprat commented Feb 13, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant