Read and open hex file in Linux
hexdump
hexdump /bin/bash
xxd
tool to make (or reverse) a hex dump
xxd /bin/bash
hexyl
Command-line hex viewer with colored output
hexyl /bin/bash
readelf
readelf is the best utility for analyzing elf(executable and linking format) files.
## show all
readelf -a /bin/bash
## show elf header
readelf -h /bin/bash
## reading all the segments of the file
readelf -l /bin/bash
## reading all the sections of the file
readelf -S /bin/sh
strings
strings /bin/bash
Back to Table of Contents
Disclaimer
- License under
CC BY-NC 4.0
- Copyright issue feedback
me#imzye.com
, replace # with @ - Not all the commands and scripts are tested in production environment, use at your own risk
- No personal information is collected.
Feedback