You are not logged in.
Hi there,
does someone know how to specify an offset to dd ? I am trying to extract some bits from a firmware (some .data)
Thanks and hf!
Last edited by unixuser (2025-06-09 19:48:07)
Offline
man dd
Online
Use the shell phrase $((0x100)) to specify offset value 256; and similarly $((0x35feed63)) for offset value 905899363.
The parameters would be skip=?? for the infile and seek=?? for the outfile. The value is in block size counts.
Online
@rolfie, I think you should have at least read it once before saying this, then, you'd know that it doesn't mention hexadecimal notation.
To have all options : check out the source code.
@ralph.ronnquiest, thanks, very appreciated, I still working on it. dd is powerful but a bit esoteric to use.
Last edited by unixuser (2025-07-04 22:16:48)
Offline