Skip to content

Instantly share code, notes, and snippets.

View sapphonie's full-sized avatar
🏳️‍🌈

sappho sapphonie

🏳️‍🌈
View GitHub Profile
@sapphonie
sapphonie / ddwrt-cleanup.sh
Last active March 29, 2023 03:40 — forked from rampageX/ddwrt-cleanup.sh
auto disconnects clients with a low signal strength on DD-WRT / Tomato
#!/bin/bash
# threshold at which clients get disconnected
SIGNAL_THRESH="-96"
# exclude this client
# TODO make this an array
EXCLUDE="AA:BB:CC:DD:EE:FF"
wl_path="/usr/sbin/wl_atheros"
@sapphonie
sapphonie / fucked.sp
Created April 23, 2022 11:21
dhooking a sdktools function [CHookMgr::PlayerRunCommand on Linux for TF2]
#include <sdktools>
#include <dhooks>
int CHookMgr_PlayerRunCmd_LINUX[] =
{
0x55, 0x89, 0xE5, 0x57,
0x56, 0x83, 0xEC, 0x30
};