Skip to content

Instantly share code, notes, and snippets.

View gilf0ile's full-sized avatar
🗝️
pwning!!

Sai Akshith Naeeni gilf0ile

🗝️
pwning!!
View GitHub Profile
@gilf0ile
gilf0ile / CTF_writeups.py
Created June 18, 2025 17:31
CTF Writeups
## DiceGang 2022 - `Interview` Writeup
#!/usr/bin/env python3
from pwn import *
exe = ELF("./interview-opportunity_patched")
libc = ELF("./libc.so.6")
binary = exe.file.name
context.binary = exe
@gilf0ile
gilf0ile / scripts.md
Last active April 18, 2022 06:06
Scripts using the different static binary analysis modules.

Script to print the no. of basic blocks present in all the functions of a binary

import libr
import ctypes
import argparse

class r2:

    def __init__(self, binary):