Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #Script auto create trial user SSH
- #yg akan expired setelah 1 hari
- # VIP 017 - 089602518248
- Login=trial-`</dev/urandom tr -dc X-Z0-9 | head -c4`
- masaaktif="1"
- Pass=`</dev/urandom tr -dc a-f0-9 | head -c9`
- IP=`dig +short myip.opendns.com @resolver1.opendns.com`
- useradd -e `date -d "$masaaktif days" +"%Y-%m-%d"` -s /bin/false -M $Login
- echo -e "$Pass\n$Pass\n"|passwd $Login &> /dev/null
- echo -e "Host: $IP"
- echo -e "Port: 443,143,80"
- echo -e "Username: $Login "
- echo -e "Password: $Pass\n"
- echo -e ""
- echo -e "Akun ini hanya aktif 1 hari"
- echo -e "Script by \e[1;33;44mVIP017\e[0m"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement