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.
17 lines
449 B
17 lines
449 B
#include <iostream>
|
|
#include "nozzle.hpp"
|
|
|
|
int __cdecl main(int argc, char** argv)
|
|
{
|
|
if (argc < 2)
|
|
{
|
|
std::cerr << "[!] please specify a dll path" << std::endl;
|
|
return -1;
|
|
}
|
|
|
|
nozzle::injector test_inject(argv[1], util::get_process_id(L"notepad.exe"));
|
|
std::cout << "[+] injected at: " << test_inject.inject() << std::endl;
|
|
std::cout << "[+] calling entry point, thread handle: " << test_inject.call_entry() << std::endl;
|
|
std::cin.get();
|
|
}
|