Archetype mission .ps1 file

It doesnt really matter where you save it, you just need to save it somewhere the server can see it.

Whatever folder you save it in, spin up the webserver in the same folder with python3 -m http.server 80 (or your preferred choice of code).

If you are running a full webserver like Apache, then you will need to do one of the following:

  • save the file in /var/www/html/ or wherever you have configured apache to serve files from
  • use a different port (e.g. python3 -m http.server 8088) and then modify the request to use http://10.10.14.3:8088/shell.ps1