metalx1000

xxd to Patch/Modify a Binary EXE

May 9th, 2020
539
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #edit binary file at position 0000244e
  2. echo "0000244e: $(echo -n "https://filmsbykris.com       " | xxd -ps -c 1 |sed ':a;N;$!ba;s/\n/00/g' )" | xxd -r -c 50 - 1.exe
  3.  
  4. #view changes
  5. xxd -s 0x244E 1.exe|head
RAW Paste Data