You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
346 B
12 lines
346 B
4 years ago
|
#include <stdio.h>
|
||
|
#include "nozzle.hpp"
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
nozzle::injector injector("example.dll", nozzle::util::get_pid(L"notepad.exe"));
|
||
|
const auto module_base = injector.inject();
|
||
|
const auto thread_handle = injector.call_entry();
|
||
|
|
||
|
std::printf("[+] module base => 0x%p, thread handle => 0x%x\n", module_base, thread_handle);
|
||
|
std::getchar();
|
||
|
}
|