metalx1000

xxd to Patch/Modify a Binary EXE

May 9th, 2020
890
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.21 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment