Instruction | XShield Compiler Tools
𝘾𝙞𝙢𝙤𝙡ょなREQUIREMENTS
Install gcc/clang/tcc, upx, binutils sebelum compile.
Termux (Android):
pkg install gcc tcc upx binutils
Setup Termux:
git clone https://github.com/aetherdev22/XShield.git
cd XShield
chmod +x xc
Self-compile:
./xc xc.c -o xc
USAGE
./xc <script.sh | program.c> [options]
Options:
-m release|debug Build mode (default: release)
-o OUTPUT Nama output binary (default: basename input)
-c auto|gcc|clang|tcc Pilih compiler (default: auto)
--anti-debug Aktifkan anti-debug traps
--anti-vm Aktifkan deteksi anti-VM
--anti-reverse Aktifkan anti-reverse constructor
--self-delete Binary hapus diri setelah eksekusi
--expire YYYY-MM-DD Set tanggal kedaluwarsa binary
--no-upx Skip kompresi UPX
--no-strip Skip strip binary
--save-c Simpan generated .c source
-q / --quiet Sembunyikan semua output
EXAMPLES
./xc script.sh
./xc program.c
./xc script.sh -m release -o mybin
./xc script.sh -m release --anti-debug --anti-vm --anti-reverse --self-delete
./xc script.sh --expire 2026-12-31 --self-delete
./xc script.sh -c tcc -m release -o output
./xc script.sh --save-c
./xc script.sh -m debug
NOTES
- Mode 'release' otomatis jalankan strip dan upx jika tersedia
- Mode 'debug' nonaktifkan strip dan upx, cocok untuk testing
- Flag '--save-c' simpan generated loader sebagai file .c
- Flag '--expire' format YYYY-MM-DD, binary tolak eksekusi setelah tanggal
- Output binary standalone, tidak butuh dependency apapun