Working around blackarch's slightly odd strapper

This commit is contained in:
Anton Hvornum 2019-09-03 20:26:36 +02:00 committed by GitHub
parent 6da033480f
commit f382a3a48e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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},