niklasb / libc-database

Build a database of libc offsets to simplify exploitation
https://libc.rip/
MIT License
1.71k stars 192 forks source link

Handle zstd within debian packages #51

Closed blukat29 closed 3 years ago

blukat29 commented 3 years ago

Some ubuntu .deb packages contain data.tar.zst file. One example is http://archive.ubuntu.com/ubuntu/pool/main/g/glibc//libc6-amd64_2.33-0ubuntu9_i386.deb.

The .tar.zst may not be automatically uncompressed by the tar xf command, failing the ./get.

This patch explicitly handles data.tar.zst in deb downloads and add zstd as a requirement.