Search Byte Sequence in Binary Files
Question by Guest | 2024-10-10 at 17:45
I'm looking for a way to search for byte sequences in binary files.
That means I have a byte sequence such as "A0 B1 C2" and one or more binary files (not text files) and would like to know in which of these files this byte sequence occurs and if so, at which byte offset the sequence can be found.
Can anyone help me with this task?
Related Topics
Lazarus: Load File as Byte Array and save Byte Array as File
Tutorial | 0 Comments
Delphi/Lazarus: Show Byte Array as String of HEX Values
Tip | 0 Comments
MySQL: Line Breaks in MySQL
Tip | 0 Comments
Lazarus: Input of binary, hexadecimal and integer numbers
Article | 0 Comments
The Askingbox Search
Info | 0 Comments
How to Replace multiple Texts at the same Time
Tutorial | 0 Comments
Delphi/Lazarus: Load Byte Array from MemoryStream
Question | 1 Answer
Important Note
Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.
Participate
Ask your own question or write your own article on askingbox.com. That’s how it’s done.
Simply add all the files you want to search to the file list in the FileAnalyzer and then click on the button "Search" below the list.
Alternatively, you can also use the menu "Tools > Search" or press the keyboard shortcut CTRL + S.
And if your byte sequence is based on a number in a certain format or a string in a certain encoding, you do not need to determine the byte sequence yourself but you can simply use one of the functions "Search for Number" or "Search for String" that can be found in the same window.
For more information on this topic, see the tutorial on searching binary files.
2024-10-11 at 02:09