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

H12SSL Image not working #2

Open
desultory opened this issue Jun 8, 2024 · 0 comments
Open

H12SSL Image not working #2

desultory opened this issue Jun 8, 2024 · 0 comments

Comments

@desultory
Copy link

Using the latest version in master, and firmware BMC_H12AST2500-ROT-2201MS-GPIO01_20240313_01.04.03_STDsp.bin

./smcbmc.py ~/tmp/BMC_H12AST2500-ROT-2201MS-GPIO01_20240313_01.04.03_STDsp.bin out.img
Traceback (most recent call last):
  File "/home/desu/projects/smcbmc/./smcbmc.py", line 104, in <module>
    decrypt_image(args.infile, args.outfile)
  File "/home/desu/projects/smcbmc/./smcbmc.py", line 92, in decrypt_image
    regions = extract_keys(mm)
              ^^^^^^^^^^^^^^^^
  File "/home/desu/projects/smcbmc/./smcbmc.py", line 42, in extract_keys
    mm.seek(inode_off - 8)
ValueError: seek out of range

Maybe I'm using the wrong file, or the image format has changed? I see there are unencrypted portions, but don't know where to look.

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