Fixed the copying of a file that was broken

This commit is contained in:
Anton Hvornum 2019-08-21 16:44:09 +02:00 committed by GitHub
parent 86b8f699fb
commit 9c5b042579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
"Configure pentest environment" : {
"curl -O https://blackarch.org/strap.sh" : null,
"chmod +x strap.sh" : null,
"sudo ./strap.sh" : null,
"sudo ./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},
@ -35,7 +35,7 @@
"cp dumper/dumper.py /usr/bin/" : null,
"chmod 440 /etc/dumper/config.json" : null,
"chmod 540 /usr/bin/dumper.py" : null,
"cp dumper/systemd/* /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},
"rm -rf dumper" : null,
"netctl enable LAN" : null,