Skip to content
New issue

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

windows 23h2 #529

Open
Anan3we2423 opened this issue Nov 13, 2024 · 0 comments
Open

windows 23h2 #529

Anan3we2423 opened this issue Nov 13, 2024 · 0 comments

Comments

@Anan3we2423
Copy link

#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant