Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShellcodeConverter

A small Windows utility that converts a compiled driver.sys into a shellcode.h header file.
This is useful if you want to embed your driver directly into a C++ project as a static byte array.

✨ Features

  • Open file dialog to select your driver.sys
  • Converts the binary into a uint8_t shell_driver[] array
  • Automatically generates shellcode.h next to the executable
  • Outputs array length as shell_driver_len
  • Simple and fast – no external dependencies

📂 Example Output (shellcode.h)

#pragma once
#include <cstdint>

uint8_t shell_driver[9216] = {
    0x4D, 0x5A, 0x90, 0x00, /* ... */
};

const unsigned int shell_driver_len = 9216;

🚀 How to Use

  1. Compile the project in Visual Studio (x64, Release recommended).
  2. Run ShellcodeConverter.exe.
  3. A file dialog will open – select your driver.sys.
  4. shellcode.h will be created in the same folder as the executable.
  5. Include shellcode.h in your injector project.

🛠️ Build Instructions

  • Open the .sln in Visual Studio.
  • Make sure you use C++17 or higher.
  • Build the project (Debug or Release).

📦 Requirements

  • Windows 10/11
  • Visual Studio 2019/2022
  • No external libraries needed

📜 License

This project is released under the MIT License.
See LICENSE for details.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages