Created
August 5, 2024 15:43
-
-
Save shortstack/df5de8c81038490e0c38e8189606fa74 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
systemctl stop velociraptor_server | |
rm -r /opt/vr_data/hunts/* | |
rm -r /opt/vr_data/hunt_index/* | |
rm -r /opt/vr_data/clients/* | |
rm -r /opt/vr_data/client_info/snapshot.json* | |
curl https://storage.googleapis.com/thvr-cdn/stacking_hunts.zip --output /opt/stacking_hunts.zip | |
unzip /opt/stacking_hunts.zip -d /opt/vr_data | |
chown velociraptor:velociraptor -R /opt/vr_data/hunts | |
chown velociraptor:velociraptor -R /opt/vr_data/hunt_index | |
chown velociraptor:velociraptor -R /opt/vr_data/clients | |
systemctl start velociraptor_server | |
systemctl status velociraptor_server | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment