Skip to content

Instantly share code, notes, and snippets.

View kolanski's full-sized avatar
🏠
Working from home

Nikolay Kolanski kolanski

🏠
Working from home
View GitHub Profile
@icecr4ck
icecr4ck / idapython_cheatsheet.md
Last active May 4, 2025 00:07
Cheatsheet for IDAPython

Singleton

  1. Roll-your-own lazy singleton

    public final class Single {
        private static Single INSTANCE;
        private Single() {}
        
@schirrmacher
schirrmacher / frida-struct-pointer-pointer.js
Last active February 3, 2024 12:32
Frida: How to read a struct or a struct pointer or a pointer of a struct pointer?
/*
typedef struct {
int size;
char* data;
} test_struct;
void some_func(test_struct **s);
@PARC6502
PARC6502 / OpenSourceBaas.md
Last active May 4, 2025 12:34
List of open source, self hosted BaaS - Backend as a service

Backend as a Service

Supabase - ~52K stars

  • Designed explicitly as an open source firebase alternative
  • Typescript based
  • Docker support

Appwrite - ~32K stars

  • Written in JavaScript and PHP
  • Docker based
  • Realtime support across all services
@mmozeiko
mmozeiko / hook.c
Last active October 13, 2024 00:45
reads process stdout + stderr and prints it out as it becomes available
// compile this to hook.dll
// for example, with MSVC: cl.exe /LD /MT /O2 hook.c /Fehook.dll
#include <windows.h>
// get this from https://github.com/kubo/plthook
#include "plthook_win32.c"
static plthook_t* hook;
@nickgrealy
nickgrealy / 1_README.md
Last active April 29, 2023 03:39
Steam > Counter-Strike: Source - Windows Dedicated Server setup - 2016

Last Updated: 1st April, 2016

Steam > Counter-Strike: Source

Windows Dedicated Server setup

Installation / Updating / Running a Server

  1. Download and unzip https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip (link is legit, it's referenced here on Valve's instructions) to the Steam home directory (e.g. C:\Program Files (x86)\Steam\steamapps\common\steamcmd)
  2. Execute the install_update_run_server.bat batch script (below). It will download and install the server, then run the server in a new window on port 27015.
@obenjiro
obenjiro / parsersissparta.md
Last active September 13, 2020 18:03
Parsers - is Sparta!
@ECHO OFF
SETLOCAL
ECHO ASLR Enable / Diable Batch Script - Please run as admin
set /p Choice=Want to Enable or Disable ASLR? (e or d):%=%
if "%Choice%"=="e" goto :ENABLE
if "%Choice%"=="d" goto :DISABLE
:ENABLE