14 lines
218 B
Python
14 lines
218 B
Python
#!/usr/bin/python
|
|
|
|
import sys
|
|
f = open(sys.argv[1], 'rb+')
|
|
license = '1C9210495AA3C9C884B7A37A4C7AD8F9'
|
|
data = f.read()
|
|
match = data.find(license)
|
|
if match > 0:
|
|
f.seek(match)
|
|
f.write('DEAD'*8)
|
|
exit(0)
|
|
exit(-1)
|
|
|