A CLI-based python program allowing the user to pick a file and view it in hexadecimal. This supports files of any size and writes the output to a text file for debugging and analysis.
-
If you haven't already done so, install Python here: https://www.python.org/
-
Afterward, install
Hex_Viewer.pyfrom the repository. -
Open command prompt or PowerShell and navigate to the directory where you installed this. For example:
cd C:\Users\user\Desktop\Hex_Viewer -
Run the script with
py Hex_Viewer.pyorpython Hex_Viewer.py -
Alternatively, you may open the file in your preffered IDE.
-
Enter the file's name. If it is not in the same directory, enter the exact path to the file (INCLUDE THE FILE EXTENSION)
-
Windows Example:
C:\Users\user\Desktop\example.dllMake sure you're entering your actual file's path. These are just examples for guidance. -
OPTIONAL: After you're done viewing the hexadecimal code, you may open the file ending in
.hex.txtfor further analysis and/or debugging if you wish. It's created in the same directory as the script.
-
If you haven't already done so, install Python here: https://www.python.org/
-
Download the script
Hex_Viewer_MAC_Linux.pyfrom the repository. -
Open your terminal of choice and make sure you're in the same directory as the script (e.g.
/home/user/Hex Viewer/Hex_Viewer_MAC_Linux.py) -
Give the program executable permissions with the command:
chmod a+x Hex_Viewer_MAC_Linux.py -
From there, run the script in your preferred terminal:
./Hex_Viewer_MAC_Linux.py -
Alternatively, you may open the file in your preferred IDE.
-
Enter the file's name. If it is not in the same directory, enter the exact path to the file (INCLUDE THE FILE EXTENSION)
-
Linux Example (Debian, Arch, Fedora, etc.):
/home/user/Desktop/example3.txtMake sure you're entering your actual file's path. These are just examples for guidance. -
MAC OS Example:
/Users/user1/Documents/game.isoMake sure you're entering your actual file's path. These are just examples for guidance. -
OPTIONAL: After you're done viewing the hexadecimal code, you may open the file ending in
.hex.txtfor further analysis and/or debugging if you wish. It's created in the same directory as the script.
- Color coding specific patterns
- GUI for easier use
- Importing existing HEX patterns and exporting them
- Editing the HEX code and syncing the results