Skip to content

Instantly share code, notes, and snippets.

View necr0n's full-sized avatar

Vladimir Chukov necr0n

View GitHub Profile
@nstarke
nstarke / find-compressed-data.py
Last active October 14, 2024 05:42
Find Compressed Data without Compression Header
#!/usr/bin/env python3
#
# find-compressed-data.py
#
# A small script to bruteforce embedded compressed data that might not have a header
# Useful for raw binary firmware images that do not contain a standard
# binary header (ELF, PE, MACH-O).
#
# I included a limt on size at 16KB because this has a tendency to create