rea
Reverse engineer anything with agents, from app behavior down to native binaries.
- 475k
- TypeScript
- MIT
- 5 min ago
Cross-platform shellcode loader & exploit demo framework in C. Supports Win/Linux/macOS with XOR/Base64 encoding, remote payload fetch, and AES encryption. For security research and education.
Repo cchokaaa/shellcode-executor, read from GitHub 15 min ago. cchokaaa has not joined Take My Repo.
cchokaaa/shellcode-executor is a public repo on GitHub by cchokaaa. Cross-platform shellcode loader & exploit demo framework in C. Supports Win/Linux/macOS with XOR/Base64 encoding, remote payload fetch, and AES encryption. For security research and education. It declares the MIT license on GitHub. It is written mainly in C, has 1 stars and last changed on 2026-06-09. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-23.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
่ทจๅนณๅฐ Shellcode ๅ ่ฝฝใ็ผ็ ไธๆง่กๆกๆถ
Cross-Platform Shellcode Loading, Encoding & Execution Framework
Shellcode Executor ๆฏไธไธช็ไบง็บง็่ทจๅนณๅฐๆกๆถ๏ผๆไพๅจๅ ๅญไธญๅ ่ฝฝใ็ผ็ ๅๆง่ก Shellcode ็ๅฎๆด่งฃๅณๆนๆกใ ๅฎ้็จๆดๆด็ๆจกๅๅ C API ่ฎพ่ฎก๏ผๆฏๆๅค็ง็ผ็ ๆนๆกใ่ฟ็จ Payload ่ทๅๅๅฎๅ็ๅฎๅ จๆงๅถใ
Shellcode Executor is a production-grade, cross-platform framework for loading, encoding, and executing shellcode entirely in memory. It features a clean, modular C API with multiple encoding schemes, remote payload fetching, and comprehensive security controls.
| ๅบๆฏ / Use Case | ่ฏดๆ / Description |
|---|---|
| ๐ฌ ๅฎๅ จ็ ็ฉถ / Security Research | ็่งฃ Shellcode ๅ ่ฝฝๅจ็ๅบๅฑๅ็ / Understand how shellcode loaders operate at the OS level |
| ๐ ๆ่ฒๆๅญฆ / Education | ๅญฆไน ๅ ๅญ็ฎก็ใ่ฟ็จๆณจๅ ฅไธ่ง้ฟๆๆฏ / Learn memory management, injection & evasion techniques |
| ๐ก๏ธ ้ฒๅพกๅผๅ / Defense Development | ๆๅปบๅๆต่ฏ EDR/AV ๆฃๆต่งๅ / Build and test EDR/AV detection rules |
| โ๏ธ ็บข้่กๅจ / Red Teaming | ๆๆๆธ้ๆต่ฏไธญ็ๅๆณๅฎๅ จ่ฏไผฐ / Authorized penetration testing engagements |
โ ๏ธ ้่ฆๅฃฐๆ / IMPORTANT: ๆฌๅทฅๅ ทไป ้ๆ่ฒๅๆๆๅฎๅ จๆต่ฏ็จ้ใ ๆช็ปๆๆๅฏน้ไฝ ๆๆๆๆช่ทๆ็กฎ่ฎธๅฏ็็ณป็ปไฝฟ็จๆฌๅทฅๅ ทๆฏ่ฟๆณ็ใ This tool is for educational and authorized security testing only. Unauthorized use against systems you do not own or lack explicit permission to test is illegal.
| ็นๆง / Feature | ่ฏดๆ / Description |
|---|---|
| ๐ ่ทจๅนณๅฐ / Cross-Platform | Windows (VirtualAlloc), Linux & macOS (mmap + MAP_JIT) |
| ๐งฉ ๅค็ง็ผ็ / Multiple Encodings | XOR๏ผๅ้ฎ/ๅค้ฎ๏ผใBase64ใHex ็ผ่งฃ็ |
| ๐ AES-256-CBC ๅ ๅฏ / Encryption | ๅฏ้ OpenSSL ๅ ๅฏๆจกๅ / Optional OpenSSL encryption module |
| ๐ ่ฟ็จ่ทๅ / Remote Fetch | HTTP GET ไธๅๅง TCP Socket ่ฟ็จๅ ่ฝฝ |
| ๐ ๅ ๅญ Dump / Hex Dump | ไธไธ็บงๅ ๅญๅฏ่งๅ / Professional memory visualization |
| โก ๅ ๅญไฟกๆฏ / Memory Info | ่ฟ็จๅ ๅญๅธๅฑ่ช็ / Process memory layout introspection |
| ๐งช ๅฎๆดๆต่ฏ / Comprehensive Tests | 23 ไธชๅๅ ๆต่ฏ่ฆ็ๆๆๆจกๅ / 23 unit tests covering all modules |
| ๐ฆ ๅๆๅปบ็ณป็ป / Dual Build | CMake + GNU Make๏ผๆฏๆ CI/CD |
| ๐ Python ่พ ๅฉๅทฅๅ ท / Python Helper | Shellcode ็ผ็ ไธ็ๆ่ๆฌ |
| ๐ ๅ่ฏญๆณจ้ / Bilingual Comments | ๆๆๆบ็ ๅซไธญ่ฑๅ่ฏญๆณจ้ / All source files with CN/EN comments |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ็จๆทๅบ็จๅฑ / User Application โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ scloader-cli (CLI ๅ
ฅๅฃ) ็คบไพ็จๅบ / examples/{basic,xor} โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ scloader (้ๆๅบ / Static Library) โ
โโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโค
โ loader โ encoder โ utils โ remote โ crypto โ
โ ๅ ่ฝฝๅจ โ ็ผ็ ๅจ โ ๅทฅๅ
ทๅฝๆฐ โ ่ฟ็จ่ทๅ โ ๅ ๅฏๆจกๅ โ
โโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโค
โ ๅนณๅฐๆฝ่ฑกๅฑ / Platform Abstraction โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Windows (Win32 API)โ POSIX (mmap / mprotect) โ
โโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| ๆจกๅ / Module | ๆไปถ / File | ่่ดฃ / Responsibility |
|---|---|---|
| Loader ๅ ่ฝฝๅจ | src/loader/loader.c |
ๅฏๆง่กๅ
ๅญๅ้
(VirtualAlloc/mmap)ใShellcode ๅๅ
ฅไธๆง่กๅ่ฐ |
| Encoder ็ผ็ ๅจ | src/encoder/encoder.c |
XOR๏ผๅ้ฎ/ๅค้ฎ๏ผๅ ่งฃๅฏ่ฐๅบฆ |
| XOR ๅผๆ | src/encoder/xor.c |
XOR ๅ้ฎไธๅค้ฎๆ ธๅฟๅฎ็ฐ |
| Base64 | src/encoder/base64.c |
ๆ ๅ Base64 ็ผ่งฃ็ |
| Utils ๅทฅๅ ท | src/utils/utils.c |
Hex Dumpใๅญ่่ฝฌๆขใๅ ๅญไฟกๆฏๆฅ่ฏข |
| Hex | src/utils/hex.c |
ๅๅ ญ่ฟๅถๅญ็ฌฆไธฒไธๅญ่ๆฐ็ปไบ่ฝฌ |
| Memory Info | src/utils/memory_info.c |
/proc/self/maps ่งฃๆไธๅ
ๅญๅธๅฑๅฑ็คบ |
| Remote ่ฟ็จ | src/remote/remote.c |
HTTP GET ไธๅๅง TCP Socket ๆฐๆฎ่ทๅ |
| Crypto ๅ ๅฏ | src/crypto/crypto.c |
AES-256-CBC ๅ ่งฃๅฏ๏ผๅฏ้ OpenSSL๏ผ |
โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ
โ ๅๅงๆฐๆฎ โโโโโโ XOR็ผ็ โโโโโโ Base64 โโโโโโ Hex โโโโโ ๆไปถ/็ฝ็ป
โ Raw Byte โ โ XOR Encodeโ โ Encode โ โ Encode โ File/Network
โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ
โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ
โ ๅฏๆง่กๅ
ๅญ โโโโโโ XOR่งฃ็ โโโโโโ Base64 โโโโโโ Hex โโโโโ ๆไปถ/็ฝ็ป
โ Exec Mem โ โ XOR Decodeโ โ Decode โ โ Decode โ File/Network
โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ
ๆฏๅฑ็ผ็ ๅฏ็ฌ็ซๅบ็จ๏ผๅ ่ฝฝๆถๆ้่งฃ็ ใๆฏๆๅๅ็ด้๏ผไป ไฝฟ็จๅ ถไธญไธ็งๆๅค็ง็ปๅ๏ผใ Each encoding layer can be independently applied and decoded at load time. Supports pass-through with any combination of encodings.
# Linux (Debian/Ubuntu)
sudo apt-get install build-essential cmake
# macOS
xcode-select --install # ๅฎ่ฃ
ๅฝไปค่กๅทฅๅ
ท / Install command line tools
brew install cmake # ๅฎ่ฃ
CMake
# Windows
# ๅฎ่ฃ
Visual Studio 2022๏ผ้ๆฉ"ไฝฟ็จ C++ ็ๆก้ขๅผๅ"
# Install Visual Studio 2022 with "Desktop development with C++"
# ๅฎ่ฃ
CMake: https://cmake.org/download/
# ๆๅจ PowerShell ไธญ:
# winget install Microsoft.VisualStudio.2022.Community
# winget install Kitware.CMake
# ๅ
้ไปๅบ / Clone the repository
git clone https://github.com/YOUR_USERNAME/shellcode-executor.git
cd shellcode-executor
# ้
็ฝฎๅนถ็ผ่ฏ / Configure and build
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j$(nproc)
# ่ฟ่กๆต่ฏ / Run tests
cd build && ctest --output-on-failure
# ๆๅปบ Release ็ๆฌ / Build release
make
# ๆๅปบ Debug ็ๆฌ๏ผๅซ่ฐ่ฏ็ฌฆๅท๏ผ/ Build with debug symbols
make debug
# ่ฟ่กๅ
จ้จๆต่ฏ / Run all tests
make test
# ๆธ
็ๆๅปบไบง็ฉ / Clean build artifacts
make clean
# ๆฅ็็ๆฌ / Check version
./build/scloader-cli -v
# ๆฅ็็ณป็ปๅ
ๅญไฟกๆฏ / View memory info
./build/scloader-cli --info
# ๆง่กๆๅฐ Shellcode (INT3 + RET)
./build/scloader-cli -x "CC C3"
ๅฆๆ็ๅฐ็ฑปไผผ่พๅบ๏ผ่ฏดๆๆๅปบๆๅ๏ผ If you see output similar to below, the build is successful:
[*] Loader Configuration:
โ Method: mmap (RWX)
โ Platform: Linux
โ Clear After Exec: enabled
[*] Shellcode (2 bytes): CC C3
[*] Allocating executable memory... OK (at 0x7f1234560000)
[*] Writing 2 bytes... OK
[*] Executing... OK
[+] Shellcode executed successfully.
# ้่ฟๅๅ
ญ่ฟๅถๅๆฐ็ดๆฅๆง่ก / Execute from hex argument
./build/scloader-cli -x "CC C3" # INT3 + RET
# ๅธฆ Hex Dump ่พๅบ / With hex dump visualization
./build/scloader-cli -x "90 90 90 90 CC C3" --dump
# ไปไบ่ฟๅถๆไปถๅ ่ฝฝ / Load from binary file
echo -n -e '\xCC\xC3' > payload.bin
./build/scloader-cli payload.bin
# ไฝฟ็จ Python ๅทฅๅ
ท็ผ็ / Encode with Python helper
python3 scripts/encode_shellcode.py xor --key AB payload.bin -o encoded.bin
# ไปฅ XOR ็ผ็ ๆนๅผๅ ่ฝฝๆง่ก / Load with XOR decoding
./build/scloader-cli -e xor -k AB encoded.bin
# ๅ
ๅฏๅจ HTTP ๆๅกๆไพ payload / Start HTTP server serving payload
python3 -m http.server 8080 &
# ่ฟ็จ่ทๅๅนถๆง่ก / Fetch and execute remotely
./build/scloader-cli -r http://127.0.0.1:8080/payload.bin
# ๆฅ็ๅฎๆดๅ
ๅญๆ ๅฐ / View full memory mappings
./build/scloader-cli --info
# ่พๅบ็คบไพ / Example output:
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# โ ่ฟ็จๅ
ๅญไฟกๆฏ / Process Memory Info โ
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# PID: 12345
# Total VM: 2.5 GB
# Stack: 132 KB
# Heap: 64 KB
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# Address Perms Offset Path
# 0x400000-0x401000 r-xp 0x0000 /usr/bin/scloader-cli
# 0x401000-0x402000 r--p 0x0000 /usr/bin/scloader-cli
# ... (truncated)
#include "scloader.h"
#include <stdio.h>
int main(void) {
/**
* ๆ็ฎๅ็ Shellcode๏ผINT3 ่งฆๅๆญ็น๏ผRET ๅฎๅ
จ่ฟๅ
* Minimal shellcode: INT3 triggers debug breakpoint, RET returns safely
*/
unsigned char shellcode[] = { 0xCC, 0xC3 };
/**
* ไฝฟ็จ้ป่ฎค้
็ฝฎๆง่ก / Execute with default config
* ้ป่ฎคไผๅจๆง่กๅๆธ
็ฉบๅ
ๅญไปฅ่ง้ฟๅ่ฏๅๆ
* Default clears memory after execution to evade forensic analysis
*/
scl_status_t status = scl_load_and_exec(shellcode, sizeof(shellcode), NULL);
if (status == SCL_OK) {
printf("[โ] Shellcode ๆง่กๆๅ / Executed successfully!\n");
} else {
fprintf(stderr, "[โ] ๆง่กๅคฑ่ดฅ / Failed: %d\n", status);
return 1;
}
return 0;
}
# ็ผ่ฏไฝ ็็จๅบ / Compile your program
gcc -I src my_program.c -L build -lscloader -o my_program
# XOR ็ผ็ / XOR encode
python3 scripts/encode_shellcode.py xor --key AB payload.bin -o encoded.bin
# Base64 ็ผ็ / Base64 encode
python3 scripts/encode_shellcode.py base64 payload.bin -o encoded.b64
# Hex ๆ ผๅผๅไธบ C ๆฐ็ป / Format as C array
python3 scripts/encode_shellcode.py hex --style carray payload.bin
# Hex Dump ๆฅ็ / Hex dump view
python3 scripts/encode_shellcode.py hex --style hexdump payload.bin
# ็ๆ Linux execve("/bin/sh") Shellcode / Generate Linux execve shellcode
python3 scripts/encode_shellcode.py generate --platform linux --type execve -o shellcode.bin
# ็ๆ Linux ่ฏปๆไปถ Shellcode / Generate Linux read_file shellcode
python3 scripts/encode_shellcode.py generate --platform linux --type read_file -o readfile.bin
# ๆนๅผไธ๏ผMake ไธ้ฎๆต่ฏ๏ผๆจ่๏ผ/ Make one-command test (recommended)
make test
# ๆนๅผไบ๏ผCMake + CTest
cd build && ctest --output-on-failure --verbose
# ๆนๅผไธ๏ผๅ็ฌ่ฟ่กๆฏไธชๆต่ฏ / Run individual tests
./build/tests/test_encoder
./build/tests/test_loader
./build/tests/test_utils
# ็ๆไปฃ็ ่ฆ็็ๆฅๅ / Generate code coverage report
make coverage
# ๆต่งๅจๆๅผ / Open in browser: coverage/report.html
| ๆต่ฏๆไปถ / Test File | ็จไพๆฐ / Cases | ่ฆ็ๆจกๅ / Coverage |
|---|---|---|
test_encoder.c |
7 | XOR ๅ/ๅค้ฎใBase64ใ่พน็ๆกไปถ |
test_loader.c |
8 | ๅ ๅญๅ้ ใๅๅ ฅใๆง่กใ้ๆพ |
test_utils.c |
7 | Hex ็ผ่งฃ็ ใNULL ๅค็ใ็ผๅฒๅบ่พน็ |
| ้้กน / Option | ้ป่ฎค / Default | ่ฏดๆ / Description |
|---|---|---|
ENABLE_TESTS |
ON |
ๆๅปบๅๅ ๆต่ฏ / Build unit tests |
ENABLE_EXAMPLES |
ON |
ๆๅปบ็คบไพ็จๅบ / Build example programs |
ENABLE_ASAN |
OFF |
ๅฏ็จ AddressSanitizer ๅ ๅญๆฃๆต |
ENABLE_UBSAN |
OFF |
ๅฏ็จ UndefinedBehaviorSanitizer |
ENABLE_COVERAGE |
OFF |
ๅฏ็จไปฃ็ ่ฆ็็ๆๆกฉ |
ENABLE_STATIC_ANALYSIS |
OFF |
ๅฏ็จ Clang-Tidy ้ๆๅๆ |
WITH_ENCRYPTION |
OFF |
ๅฏ็จ OpenSSL AES-256-CBC ๅ ๅฏๆจกๅ |
WITH_REMOTE |
ON |
ๅฏ็จ่ฟ็จ Shellcode ่ทๅๆจกๅ |
# Debug ๆจกๅผ + ๅฐๅๆถๆฏ + ๆต่ฏ / Debug + ASan + tests
cmake -B build -DCMAKE_BUILD_TYPE=Debug -DENABLE_ASAN=ON
# ๅๅธๆจกๅผ + OpenSSL ๅ ๅฏ / Release + OpenSSL encryption
cmake -B build -DCMAKE_BUILD_TYPE=Release -DWITH_ENCRYPTION=ON
# ๅฎๆดๆๅปบ๏ผๅ
ๅซ่ฆ็็๏ผ/ Full build with coverage
cmake -B build -DCMAKE_BUILD_TYPE=Debug \
-DENABLE_COVERAGE=ON \
-DENABLE_STATIC_ANALYSIS=ON
# ๆๅฐๆๅปบ๏ผๆ ็คบไพใๆ ๆต่ฏ๏ผ/ Minimal build
cmake -B build -DENABLE_TESTS=OFF -DENABLE_EXAMPLES=OFF
shellcode-executor/
โโโ .github/workflows/ # CI/CD ๆตๆฐด็บฟ / Pipelines
โ โโโ build.yml # ๅคๅนณๅฐ็ผ่ฏไธๆต่ฏ / Build & Test
โ โโโ lint.yml # ไปฃ็ ่ดจ้ๆฃๆฅ / Lint & Analyze
โ
โโโ src/ # ๆ ธๅฟๆบ็ / Core Source
โ โโโ scloader.h # ๐ ็ปไธ API ไธปๅคดๆไปถ / Master Header
โ โโโ main.c # ๐ฅ๏ธ CLI ๅ
ฅๅฃ (getopt ๅๆฐ่งฃๆ)
โ โ
โ โโโ loader/ # ๐ฆ ๅ ่ฝฝๅจๆจกๅ / Loader Module
โ โ โโโ loader.h # ๅ ่ฝฝๅจๆฅๅฃๅฃฐๆ
โ โ โโโ loader.c # VirtualAlloc / mmap ๅฎ็ฐ
โ โ
โ โโโ encoder/ # ๐ ็ผ็ ๅจๆจกๅ / Encoder Module
โ โ โโโ encoder.h # ็ผ็ ๅจ็ปไธๆฅๅฃ
โ โ โโโ encoder.c # ็ผ็ ่ฐๅบฆ
โ โ โโโ xor.c # XOR ๅ้ฎ/ๅค้ฎ
โ โ โโโ base64.c # Base64 ็ผ่งฃ็
โ โ
โ โโโ utils/ # ๐ ๏ธ ๅทฅๅ
ทๆจกๅ / Utility Module
โ โ โโโ utils.h # ๅทฅๅ
ทๆฅๅฃๅฃฐๆ
โ โ โโโ utils.c # Hex Dump / ๅ
ถไปๅทฅๅ
ท
โ โ โโโ hex.c # ๅๅ
ญ่ฟๅถไธๅญ่ไบ่ฝฌ
โ โ โโโ memory_info.c # ๅ
ๅญๅธๅฑๆฅ่ฏข (/proc/self/maps)
โ โ
โ โโโ remote/ # ๐ ่ฟ็จ่ทๅๆจกๅ / Remote Module
โ โ โโโ remote.h # ่ฟ็จ่ทๅๆฅๅฃ
โ โ โโโ remote.c # HTTP GET + TCP Socket ๅฎ็ฐ
โ โ
โ โโโ crypto/ # ๐ ๅ ๅฏๆจกๅ / Crypto Module
โ โโโ crypto.h # ๅ ๅฏๆฅๅฃ
โ โโโ crypto.c # AES-256-CBC (OpenSSL)
โ
โโโ examples/ # ๐ก ็คบไพ็จๅบ / Examples
โ โโโ basic_loader.c # ๅบ็กๅ ่ฝฝๅจ็คบไพ
โ โโโ xor_encoded.c # XOR ็ผ็ ๅ ่ฝฝ็คบไพ
โ โโโ remote_fetch.c # ่ฟ็จ่ทๅ็คบไพ
โ
โโโ tests/ # ๐งช ๅๅ
ๆต่ฏ / Unit Tests
โ โโโ test_encoder.c # ็ผ่งฃ็ ๆต่ฏ (7 cases)
โ โโโ test_loader.c # ๅ ่ฝฝๅจๆต่ฏ (8 cases)
โ โโโ test_utils.c # ๅทฅๅ
ทๆต่ฏ (7 cases)
โ
โโโ scripts/ # ๐ ่พ
ๅฉ่ๆฌ / Scripts
โ โโโ build.sh # ๆๅปบ่ๆฌ (CMake ๅฐ่ฃ
)
โ โโโ encode_shellcode.py # Shellcode ็ผ็ ๅทฅๅ
ท
โ
โโโ docs/ # ๐ ๆๆกฃ / Documentation
โ โโโ ARCHITECTURE.md # ๆถๆ่ฎพ่ฎกๆๆกฃ
โ โโโ API.md # API ๅ่ๆๆกฃ
โ โโโ SECURITY.md # ๅฎๅ
จ็ญ็ฅไธๅ่ง
โ
โโโ CMakeLists.txt # ๐ CMake ๆๅปบ้
็ฝฎ
โโโ Makefile # ๐ GNU Make ๆๅปบ็ณป็ป
โโโ .clang-format # โจ ไปฃ็ ้ฃๆ ผ้
็ฝฎ
โโโ .gitignore # ๐ Git ๅฟฝ็ฅ่งๅ
โโโ CONTRIBUTING.md # ๐ค ่ดก็ฎๆๅ
โโโ LICENSE # ๐ MIT ๅผๆบ่ฎธๅฏ
โโโ README.md # ๐ ๆฌๆไปถ
ๆกๆถๆ นๆฎ็ฎๆ ๅนณๅฐ่ชๅจ้ๆฉๆไผ็ๅ ๅญๅ้ ๆนๅผ๏ผ The framework automatically selects the optimal memory allocation method for the target platform:
| ๅนณๅฐ / Platform | ็ณป็ป่ฐ็จ / System Call | ไฟๆคๆ ๅฟ / Protection Flags |
|---|---|---|
| Windows | VirtualAlloc |
MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE |
| Linux | mmap |
PROT_READ | PROT_WRITE | PROT_EXEC |
| macOS | mmap + pthread_jit_write_protect_np |
PROT_READ | PROT_WRITE | PROT_EXEC |
ๆง่กๅ๏ผๅ
ๅญๅฏ่ขซๅฏ้ๅฐๆธ
้ถ (memset(ptr, 0, size)) ๅๅ้
ๆพ๏ผไปฅ้ฒๆญขๅ่ฏๆขๅคใ
After execution, memory can be optionally zeroed before release to prevent forensic recovery.
ๅๅงๆฐๆฎ / Raw Data
โ
โโโโ [XOR ็ผ็ / XOR Encode] โ ๆททๆท / Obfuscation
โ ๆฏๆๅ้ฎๅๅค้ฎ / Single & multi-key
โ
โโโโ [Base64 ็ผ็ / Base64 Encode] โ ๆๆฌๅ
ผๅฎน / Text-safe
โ ๆ ๅ Base64 ๅญ็ฌฆ้
โ
โโโโ [Hex ็ผ็ / Hex Encode] โ ๅฏ่ฏปๆง / Readability
โ ๅคงๅๅๅ
ญ่ฟๅถ / Uppercase hex
โ
โโโโ [AES-256-CBC ๅ ๅฏ] โ ้ซๅผบๅบฆ / Strong crypto
(ๅฏ้ OpenSSL / Optional)
| ๅฎๅ จๅ ณๅ / Concern | ็ผ่งฃๆชๆฝ / Mitigation |
|---|---|
| ๅ ๅญๆซๆ / Memory scanning | ๅฏ้ๆง่กๅๆธ ็ฉบ / Optional clear-after-execute |
| ็ญพๅๆฃๆต / Signature detection | XOR/Base64 ็ผ็ ็ป่ฟ้ๆๆฃๆต |
| ็ฝ็ปๆฆๆช / Network interception | AES-256-CBC ็ซฏๅฐ็ซฏๅ ๅฏ |
| ๆชๆๆ่ฎฟ้ฎ / Unauthorized access | ๆไปถๆ้ๆงๅถ + ไฝฟ็จ้กป็ฅๅฃฐๆ |
ๆฌข่ฟ่ดก็ฎ๏ผ่ฏทๅ ้ ่ฏป CONTRIBUTING.md ไบ่งฃ่ฏฆๆ ใ Contributions are welcome! Please read our Contributing Guidelines.
# 1. Fork ๆฌไปๅบ / Fork this repository
# 2. ๅๅปบ็นๆงๅๆฏ / Create your feature branch
git checkout -b feature/amazing-feature
# 3. ๆ ผๅผๅไปฃ็ / Format your code
make format
# 4. ่ฟ่ก้ๆๅๆ / Run static analysis
make analyze
# 5. ็กฎไฟๆต่ฏ้่ฟ / Ensure all tests pass
make test
# 6. ๆไบคๅนถๆจ้ / Commit and push
git commit -m 'feat: add amazing feature'
git push origin feature/amazing-feature
# 7. ๅ่ตท Pull Request / Open a Pull Request
.clang-format ้ฃๆ ผ้
็ฝฎๆฌ่ฝฏไปถ้็จ MIT License ๅผๆบๅๅธใ่ฏฆ่ง LICENSEใ Distributed under the MIT License. See LICENSE for details.
ไธญๆ๏ผ ๆฌ่ฝฏไปถไป ้ๆ่ฒๅๆๆๅฎๅ จๆต่ฏ็จ้ใไฝ่ ไธ่ดก็ฎ่ ๅฏนไปปไฝๆปฅ็จๆ็ฑๆญคๅทฅๅ ท้ ๆ็ๆๅฎณๆฆไธ่ด่ดฃใ ไฝฟ็จ่ ๆ่ดฃไปป้ตๅฎๆๆ้็จ็ๆณๅพๆณ่งใๆช็ปๆๆๆง่ก Shellcode ๅฏ่ฝ่ฟๅ่ฎก็ฎๆบ็ฏ็ฝช็ธๅ ณๆณๅพใ
English: This software is provided for educational and authorized security testing purposes only. The authors and contributors are not responsible for any misuse or damage caused by this tool. Users are solely responsible for complying with all applicable laws and regulations. Unauthorized shellcode execution may violate computer crime laws.
cchokaaa/shellcode-executor is a public repo on GitHub by cchokaaa. Cross-platform shellcode loader & exploit demo framework in C. Supports Win/Linux/macOS with XOR/Base64 encoding, remote payload fetch, and AES encryption. For security research and education.
It declares the MIT license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-06-09. Take My Repo does not judge from that whether it is maintained.
Reverse engineer anything with agents, from app behavior down to native binaries.

Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
A list of Free Software network services and web applications which can be hosted on your own servers

A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.
Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

A collection of various awesome lists for hackers, pentesters and security researchers
A simple, lightweight PowerShell script that allows you to remove pre-installed apps, disable telemetry, as well as perform various other changes to declutter and customize your Windows experience. Win11Debloat works for both Windows 10 and Windows 11.
Secure file encryption tool using AES-128 (Fernet) with PBKDF2 key derivation and unique salting for enhanced cryptographic security.
A Python tool to scrape real-time air quality data (AQI, PM2.5, PM10, Oโ, NOโ, SOโ, CO) for 18 cities in Henan Province, China, using the free WAQI (aqicn.org) API. Data is exported as CSV and JSON files. Fully bilingual (Chinese/English) comments. Easy to use, open source under MIT license.
Professional malware hash scanner with VirusTotal API integration, file type verification, threat scoring, historical tracking, and JSON/PDF reporting.
Professional password auditing tool with Shannon entropy analysis, K-Anonymity breach detection, dictionary-based screening, batch processing, and JSON report export.
Website Information Scanner - A Python-based tool for gathering website information including IP lookup, title detection, HTTP status, DNS records, Whois lookup, port scanning, and GeoIP geolocation.
Learing how to use github first time and how to create a repository!