This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// yarn add binary-cookies bplist-parser | |
/* | |
To get the Steamguard file, you don't necessarily need to be jailbroken, but | |
if you're jailbroken: head to | |
/private/var/mobile/Containers/Data/Application/6BE5C937-51C0-4365-811D-F2717BAD1213/Documents | |
and you can get them. I'm not sure the UUID is same on all devices, but this is the actual path | |
on my device (iOS 12) | |
If you're non-jailbroken, you need to get an unencrypted backup using iTunes, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
import string | |
from collections import namedtuple | |
def str_count(s): | |
'''找出字符串中的中英文、空格、数字、标点符号个数''' | |
count_en = count_dg = count_sp = count_zh = count_pu = 0 |