爱意满满的作品展示区。
huntzhan

Show V2EX: pywhlobf,一个 Python 代码混淆工具

  •  
  •   huntzhan ·
    huntzhan · Feb 23, 2021 · 2860 views
    This topic created in 1916 days ago, the information mentioned may be changed or developed.

    传送门: https://github.com/huntzhan/pywhlobf/blob/master/README_zh.md

    pywhlobf 是一个 Python 代码混淆工具,输入为 wheel 格式分发包 (也就是说,您首先得执行如 python -m build --wheel 的命令将项目打成 wheel 包,然后才能使用本工具),输出为混淆后的 wheel 包。包中所有的 .py Python 文件将会编译替换为目标平台的 .so 文件,从而达到混淆 /保护代码的目的。

    2 replies    2021-02-23 17:44:02 +08:00
    abersheeran
        1
    abersheeran  
       Feb 23, 2021
    看了一下,是封装了 Cython ?
    huntzhan
        2
    huntzhan  
    OP
       Feb 23, 2021
    @abersheeran 是的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3688 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 05:01 · PVG 13:01 · LAX 22:01 · JFK 01:01
    ♥ Do have faith in what you're doing.