mirror of
https://github.com/martanne/bitpixie
synced 2026-06-08 15:44:32 +00:00
Import initramfs generation scripts for bitpixie exploitation
It is based on a stripped down version of Filippo Valsorda's rootfs-free immutable NAS project with various bitpixie related hacks added. https://words.filippo.io/dispatches/frood/
This commit is contained in:
@@ -0,0 +1 @@
|
||||
bitpixie
|
||||
@@ -0,0 +1,2 @@
|
||||
127.0.0.1 bitpixie localhost
|
||||
::1 bitpixie localhost
|
||||
@@ -0,0 +1,2 @@
|
||||
fuse
|
||||
loop
|
||||
@@ -0,0 +1,8 @@
|
||||
____ ___ _ _ ___ _____ ____ _ _ _ ___ ____
|
||||
| _ \ / _ \ | \ | |/ _ \_ _| | _ \ / \ | \ | |_ _/ ___|
|
||||
| | | | | | | | \| | | | || | | |_) / _ \ | \| || | |
|
||||
| |_| | |_| | | |\ | |_| || | | __/ ___ \| |\ || | |___
|
||||
|____/ \___/ |_| \_|\___/ |_| |_| /_/ \_\_| \_|___\____|
|
||||
|
||||
# exploit && ./mount.sh /dev/partion && ls mnt
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
#auto eth0
|
||||
#iface eth0 inet dhcp
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
mount -t proc proc /proc
|
||||
mount -t sysfs sysfs /sys
|
||||
mount -t devtmpfs devtmpfs /dev
|
||||
|
||||
exec /sbin/init
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ ! -e "$1" ] && echo "usage: $0 /dev/partition" && exit 1
|
||||
|
||||
mkdir bitlocker mnt
|
||||
dislocker -V "$1" -K vmk.dat -vvv -- bitlocker
|
||||
mount -t ntfs-3g -o loop bitlocker/dislocker-file mnt
|
||||
Reference in New Issue
Block a user