Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- user="root"
- pass="1234"
- while [[ 1 ]]; do
- echo $pass | sudo -S su $user
- echo $pass | sudo -S launchctl load -w /System/Library/LaunchDaemons/ssh.plist
- sleep 10
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement