Skip to content

Extract script from dmp file #68

Answered by curzon01
MrJoki007 asked this question in Q&A
Discussion options

You must be logged in to vote

Linux/Mac

use

./decode-config.py -s using_script.dmp -g Rules | jq ".script"

to extracts the script from the stored dmp file using_script.dmp

e. g. ./decode-config.py -s using_script.dmp -g Rules | jq ".script" >myscript.txt

writes the script into a text file myscript.txt

Windows

Because I'm currently have no idea to extract a json key from a command line program (not Powershell) simply use the JSON output of

decode-config.py -s using_script.dmp -g Rules

and extract the text manually from the key "script".

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MrJoki007
Comment options

Answer selected by curzon01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants