google / GiftStick

1-Click push forensics evidence to the cloud
Apache License 2.0
139 stars 21 forks source link

Handle new initrd (18.04.2 & later) #58

Closed rgayon closed 4 years ago

rgayon commented 5 years ago

For a dirty hack:

if grep -aq "AuthenticAMD.bin" initrd (cpio -id; cpio -id; lzma -d | cpio -id) < initrd else (cpio -id; lzma -d | cpio -id) < initrd fi

Also consider lz4 (ubuntu after https://launchpad.net/ubuntu/+source/live-build/+changelog )

Or find code somewhere else.

Also https://wiki.debian.org/initramfs

rgayon commented 4 years ago

Fixed with #74