如何将 python 文件从压缩转换为 base64?

如何将 python 文件从压缩转换为 base64?

我有这样的 python 文件

import marshal
exec(marshal.loads(base64.b64decode('YwAAAAAAAAAAAwAAAEAAAABzbAQAAGQAAGQBAGwAAG0BAFoBAAFkAABkAgBsAgBtAwBaAwABZAAAZAMAbAQAbQUAWgUAAWQEAFoGAGQAAGQFAGwHAFRkAABkBgBsCABtCQBaCQBtCgBaCgABZAAAZAcAbAsAbQwAWgwAbQ0AWg0AbQ4AWg4AbQ8AWg8AbRAAWhAAbREAWhEAbRIAWhIAAWQAAGQIAGwTAG0UAFoUAG0VAFoVAAFkAABkCQBsFgBtFwBaFwABZAAAZAoAbBgAbRkAWhkAAWQAAGQLAGwaAG0bAFobAAFkAABkDABsHABtHQBaHQABZAAAZA0AbB4AbR8AWh8AAWQAAGQOAGwgAG0hAFohAAFkAABkDwBsIgBtIwBaIwABZAAAZBAAbCQAbSUAWiUAAWQAAGQRAGwmAG0nAFonAG0oAFooAG0pAFopAAFkAABkEgBsKgBtKwBaKwBtLABaLABtLQBaLQBtLgBaLgBtLwBaLwBtMABaMABtMQBaMQBtMgBaMgBtMwBaMwBtNABaNABtNQBaNQBtNgBaNgBtNwBaNwABZAAAZBMAbDgAbTkAWjkAAWQAAGQUAGw6AG07AFo7AG08AFo8AG09AFo9AG0+AFo+AAFkAABkFQBsPwBtQABaQAABZAAAZBYAbEEAbUIAWkIAbUMAWkMAAXkaAGQAAGQXAGxEAG1FAFpFAAFlRQBaRgBXbhcAAQEBZAAAZBgAbEcAbUYAWkYAAW4BAFhlNgCDAABlNQBqSABfSQBlNwBkGQBlSgCDAAFlNQBqSABqSQBfSwBlNwBkGQBlSgCDAAFlNQBqSABqSQBfTABlNwBkGQBlSgCDAAFlNQBqSABqSQBfTQBkAABkGgBsTgBtTwBaTwBtUABaUAABZAAAZBsAbFEAWlEAZAAAZBsAbFIAWlIAZAAAZBsAbFMAWlMAZAAAZBsAbFQAWlQAZAAAZBsAbFUAWlUAZAAAZBsAbF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kAgCDAQBqBQCDAAB9CgBuBgBkAQB9CgB8BgBkAQBrAwByRQF8CABkAQBrAwByRQF8CQBkAQBrAwByRQFkAwB9BAB8BwBkBABrAQBz6gB8BwBkBQBrBQByBAF8AABkBgAZag0AdA4AZAcAgwEAgwEAAXGXAWQIAHQPABd8BgAXZAkAF3wEABdkCgAXfAUAF2QLABd8CAAXZAwAF3wIABdkDQAXZAEAF2QOABd0EAAXfQMAblIAfAYAZAEAawIAcpEBZA8AfQQAfAoAZAEAawMAcogBZAgAfAoAF2QJABd8BAAXZAoAF3wFABdkDgAXdBAAF30DAHGXAWQBAH0DAG4GAGQBAH0DAHwDAGQBAGsDAHKMA2QQAH0LAHwAAGoRAHwLAGQRAGQSAIMDAH0LAHwAAGoRAHwLAGQTAGQUAIMDAH0MAHwLAGQBAGsDAHJyA3wMAGQBAGsDAHJyA3wMAGoFAIMAAH0NAHwNAHwDABd9AwB8AABqEgB8AwBkFQBkAQCDAwB9DgB8DgB0EwBrAgByWAN8AABqFABkFQCDAQB9DwB8AABqFQBkFQCDAQB9EAB8EAB0EwBrAgByPgN8DwBkFgBrAgBy7wJ8AABqFgBkFwCDAQB9EQB8EQByzAJ8BABkAwBrAgBzhQJ8BABkGABrAgByzAJ0FwBqGABkGQCDAQABfAAAahkAahoAfAAAahsAdBwAdA4AZBoAfAAAZBsAGWoEAIMAABdkHAAXgwEAdBwAah0AgwQAAXE7A3wRAHM7A3wAAGQGABlqDQB0DgBkHQCDAQCDAQABcTsDcVUDfA8AZBkAawIAchUDfAAAZAYAGWoNAHQOAGQeAIMBAIMBAAFxVQN8DwBkHwBrAgByVQN8AABkBgAZag0AdA4AZCAAgwEAgwEAAXFVA3FvA3wAAGQGABlqDQB0DgBkIQCDAQCDAQABcYkDfAAAZAYAGWoNAHQOAGQ')))

如何转换为普通字符串文件?!!

答案1

您可以通过几乎任何 Base64 解码器运行此操作,包括网上可以买到的。 或者,这个答案来自近 10 年前,展示了如何从命令行解码仍然非常有效:

echo QWxhZGRpbjpvcGVuIHNlc2FtZQ== | base64 --decode

答案2

我从一些朋友那里找到了这个 coe。而且工作正常

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# collect By Aime_jeux
###########################################################################
import marshal,base64,zlib
import sys
from sys import stdout
from uncompyle6.main import decompile
import py_compile
###########################################################################
def main():
        FileSource = '/home/user/Desktop/plugin.py'
        ############################## READ FILE ###################################
        fileR = open(FileSource, 'r')
        text = fileR.read()
        fileR.close()
        ############################## CLEAR TXT_FILE ##############################
        TxT = text.replace('import base64\nexec(base64.b64decode(','').replace('))','')
        _Dons = base64.b64decode(TxT)
        _Dons = _Dons.replace('import marshal\n','').replace('exec(marshal.loads(','').replace(')))','').replace('base64.b64decode(','')
        ############################## DECOMPRES TXT_FILE WITH MARSHAL #############
        _Dons =  marshal.loads(base64.b64decode(_Dons))
        #_Donns = decompile(2.7, _Dons,stdout)
        ############################## OUT FILE ####################################
        OutPutFile = '/home/user/Desktop/MyFileOut.py'
        F = file(OutPutFile,"w")
        F.write(decompile(2.7, _Dons,stdout).text)
        F.close()

if __name__=='__main__':
     main()

相关内容