Skip to content

Instantly share code, notes, and snippets.

View SavSanta's full-sized avatar
😉
No Use Being Food in Mouth of The Beast

Ru Uba SavSanta

😉
No Use Being Food in Mouth of The Beast
  • FBI
  • DCMDVA ;'(
  • 23:22 (UTC -05:00)
View GitHub Profile
@PYfffE
PYfffE / delay_without_sleep.c
Last active August 4, 2025 01:19
Sandbox evasion via time delay, without Sleep function.
#include <stdio.h>
#include <windows.h>
static unsigned long long ticks_for_one_second = 1000000000;
void stubfunc(unsigned long long max_count) {
for (unsigned long long j = 0; j < max_count; j++) {
(void)j;
}
}
@alexaandru
alexaandru / chi.go
Created February 14, 2024 16:40
Chi-like syntactic sugar layer on top of stdlib http.ServeMux
// Chi-like syntactic sugar layer on top of stdlib http.ServeMux.
package main
import (
"net/http"
"slices"
)
type (
middleware func(http.Handler) http.Handler
@swerder
swerder / FileUploadRequestHandler.py
Last active November 18, 2024 00:26 — forked from UniIsland/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload
#!/usr/bin/env python3
"""HTTP Server with auth and Upload.
This module builds on SimpleHTTPRequestHandler,
implements simple Authentication, use ssl
full "multipart" rfc2046 handling,
multi file upload, create folder and delete files,
TableView file listing with icon/size/date
from bones7456: https://github.com/bones7456/bones7456/blob/master/SimpleHTTPServerWithUpload.py / https://gist.github.com/UniIsland/3346170
@thatrand0mnpc
thatrand0mnpc / custom_traceback_example.py
Last active August 1, 2022 21:22
Python custom traceback
import linecache
import re
import sys
from types import TracebackType
from typing import Any, Dict, List, Optional
PACKAGE_PATH_PATTERN = r'.*/lib/python.*/site-packages/.*'
class TracebackLogger:
@SkyyySi
SkyyySi / youtube-vanced-alternatives.md
Last active October 27, 2025 03:47
A list of alternatives after the shutdown of Vanced

NONE OF THESE CLIENTS ARE VERIFIED BY ME FOR SECURITY OR ANYTHING ELSE! USE AT YOUR OWN RISK!


Update 2025-07-16: Use either Revanced, NewPipe or Firefox with add-ons. Revanced is my personal pick, due to it being a mod of the official App like Vanced, but better (e.g. it has integration of Sponsor Block, Return YouTube Disklike and more).

I wouldn't recommend Kiwi Browser anymore as it has been discontinued. AFAIK it has been accuired by Microsoft and the extension support has been merged into Edge (Canary). But you'd have to use Edge. Yuck.


@ceramicskate0
ceramicskate0 / rsrcDecryptAssembly.nim
Created January 7, 2022 03:36 — forked from ChoiSG/rsrcDecryptAssembly.nim
embed .net, decrypt, load and execute in nim poc
import nimcrypto
import winim/clr except `[]` # https://s3cur3th1ssh1t.github.io/Playing-with-OffensiveNim/ <-- thank you so much, 2 hours googling I almost went crazy
#[
All credit goes to @byt3bl33d3r (OffensiveNim) and @s3cur3th1ssh1t
nimble install winim nimcrypto zippy
nim c -d:danger -d:strip --opt:size rsrcDecryptAssembly.nim
slurp = "staticRead" will read the file and store it in the variable (.rdata) on compile time.
@dmulder
dmulder / main.go
Created September 9, 2021 16:27
Slack autotoken modified to simply load a browser for authentication (for complicated auth situations). Taken from https://github.com/insomniacslk/irc-slack
// autotoken retrieves a Slack token and cookie using your Slack team
// credentials.
package main
import (
"context"
"encoding/json"
"fmt"
"log"
"os"
@G0ldenGunSec
G0ldenGunSec / EnumCLR.c
Last active July 29, 2025 12:10
Cobalt Strike BOF to identify processes with the CLR loaded with a goal of identifying SpawnTo / injection candidates.
#include <string.h>
#include <stdio.h>
#include <windows.h>
#include <psapi.h>
#include "beacon.h"
DECLSPEC_IMPORT BOOL WINAPI KERNEL32$K32EnumProcesses(DWORD *, DWORD, LPDWORD);
DECLSPEC_IMPORT WINBASEAPI HANDLE WINAPI KERNEL32$OpenProcess(DWORD, BOOL, DWORD);
DECLSPEC_IMPORT BOOL WINAPI KERNEL32$K32EnumProcessModulesEx(HANDLE, HMODULE*, DWORD, LPDWORD, DWORD);
@NaniteFactory
NaniteFactory / setcookie.go
Created October 21, 2019 06:30
chromedp set-cookie example
package main
import (
"context"
"fmt"
"log"
"time"
"github.com/chromedp/cdproto/cdp"
"github.com/chromedp/cdproto/network"
@NaniteFactory
NaniteFactory / messagebox.go
Last active August 25, 2025 16:25
Win32 API MessageBox() in Golang
import (
"syscall"
"unsafe"
)
// MessageBox of Win32 API.
func MessageBox(hwnd uintptr, caption, title string, flags uint) int {
ret, _, _ := syscall.NewLazyDLL("user32.dll").NewProc("MessageBoxW").Call(
uintptr(hwnd),
uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr(caption))),