Skip to content

Instantly share code, notes, and snippets.

View TheBarret's full-sized avatar
💭
I may be slow to respond.

Barret TheBarret

💭
I may be slow to respond.
  • Private
View GitHub Profile
@TheBarret
TheBarret / Suscall.cs
Created August 3, 2021 23:20 — forked from dr4k0nia/Suscall.cs
An example of using x64 syscall shellcode to call NtProtectVirtualMemory
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace Code_Projects
{
public unsafe class Suscall
{
[DllImport("kernel32", SetLastError = true)]