I'm at a loose end here, it seems like such a simple problem so I'm hoping there is a simple answer!
I have a binary (approx 35m) which has 64 bytes of padded data every 2048 bytes starting at offset 1536 - I just want to remove this padding.
The first occurrence is 1536, then 3648,5760,7872,etc
(2112 bytes - 64 bytes of dummy data = 2048)
I've tried bvi,bbe,hexdump+sed+xxd and I'm clearly missing something.
Thanks in advance,
You didn't show any code, so I presume you need help wrapping your head around the algorithm. It's actually quite simple:
In Perl,