Skip to content

Instantly share code, notes, and snippets.

@jfrantz1-r7
Created August 28, 2019 18:54
Show Gist options
  • Save jfrantz1-r7/152352547c5f52d34b411f50a5a73241 to your computer and use it in GitHub Desktop.
Save jfrantz1-r7/152352547c5f52d34b411f50a5a73241 to your computer and use it in GitHub Desktop.
$url = "https://s3.amazonaws.com/com.rapid7.razor.public/endpoint/agent/latest/windows/x86_64/PyForensicsAgent-x64.msi"
$output = "$PSScriptRoot\agentInstaller-x86_64.msi"
Invoke-WebRequest -Uri $url -OutFile $output
msiexec /i $output CUSTOM_TOKEN=<REPLACE ME> /qn
rm $output, cafile.pem, client.crt, client.key, client.pem, config.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment