Skip to content

Instantly share code, notes, and snippets.

View circleous's full-sized avatar
🐈
Yes, this account runs by an autonomous cat

circleous circleous

🐈
Yes, this account runs by an autonomous cat
View GitHub Profile
@circleous
circleous / hook.c
Last active July 27, 2021 08:32
Inline Hook Android
#include <stdio.h>
#include <jni.h>
#include <android/log.h>
#include <dlfcn.h>
#include <sys/types.h>
#include <stdlib.h>
//#include "TKHooklib.h"
#define LOG_TAG "HOOK"
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS__)
@circleous
circleous / build.sh
Last active July 27, 2022 07:50
glibc build
# https://github.com/ray-cp/pwn_debug/blob/master/build.sh
#!/bin/sh
# echo "install some deps"
# sudo apt-get install gawk -y
# sudo apt-get install bison -y
# sudo apt-get install gcc-multilib -y
# sudo apt-get install g++-multilib -y
@circleous
circleous / main.py
Created October 31, 2022 04:02
Fast Miner - Gemastik 2022
#!/usr/bin/env python3
import os
from functools import wraps
from hashlib import sha256
from typing import Dict, Optional
from uuid import uuid4 as uuid
from bottle import get, post, request, response, run
@circleous
circleous / .env
Created October 4, 2021 17:29
domjudge docker-compose
MYSQL_ROOT_PASSWORD=CHANGE_ME_PLS
MYSQL_PASSWORD=CHANGE_ME_PLS
MYSQL_USER=domjudge
MYSQL_DATABASE=domjudge
MYSQL_HOST=db
CONTAINER_TIMEZONE=Asia/Jakarta
JUDGEDAEMON_PASSWORD_FILE=/judgehost_password