SYSThis is a page for SYS file analysis. Try an example
What are we looking for?For a SYS file, we look for the byte sequence 4D 5A or MZ |
File contents analysisFile signature analysis (Header analysis)COM, DLL, DRV, EXE, PIF, QTS, QTX, or SYS file (Starts with 0x4D 0x5A)Additional scanning signature analysisPossible: [ICO file, sig: 00000100] Count: 14 File hex characters[00000000] 4D 5A 90 00 03 00 00 00 04 00 00 00 FF FF 00 00 MZ.............. Base-64 conversionTVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
Sample code
public string getTif(System.IO.Stream file) { string TextBox1 = ""; byte[] b = ReadFully(file, file.Length); TextBox1 = "Starting tag (should be II - Big Indian): " + (char)b[0] + (char)b[1] + "<br/>"; TextBox1 += "Version: " + Global.intToHex(b[2]) + "<br/>"; return (TextBox1); }