Tweaked the final steps of the pentest machine

This commit is contained in:
Anton Hvornum 2019-09-24 19:21:16 +02:00
parent 465da51e67
commit cc7a4e883d
1 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@
"pacman-key --populate archlinux" : null,
"pacman-key --update" : null,
"pacman -Syy" : null,
"sh strap.sh" : null,
"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},
@ -45,7 +46,7 @@
"cp dumper/systemd/dumper\\@.service /etc/systemd/system/" : null,
"sed -i 's/#ListenAddress 0.0.0.0/ListenAddress 192.168.0.10/' /mnt/etc/ssh/sshd_config" : {"no-chroot" : true},
"rm -rf dumper" : null,
"netctl enable LAN" : null,
"netctl enable LAN" : {"boot" : true},
"systemctl enable dumper@eno1.service" : null,
"systemctl enable sshd" : null
}