mirror of
https://github.com/barberd/depace.git
synced 2024-06-03 00:29:31 +00:00
17 lines
247 B
Python
Executable File
17 lines
247 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
noops = [
|
|
[0xa812,0xa843]
|
|
]
|
|
|
|
fh=open("_.bin","r+b")
|
|
|
|
for myrange in noops:
|
|
i=myrange[0]+0x80
|
|
while i<=(myrange[1]+0x80):
|
|
fh.seek(i)
|
|
fh.write((0x4e71).to_bytes(2,'big'))
|
|
i+=2
|
|
|
|
fh.close()
|