Skip to content

Instantly share code, notes, and snippets.

HANDLE get_handle_to_process(LPWSTR process)
{
HANDLE hProcess = NULL;
enumerate_handles([&](PSYSTEM_HANDLE_TABLE_ENTRY_INFO handle) {
if(GetCurrentProcessId() != handle->UniqueProcessId) return STATUS_UNSUCCESSFUL;
BOOL found = FALSE;
PVOID buffer = NULL;
@bobby-tablez
bobby-tablez / DC31_Wifi_SSIDs.txt
Created September 8, 2023 16:33
DEF CON 31 WIFI Networks
# This list contains all SSIDs I observed during defcon 31. Includes registration, walking around the con. Captured using a Pineapple MK7
!!
#ATTHEMOXY
#Free Simon Wi-Fi
*WIFI-AIRPORT
.WynnEncoreGuest
.YUL Wi-Fi
01-STATION-INN
07edba9d8f623dc6f4d86eccf53d1280
@anthonyprintup
anthonyprintup / ida.hpp
Created September 12, 2023 14:26
A compile-time byte pattern matcher designed to match IDA patterns.
// Created by Anthony Printup on 4/21/2023.
#pragma once
#include <algorithm>
#include <bitset>
#include <cstdint>
#include <exception>
#include <functional>
#include <ranges>