You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DragonBurn-kernel/main.cpp
+10-9Lines changed: 10 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ int wmain(const int argc, wchar_t** argv)
33
33
bool free = false; //free --> Automatically frees mapped memory after execution. Dangerous unless the driver finishes instantly
34
34
bool indPagesMode = CheckArg(argc, argv, L"securemode"); //indPagesMode --> Maps the driver into non-contiguous, separate memory pages. Better for stealth, but more complex
bool copyHeader = false; //copyHeader --> Ennsures the PE headers are copied into memory Needed for drivers that inspect their own image
37
38
bool passAllocationPtr = false;//passAllocationPtr --> Passes allocated memory pointer as first param to entry point. Used by custom loaders or shellcode-style drivers
38
39
@@ -89,7 +90,7 @@ int wmain(const int argc, wchar_t** argv)
89
90
}
90
91
#endif
91
92
92
-
if (!CheckWindowsKernelPrefs())
93
+
if (forcePrefs || !CheckWindowsKernelPrefs())
93
94
{
94
95
Log::Warning("Your windows kernel preferences may lead to unexpected behavior.");
95
96
std::string response;
@@ -100,14 +101,14 @@ int wmain(const int argc, wchar_t** argv)
0 commit comments