https://github.com/cmdsnr/shellcinjection
Simple shellcode injector
https://github.com/cmdsnr/shellcinjection
Last synced: about 1 month ago
JSON representation
Simple shellcode injector
- Host: GitHub
- URL: https://github.com/cmdsnr/shellcinjection
- Owner: cmdsnr
- Created: 2024-06-15T16:44:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-16T06:01:21.000Z (over 1 year ago)
- Last Synced: 2025-03-23T07:33:33.455Z (about 1 year ago)
- Language: C++
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ShellCinjection
Simple shellcode injector
- Replace shellcode (generate one using msfvenom for example.)
- Compile
```
g++ -o poc poc.cpp
```
- Usage:
```
poc.exe
```
# r13Encrypted.cpp
This one is encoded using rot13. The shellcode provided is a simple popup box that is already encoded in rot13 and then later on decrypted when allocating the memory.
```cpp
void rot13_encrypt(unsigned char* data, size_t length) {
for (int i = 0; i < length; ++i) {
data[i] = data[i] + 13;
}
}
```