2010-09-16 15:35:13 |
Alexander Belchenko |
description |
Sometimes it could be useful to search in the hex file content for the string or the pattern, i.e.
python hex-grep [OPTIONS] PATTERN HEX_FILE...
Possible options:
-i = ignore the case
-s = pattern is the substring to look for, not the regular expression.
For matches found we can just print name of the file and offset. Maybe provide a little context as hex dump. |
Sometimes it could be useful to search in the hex file content for the string or the pattern, i.e.
python hex-grep [OPTIONS] PATTERN HEX_FILE...
Possible options:
-i - ignore the case
-F - pattern is the substring to look for, not the regular expression.
--hex=XXX - pattern is the chain of hex bytes to look for, e.g. --hex="2A FF 3C"
For matches found we can just print name of the file and offset. Maybe provide a little context as hex dump.
|
|
2010-09-16 15:38:03 |
Alexander Belchenko |
description |
Sometimes it could be useful to search in the hex file content for the string or the pattern, i.e.
python hex-grep [OPTIONS] PATTERN HEX_FILE...
Possible options:
-i - ignore the case
-F - pattern is the substring to look for, not the regular expression.
--hex=XXX - pattern is the chain of hex bytes to look for, e.g. --hex="2A FF 3C"
For matches found we can just print name of the file and offset. Maybe provide a little context as hex dump.
|
Sometimes it could be useful to search in the hex file content for the string or the pattern, i.e.
python hex-grep [OPTIONS] PATTERN HEX_FILE...
Possible options:
-i - ignore the case
-F - pattern is the substring to look for, not the regular expression.
--hex - pattern is the chain of hex bytes to look for, e.g. python hex-grep --hex "2A FF 3C" foo.hex
For matches found we can just print name of the file and offset. Maybe provide a little context as hex dump.
|
|