Skip to content

Simple script to create a hexdump of a file in a specific format

Notifications You must be signed in to change notification settings

Demkeys/PythonHexDump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

PythonHexDump

Simple script to create a hexdump of a file in a specific format. It displays the input offset in hexadecimal, followed by sixteen space-separated hexadecimal bytes split into two columns, followed by the same sixteen bytes as printable characters, enclosed within '|' characters.

  • This script produces a hexdump of the mentioned file
  • Argument #1: Path of file.
  • Argument #2: Number of blocks to read.
  • NOTE: Argument #2 is not the number of bytes per block.
  • Each block's size is 16, so the script will try to read 16 bytes per block.
  • Use --help flag for info.

Example hexdump:

Releases

No releases published

Packages

No packages published

Languages