Advertisement
Guest User

Untitled

a guest
Feb 26th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rails 0.15 KB | None | 0 0
  1. foo = bin.encoded; i =0
  2. foo[bin.addr_to_off(0x8048500),0x6a1].data.each_byte do |x|
  3.   foo[bin.addr_to_off(0x8048500+i),1] = (x ^ 0x8c).chr
  4.   i+=1
  5. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement