Skip to content

Instantly share code, notes, and snippets.

View m1abdullahh's full-sized avatar
🏠
Working from home

M. Abdullah m1abdullahh

🏠
Working from home
  • @algotix.ai
  • Bahawalpur, PK
  • 07:59 (UTC +05:00)
View GitHub Profile
@hasherezade
hasherezade / syscall_extractor.cpp
Last active July 26, 2025 22:28
Extracts syscalls list from NTDLL.DLL
#include <stdio.h>
#include <Windows.h>
// based on: https://www.evilsocket.net/2014/02/11/on-windows-syscall-mechanism-and-syscall-numbers-extraction-methods/
// author: @evilsocket
// modified by: @hasherezade
#define IS_ADDRESS_BETWEEN( left, right, address ) ( (address) >= (left) && (address) < (right) )
PIMAGE_SECTION_HEADER SectionByRVA( PIMAGE_SECTION_HEADER pSections, DWORD dwSections, DWORD rva )
{
@andrewmriley
andrewmriley / gist:6401eef48859519f483c
Last active October 22, 2025 15:48
Copy your current git branch name to clipboard
## Choose one and add it as an alias or throw it in a script ##
### Modern Git Thanks to @Pezmc
# Linux/Unix Wayland
git branch --show-current | wl-copy
# Linux/Unix X11
git branch --show-current | xclip -selection clipboard
# MacOS