Akkuman 的博客

习技术,不积跬步无以至千里,不积小流无以成江海

Tuts4you 注册问题解码

只说一个,是八进制, 下面是解码脚本
环境 python3

# -*-coding:utf-8-*-
# Author: Akkuman
# Blog: hacktech.cn

# Tust4You的问题是八进制,所以八进制转ascii即可
# 解码问题
print("Please input the code what you see on register's page of Tust 4 You:")
encode_code = input()
encode_list = encode_code.split()
print("\nthe question is\n")
for i in encode_list:
    i = int(i,8)
    print(chr(i), end="")
留下你的脚步