Decrypt your encrypted images (*.jpg.dm) and videos (*.mp4.dm) from the LG Gallery App. You need to know your gmail address. It's also possible to decrypt your multimedia files if you don't remember your gmail address.
Based on the paper "A study on LG content lock and data aquisition from apps based on content lock function" from Giyoon Kim, Myungseo Park and Jongsung Kim from 28 September 2021.
Please use at your own advice. There is no error handling.
Install the needed dependencies:
python3 -m pip install -r requirements.txt
You can use the help to see an explanation of all of the arguments:
python3 lgdecryptor.py --help
Example decrypting a single file:
python3 lgdecryptor.py [email protected] 20161230_133055.jpg.dm
Example decrypting multiple files:
python3 lgdecryptor.py [email protected] 20161230_133055.jpg.dm 20161230_134050.mp4.dm
Example decrypting multiple files using globbing:
python3 lgdecryptor.py [email protected] *.dm
The output directory can be changed as so:
python3 lgdecryptor.py -o decrypted/ [email protected] *.dm