Working around blackarch's slightly odd strapper
This commit is contained in:
parent
6da033480f
commit
f382a3a48e
|
|
@ -24,10 +24,11 @@
|
|||
"Configure pentest environment" : {
|
||||
"curl -O https://blackarch.org/strap.sh" : null,
|
||||
"chmod +x strap.sh" : null,
|
||||
"sh strap.sh" : {"debug" : true},
|
||||
"rm -rf /etc/pacman.d/gnupg" : null,
|
||||
"pacman-key --populate" : null,
|
||||
"pacman-key --update" : null,
|
||||
"sudo ./strap.sh" : {"debug" : true},
|
||||
"sh strap.sh" : {"debug" : true},
|
||||
"touch /mnt/etc/openvpn/client/customer.conf" : {"no-chroot" : true},
|
||||
"sed -i 's/After=network.target/After=openvpn-client@customer.service\n&/' /mnt/usr/lib/systemd/system/sshd.service" : {"no-chroot" : true},
|
||||
"sed -i 's/ExecStart=/ExecStartPre=\\/usr\\/bin\\/sleep 30\n&/' /mnt/usr/lib/systemd/system/sshd.service" : {"no-chroot" : true},
|
||||
|
|
|
|||
Loading…
Reference in New Issue