update
This commit is contained in:
16
replace.py
Normal file
16
replace.py
Normal file
@@ -0,0 +1,16 @@
|
||||
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))
|
||||
Reference in New Issue
Block a user