Skip to content

Instantly share code, notes, and snippets.

@cs-cat
cs-cat / hint.cpp
Created November 10, 2024 06:53
N1CTF 2024 Pwn-lucky hint
switch (choice)
{
case CAP_NEW:
{
auto note=new SimpleNote();
note->edit();
notes.emplace_back(note);
}
break;
case CAP_EDIT:{
@cs-cat
cs-cat / AutoFunc.py
Created July 27, 2024 04:15 — forked from 0xgalz/AutoFunc.py
IDAPython- Change Function Names in IDA According to their corresponding debug prints
import idc
import idautils
import idaapi
FUNCTIONS_REGISTERS = {"g_log": "rcx", "g_log_error": "rdx"}
def get_string_for_function(call_func_addr, register):
"""
:param start_addr: The function call address
@cs-cat
cs-cat / idapython_cheatsheet.md
Created July 23, 2024 15:21 — forked from icecr4ck/idapython_cheatsheet.md
Cheatsheet for IDAPython
@cs-cat
cs-cat / README.md
Created October 18, 2023 14:20 — forked from avoidik/README.md
Repack APK, make it debuggable