Guest User

Untitled

a guest
Nov 19th, 2018
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.19 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. user="root"
  4.  
  5. pass="1234"
  6.  
  7. while [[ 1 ]]; do
  8.  
  9.     echo $pass | sudo -S su $user
  10.  
  11.     echo $pass | sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
  12.  
  13.     sleep 10
  14.  
  15. done
Add Comment
Please, Sign In to add comment