Skip to content

Instantly share code, notes, and snippets.

View rushkii's full-sized avatar
🎯
Focusing

Kiizuha Kanazawa rushkii

🎯
Focusing
View GitHub Profile
@rushkii
rushkii / connect_logger.c
Last active February 13, 2026 17:48
simple connect() syscall(42) interceptor for logger.
/*
* how to build:
* gcc -shared -Os -fpic -fPIC connect_logger.c -o connect_logger.so
* ---
* how to run:
* LOG_PATH=./kizu_log_connect.txt LD_PRELOAD=./connect_logger.so curl nhentai.net && cat kizu_log_connect.txt
*/
// script ref: https://gist.github.com/ammarfaizi2/1e1424f987cfbe3e3c3b571b6e590923