Skip to content

Instantly share code, notes, and snippets.

@jiachen247
Created April 12, 2018 13:08
Show Gist options
  • Save jiachen247/5c7f8809c1fb76c8aa3be611c6df5e58 to your computer and use it in GitHub Desktop.
Save jiachen247/5c7f8809c1fb76c8aa3be611c6df5e58 to your computer and use it in GitHub Desktop.
#! /bin/sh
if [ -z "$1" ]
then
echo "Please input payload as file."
exit 1
fi
hexdump -C $1| grep -v 00000120| cut -d" " -f3-19| sed 's/ //g' | tr -d '\n'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment