# DllToShellCode **Repository Path**: longsir9627/DllToShellCode ## Basic Information - **Project Name**: DllToShellCode - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-20 - **Last Updated**: 2025-11-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DllToShellCode Fast Conversion Windows Dynamic Link Library To ShellCode ## Features * Support 32-bits and 64-bits * Support Compression(using ntdll RtlCompressBuffer function or aplib) * Support two modes * Direct invoke dllmain(lpReserved as parameter),if you don't want using the dll internal functions * Invoke the shellcode will return the address of export function, so you can use it in anywhere ## OverView >Few Assembly used, almost all code are developed in C language(only use assembly language in 32-bits self-delta) >Develop by Visual Studio 2013 ## Usage BinToHex: DllToShellCode b Compress File: DllToShellCode c mode Dll To ShellCode: DllToShellCode d shellcode_mode compress_mode Compress File mode 0 = compress with ntdll 1 = compress with aplib DllToShellCode shellcode_mode 0 = only call dllmain, is the dllmain param lpReserved 1 = return export address, is the export name DllToShellCode compress_mode 0 = no compress 1 = compress with ntdll 2 = compress with aplib