Skip to content

Instantly share code, notes, and snippets.

View necr0n's full-sized avatar

Vladimir Chukov necr0n

  • 1&1 IONOS
View GitHub Profile
@nstarke
nstarke / find-compressed-data.py
Last active July 6, 2024 23:24
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