from Crypto.Util.number import bytes_to_long with open("D:\\chorme的废物\\0eaf8d6c-3fe5-4549-9e81-94ac42535e7b (1)\\flag.enc","rb") as f: #以二进制读模式,读取密文 f = f.read() print(bytes_to_long(f)) #c=29666689760194689065394649908301285751747553295673979512822807815563732622178