mirror of
https://github.com/0xTriboulet/rdll-rs
synced 2026-06-06 15:14:27 +00:00
Add pe_to_shellcode submodule and usage instructions
Introduced a git submodule for hasherezade's pe_to_shellcode under `build-deps/`. Updated `.gitignore` and `readme.md` to reflect submodule usage and provide build instructions for creating a Reflective DLL.
This commit is contained in:
@@ -1 +1,2 @@
|
||||
/target
|
||||
/build-deps/pe_to_shellcode/
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[submodule "build-deps/pe_to_shellcode"]
|
||||
path = build-deps/pe_to_shellcode
|
||||
url = https://github.com/hasherezade/pe_to_shellcode
|
||||
@@ -37,10 +37,15 @@ The project can be used in two ways:
|
||||
1. As a DLL (**dll-rs.dll**):
|
||||
- Build in release mode to generate the DLL
|
||||
- The DLL exports a `DllMain` function and example functionality
|
||||
|
||||
2. As an executable (**debug-executable.exe**):
|
||||
- Run in debug mode to test DLL functionality without DLL debugging gymnastics
|
||||
- Running in release mode will display a warning message
|
||||
3. As a Reflective DLL using [@hasherezade's](https://github.com/hasherezade) [pe_to_shellcode](https://github.com/hasherezade/pe_to_shellcode)
|
||||
- Resolve submodules with `git submodule update --init --recursive`
|
||||
- `cd .\build-deps\pe_to_shellcode\`
|
||||
- `cmake .`
|
||||
- `cmake --build . --config Release`
|
||||
|
||||
|
||||
## Technical Details
|
||||
|
||||
|
||||
Reference in New Issue
Block a user