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 --populate archlinux" : null,
|
||||||
"pacman-key --update" : null,
|
"pacman-key --update" : null,
|
||||||
"pacman -Syy" : null,
|
"pacman -Syy" : null,
|
||||||
|
"sh strap.sh" : null,
|
||||||
"sh strap.sh" : {"debug" : true},
|
"sh strap.sh" : {"debug" : true},
|
||||||
"touch /mnt/etc/openvpn/client/customer.conf" : {"no-chroot" : 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/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,
|
"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},
|
"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,
|
"rm -rf dumper" : null,
|
||||||
"netctl enable LAN" : null,
|
"netctl enable LAN" : {"boot" : true},
|
||||||
"systemctl enable dumper@eno1.service" : null,
|
"systemctl enable dumper@eno1.service" : null,
|
||||||
"systemctl enable sshd" : null
|
"systemctl enable sshd" : null
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue