mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-01 00:49:13 -06:00
6a02a17902
Former-commit-id: e62f136f3677cb73bfa2d22f9ff10e8c0745bcc3
22 lines
598 B
Bash
Executable file
22 lines
598 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ ! -d isolinux ]; then
|
|
cd binary
|
|
fi
|
|
|
|
cat >>isolinux/live.cfg <<END
|
|
|
|
label live-persistence
|
|
menu label ^Live USB Persistence (check kali.org/prst)
|
|
linux /live/vmlinuz
|
|
initrd /live/initrd.img
|
|
append boot=live noconfig=sudo username=root hostname=kali persistence
|
|
|
|
label live-encrypted-persistence
|
|
menu label ^Live USB Encrypted Persistence (check kali.org/prst)
|
|
linux /live/vmlinuz
|
|
initrd /live/initrd.img
|
|
append boot=live persistent=cryptsetup persistence-encryption=luks noconfig=sudo username=root hostname=kali persistence
|
|
|
|
END
|
|
|