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

Switch to python3. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

pc-magas
Copy link

@pc-magas pc-magas commented Dec 16, 2022

I attempted to move the code into python 3 I run under Linux Mint 21. I used a Sercomm H300s image to test it and I tested upon decrypt_image.py running like this:

python3 decrypt_image.py ../Vodafone_H_300s_v1.2.01.06_debug.img  ../img_decrypted.img
[+] Trying to interpret file as type1 image...
[-] File does not appear to be a valid type1 image, trying type2...
[-] Not a type2 image either, exiting

I am not sure if my changes actually work, any changes are done only to be able to run the code without any errors.
Would like some feedback or test images to compare.

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

Successfully merging this pull request may close these issues.

None yet

1 participant