I have a binary dump in file.bin. I want to see whether the whole file.bin is there in another binary file called target.bin. I tried the following:
grep -F --binary -f file.bin target.binIt just shows: Binary file target.bin matches. I want to know the offsets and tried the -b flag, but that does not work. If I try grep -F -baon --binary -f file.bin target.bin to treat the binary file as text, but this matches every line in file.bin in target.bin, but that is not I want.
Is there any way to achieve this?
Reset to default