This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |