You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add possibility to patch encrypted im4p files if ivkey is present #8
you can patch it with -P, there is an example of the patchfile format in the project README.
alternatively, you can decrypt, patch, encrypt using openssl enc -aes-256-cbc -nopad, then put back with img4 -R
You can't replace the payload in an im4p. im4p is the payload.
What you can do, however, is to replace the payload (aka im4p) inside an img4.
The img4 is a container holding im4p, im4m and (optionally) im4r
Activity
xerub commentedon Nov 17, 2019
you can patch it with -P, there is an example of the patchfile format in the project README.
alternatively, you can decrypt, patch, encrypt using openssl enc -aes-256-cbc -nopad, then put back with img4 -R
justtryingthingsout commentedon Apr 2, 2020
how do i use img4 -R? i keep getting
[e] cannot open 'rawimg.bin'when i doimg4 -i rawimg.bin -R out.im4pjusttryingthingsout commentedon Apr 2, 2020
also
img4 -i original.im4p -R rawimg.bin -o out.im4pdoes nothing, checked with vbindiff and diffxerub commentedon Oct 27, 2020
You can't replace the payload in an im4p. im4p is the payload.
What you can do, however, is to replace the payload (aka im4p) inside an img4.
The img4 is a container holding im4p, im4m and (optionally) im4r