Nightmare is a client/server framework for Windows and Linux. It includes a Windows GUI, a CLI, dynamically loaded modules and a compiler that prepares the project dependencies and binaries.
⚠️ This project is intended for educational and authorized security research only. Please read LICENSE before using or modifying it.
Right now, the Windows workflow is quite simple: install the build prerequisites, compile the Nightmare Compiler, run it as administrator and let it take care of the rest.
Before compiling anything, install the following:
- GCC Compiler (64-bit) from WinLibs. Make sure
gccis available from your terminal. - Visual Studio 2022 with the Desktop development with C++ workload and .NET Desktop Development Tools.
The full Windows requirements are described in Setup.
Run this command from the project root using a GCC toolchain that supports the Windows libraries used by the compiler:
gcc .\Windows\compiler.c -o compiler -lcomctl32 -lgdi32 -lole32 -lurlmon .\Windows\app.resThis creates compiler.exe in the project root.
Open compiler.exe with administrator permissions. The compiler checks the source tree, helps configure or install the required dependencies and provides the compilation tabs for the server, client and modules.
The compiler stores the dependency configuration so it does not need to ask for the same paths every time.
For the complete workflow and troubleshooting notes, see Nightmare Compiler.
- Setup — requirements, platform notes and network configuration.
- Nightmare Compiler — build and use the automatic compiler.
- Features — project functionality and internal components.
- GUI Communication — communication between the GUI and the server.
- Documentation Index — the original documentation index.
This project is provided under the Nightmare Framework Non-Commercial Attribution License.
Commercial use is not allowed without written permission. Any use, modification, integration, publication, deployment or exploitation of the code must credit:
Based on Nightmare Framework by an0mal1a
Because commercial use is restricted, this is source-available software rather than Open Source under the strict OSI definition.
- The server and client must target the same platform. A Windows target requires the Windows server; a Linux target requires the Linux server.
- The Linux implementation has not been updated recently and may be incomplete or unstable.
- Manual compilation instructions are still available in the setup documentation, but the automatic compiler is the recommended workflow for Windows.
Last updated: 2026-08-05