Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foo = bin.encoded; i =0
- foo[bin.addr_to_off(0x8048500),0x6a1].data.each_byte do |x|
- foo[bin.addr_to_off(0x8048500+i),1] = (x ^ 0x8c).chr
- i+=1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement