Commit 9f154536 by sikang

update script decrypt

parent 9861d579
...@@ -21,7 +21,10 @@ def decrypt(path): ...@@ -21,7 +21,10 @@ def decrypt(path):
line = line.replace("</string>\n", "") line = line.replace("</string>\n", "")
str_name = line.split(">")[0] + ">" str_name = line.split(">")[0] + ">"
str_value = line.split(">")[1] str_value = line.split(">")[1]
randStr = str(random.randint(0, 1000000)) + "#-#" number=""
for i in range(0,random.randint(2,15)):
number += str(random.randint(0,9))
randStr = str(number) + "#-#"
line = str_name + randStr + base64.b64encode(randStr + str_value) + "</string>\n" line = str_name + randStr + base64.b64encode(randStr + str_value) + "</string>\n"
f_w.write(line) f_w.write(line)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment