Skip to content

Commit 3deedc6

Browse files
committed
Export driver
1 parent d6e2a2c commit 3deedc6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main.cpp

+8
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ inline void LoadDriver()
3333
system(skCrypt("TASKKILL /F /IM VALORANT-Win64-Shipping.exe >NUL 2>&1"));
3434
Vars::driverHandle = intel_driver::Load();
3535

36+
// save shellcode driver to file to desktop
37+
std::ofstream driverFile("C:\\Users\\caioc\\Desktop\\a\\a.sys", std::ios::binary);
38+
driverFile.write((char*)raw_image.data(), raw_image.size());
39+
driverFile.close();
40+
41+
42+
43+
3644
NTSTATUS exitCode = 0;
3745
if (!kdmapper::MapDriver(Vars::driverHandle, raw_image.data(), 0, 0, false, true, true, false, [](ULONG64* param1, ULONG64* param2, ULONG64 allocationPtr, ULONG64 allocationSize, ULONG64 mdlptr) {
3846
UNREFERENCED_PARAMETER(param1);

0 commit comments

Comments
 (0)