Skip to content

Instantly share code, notes, and snippets.

View CsomePro's full-sized avatar

Csome CsomePro

View GitHub Profile
import sys
from pwn import *
def modify_segment_permissions(elf_path, segment_name, permissions):
elf = ELF(elf_path)
print('.eh_frame.sh_size===>' + str(hex(elf.get_section_by_name('.eh_frame').header.sh_size)))
eh_frame_addr = elf.get_section_by_name('.eh_frame').header.sh_addr
print(".eh_frame.sh_addr===>" + str(hex(eh_frame_addr)))
@CsomePro
CsomePro / audit_github_emails.py
Created September 2, 2025 06:51 — forked from GhostFrankWu/audit_github_emails.py
Get your email through (most) your github commits and check if it leak any of your private email | 遍历用户commit以寻找是否有邮箱泄露
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Audit a GitHub user's public repos to find possibly identity-leaking emails in commits.
- Any username (not necessarily yourself).
- Per-repo cap: collect at most LATEST N + OLDEST N commits (default 1000 per side).
- Writes:
<username>_commits_raw.csv