Skip to content

Instantly share code, notes, and snippets.

@schrodyn
schrodyn / enclave.c
Created August 9, 2025 18:48 — forked from whokilleddb/enclave.c
Run shellcode using LdrCallEnclave
#include <stdio.h>
#include <windows.h>
// Shellcode template from: https://gist.github.com/kkent030315/b508e56a5cb0e3577908484fa4978f12
// Compile using: x86_64-w64-mingw32-gcc -m64 enclave.c -o enclace.exe -lntdll
EXTERN_C NTSYSAPI
NTSTATUS
NTAPI LdrCallEnclave(
_In_ PENCLAVE_ROUTINE Routine,
@schrodyn
schrodyn / main.cc
Created August 9, 2025 18:48 — forked from whokilleddb/main.cc
Run code before main()
#include <stdio.h>
#ifdef _MSC_VER
#ifdef __cplusplus
#define CONSTRUCTOR_FUNC(func) \
struct func##_constructor { \
func##_constructor() { func(); } \
}; \
@schrodyn
schrodyn / bluesky-osa.md
Created July 27, 2025 16:58 — forked from mary-ext/bluesky-osa.md
Bluesky's UK age assurance sucks, here's how to work around it.

Bluesky's UK age assurance sucks, here's how to work around it.

Bluesky recently announced that they're complying with the UK's Online Safety Act, which requires users to provide personal identity verification confirming their age (through Epic Games' Kids Web Services) before accessing certain parts of the platform.

This sucks for privacy reasons, but thankfully there are ways to work around it.

Workaround methods

Method 0. VPN

@schrodyn
schrodyn / smb.conf
Created June 1, 2025 17:20 — forked from guenter/smb.conf
Configure Samba and Avahi on a Linux server to use as a Time Machine for macOS clients.
[global]
## General
server role = standalone server
workgroup = WORKGROUP
server smb encrypt = desired
## Logging
logging = file
log file = /var/log/samba/log.%m
log level = 2
@schrodyn
schrodyn / memdump.js
Created February 18, 2025 11:34 — forked from xinali/memdump.js
A Windbg script to trace memory functions , written in Javascript
/*
How to use :
.load jsprovider.dll
.scriptload memdump.js
bp MSVCR120D!free ".scriptrun memdump.js"
bp MSVCR120D!malloc ".scriptrun memdump.js"
*/
"use strict";
# Thomas Roccia - Docling demo
import json
from pathlib import Path
from docling.document_converter import DocumentConverter, PdfFormatOption
from docling.datamodel.pipeline_options import PdfPipelineOptions, TesseractOcrOptions
from docling.datamodel.base_models import InputFormat
from docling.document_converter import DocumentConverter, PdfFormatOption, WordFormatOption, SimplePipeline
pipeline_options = PdfPipelineOptions()
pipeline_options.do_ocr = True # Enable OCR
Draziw.Button.Mines
ag.video_solutions.wedotv
ahf.dummynation
ai.socialapps.speakmaster
air.com.beachbumgammon
air.com.freshplanet.games.SongPop2
air.com.gamesys.mobile.slots.jpj
air.com.goodgamestudios.empirefourkingdoms
air.com.kitchenscramble.goo
air.com.lalaplay.rummy45
@schrodyn
schrodyn / follow_theirs.py
Created November 25, 2024 22:29 — forked from hamelsmu/follow_theirs.py
"I'll have what they are having" for bluesky. The motiviation is to mimic who someone else is following who reports they are having a good experience on bluesky!
def follow_user_follows(client, target_user):
"Follow everyone the target_user is following."
cursor = None
total_followed = 0
while True:
# Step 1: Fetch a batch of accounts the target user is following
# https://docs.bsky.app/docs/api/app-bsky-graph-get-follows
response = client.app.bsky.graph.get_follows({
@schrodyn
schrodyn / copying-Paxton-fobs.md
Created November 16, 2024 19:15 — forked from natmchugh/copying-Paxton-fobs.md
How to copy, read and write Paxton fobs and cards with an RFIDler

How to copy, read and write Paxton fobs and cards with an RFIDler

A newer version of this info is available at https://badcfe.org/how-to-paxton-with-rfidler/

Paxton fobs and readers are popular in the UK especially the Net2 system where the fobs look like this with a blue ring: Paxton Fob

Paxton readers often look like this:

Paxton Reader

@schrodyn
schrodyn / pemulator.py
Created July 12, 2024 22:08 — forked from herrcore/pemulator.py
Simple class for loading a PE file in Unicorn
from typing import List
from capstone import *
from capstone.x86 import *
from unicorn import *
from unicorn.x86_const import *
from pefile import PE
class Emulator():