Tweaked the final steps of the pentest machine
This commit is contained in:
parent
465da51e67
commit
cc7a4e883d
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue