• Tuts 4 You注册解密(python)


    今天想看个博客,发现一个网站  https://forum.tuts4you.com/register/,注册的时候有个加密码类似于这个

    105 144 167 141 162 144 040 123 141 154 153 040 144 145 166 145 154 157 160 145 144 040 141 040 166 141 143 143 151 156 145 040 141 147 141 151 156 163 164 040 167 150 141 164 077

    还有这个

    127 150 157 040 144 145 166 145 154 157 160 145 144 040 164 150 145 040 107 141 151 141 040 124 150 145 157 162 171 077 

    搜了下是8进制的ascii码,用python写了个转换代码,再看了下别的语言写的,还是python简短

    人生苦短,多用python!

    mima = '127 150 157 040 144 145 166 145 154 157 160 145 144 040 164 150 145 040 107 141 151 141 040 124 150 145 157 162 171 077'
    
    m_ = mima.split(' ')
    result = ''
    for m in m_:
        result += (chr(int(m, 8)))
    print(result)

    'Who developed the Gaia Theory?'

    附加一个貌似有这种问题答案的帖子不是很全凑合看:https://blog.csdn.net/davidhsing/article/details/8300982

  • 相关阅读:
    rs
    stm32f767 usoc3
    stm32f767 RTT 日志
    stm32f767 标准库 工程模板
    stm32f767 HAL 工程模板
    docker tab 补全 linux tab 补全
    docker anconda 依赖 下载 不了
    docker run 常用 指令
    linux scp 命令
    Dockerfile 常用参数说明
  • 原文地址:https://www.cnblogs.com/Robertzewen/p/10068394.html
Copyright © 2020-2023  润新知