chore: sdgb140

This commit is contained in:
mokurin000
2025-07-30 01:43:30 +08:00
parent c304c24863
commit 41a2ad5ae1
3 changed files with 6 additions and 3 deletions

View File

@@ -144,6 +144,8 @@ def apiSDGB(
# 处理响应内容 # 处理响应内容
responseContentRaw = response.content responseContentRaw = response.content
print(list(responseContentRaw))
# 先尝试解密 # 先尝试解密
try: try:
responseContentDecrypted = aes.decrypt(responseContentRaw) responseContentDecrypted = aes.decrypt(responseContentRaw)

View File

@@ -14,6 +14,6 @@ def apiGetUserPreview(userId, noLog: bool = False) -> str:
# CLI 示例 # CLI 示例
if __name__ == "__main__": if __name__ == "__main__":
# userId = input("请输入用户 ID") userId = input("请输入用户 ID")
userId = testUid8 # userId = testUid8
print(apiGetUserPreview(userId)) print(apiGetUserPreview(userId))

View File

@@ -53,7 +53,7 @@ def main_sdga():
print(str(decompressedData)) print(str(decompressedData))
def main_sdgb(): def main_sdgb140():
# 填入你的想解密的数据的 base64 编码 # 填入你的想解密的数据的 base64 编码
base64_encoded_data = "eJyrTVvpuGwCR32OdodwtVXZ7/Ofmfhin7k/K61q3XNoad1rAPGwECU=" base64_encoded_data = "eJyrTVvpuGwCR32OdodwtVXZ7/Ofmfhin7k/K61q3XNoad1rAPGwECU="
@@ -71,3 +71,4 @@ def main_sdgb():
if __name__ == "__main__": if __name__ == "__main__":
main_sdga() main_sdga()
main_sdgb140()