We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#pragma once #define _CRT_SECURE_NO_WARNINGS #include <Windows.h> #include #include #include #include "Blackbone/src/BlackBone/Config.h" #include "Blackbone/src/BlackBone/Process/Process.h" #include "Blackbone/src/BlackBone/PE/PEImage.h" #include "Blackbone/src/BlackBone/Misc/Utils.h" #pragma comment(lib, "Blackbone/src/BlackBone/BlackBone.lib")
using namespace blackbone; blackbone::Process _process; using namespace std;
void kernelInject(DWORD programPid) { static bool driverCheck = blackbone::Driver().EnsureLoaded(); if (!driverCheck) { if (!blackbone::Driver().MmapDll(programPid, L"example.dll", KWipeHeader | KNoTLS)) { std::cout << " Injection Successful!" << std::endl; } else { std::cout << " Error Occurred During Injection!" << std::endl; } } else { std::cout << " Driver Not Loaded, Please Try Again." << std::endl; } }
int main() { _process.Attach(L"test.exe"); kernelInject(_process.pid()); } I get a blue screen when I start injecting helpppp
The text was updated successfully, but these errors were encountered:
No branches or pull requests
#pragma once
#define _CRT_SECURE_NO_WARNINGS
#include <Windows.h>
#include
#include
#include
#include "Blackbone/src/BlackBone/Config.h"
#include "Blackbone/src/BlackBone/Process/Process.h"
#include "Blackbone/src/BlackBone/PE/PEImage.h"
#include "Blackbone/src/BlackBone/Misc/Utils.h"
#pragma comment(lib, "Blackbone/src/BlackBone/BlackBone.lib")
using namespace blackbone;
blackbone::Process _process;
using namespace std;
void kernelInject(DWORD programPid) {
static bool driverCheck = blackbone::Driver().EnsureLoaded();
if (!driverCheck)
{
if (!blackbone::Driver().MmapDll(programPid, L"example.dll", KWipeHeader | KNoTLS)) {
std::cout << " Injection Successful!" << std::endl;
}
else {
std::cout << " Error Occurred During Injection!" << std::endl;
}
}
else {
std::cout << " Driver Not Loaded, Please Try Again." << std::endl;
}
}
int main() {
_process.Attach(L"test.exe");
kernelInject(_process.pid());
}
I get a blue screen when I start injecting helpppp
The text was updated successfully, but these errors were encountered: