Python Forum
Request for Python code - Features extraction from JSON file (cuckoo) - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Request for Python code - Features extraction from JSON file (cuckoo) (/thread-33224.html)



Request for Python code - Features extraction from JSON file (cuckoo) - thinker - Apr-07-2021

Hello

Would you please help me to create a script that can extract features or artifacts from JSON files (CUCKOO) that I got after malware analysis? I am not a programmer and someone share with me this website for help.

Thank you for your time.


RE: Request for Python code - Features extraction from JSON file (cuckoo) - Larz60+ - Apr-07-2021

This is basic code:

import json

with open(myfile) as fp:
    mydict = json.load(fp)
[/python]

mydict is a dictionary of the json data