mirror of
https://github.com/violet-devsec/win-shellcode-dev
synced 2026-06-06 16:54:33 +00:00
README updated
This commit is contained in:
@@ -11,12 +11,16 @@ This is done step by step as,\
|
||||
6. Process all of DLL image's relocations\
|
||||
7. Call the DLL entry point
|
||||
|
||||
## Table of Contents
|
||||
|
||||
- [Usage](#usage)
|
||||
### Steps to try:
|
||||
- [Compiling target.dll](#CompilingDll)
|
||||
> g++ -shared -o target.dll target.cpp -Wl,--out-implib,libtdll.a
|
||||
- [Create shellcode](#usage)
|
||||
> python shellcode.py
|
||||
- [Contributing](#contributing)
|
||||
- [License](#license)
|
||||
- [Compiling loader.exe](#CompilingExe)
|
||||
> g++ loader.c -o loader.exe
|
||||
- [Running loader.exe](#CRunningExe)
|
||||
> loader.exe
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -25,7 +29,9 @@ Examples and instructions for using the project.
|
||||
## Contributing
|
||||
|
||||
Guidelines for contributing to the project.
|
||||
- [Contributing](#contributing)
|
||||
|
||||
## License
|
||||
|
||||
Information about the project's license.
|
||||
Information about the project's license.
|
||||
- [License](#license)
|
||||
@@ -1,12 +1,15 @@
|
||||
#include <windows.h>
|
||||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
DWORD bytesRead;
|
||||
const TCHAR* filePath;
|
||||
BOOL fileReadSuccess, filePermChangeSuccess, processCreateSuccess;
|
||||
const TCHAR* filePath = _T("shellcode.bin");
|
||||
//scanf("Enter the shellcode(shellcode+dll) binary file path: %d", filePath);
|
||||
filePath = _T("shellcode.bin");
|
||||
|
||||
printf("Loader started!\n");
|
||||
printf("Shellcode path: %s\n", filePath);
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user