17 lines
346 B
Python
17 lines
346 B
Python
from sys import argv
|
|
|
|
public_key = b"""safeline-cloud.chaitin.com:50052"""
|
|
|
|
new_public_key = b"""crack-domain-length-is--26:50052"""
|
|
|
|
|
|
with open(argv[1], "rb") as f:
|
|
data = f.read()
|
|
|
|
assert public_key in data
|
|
|
|
assert len(public_key) == len(new_public_key)
|
|
|
|
with open(argv[1], "wb") as f:
|
|
f.write(data.replace(public_key, new_public_key))
|