Last active
August 8, 2023 14:17
-
-
Save Gimenz/47fa2a400d009a27061aae967831ca08 to your computer and use it in GitHub Desktop.
vpsroot.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Mod By SL | |
#echo "$crot ALL=(ALL:ALL) ALL" >> /etc/sudoers; | |
wget -qO- -O /etc/ssh/sshd_config https://raw.githubusercontent.com/fisabiliyusri/Mantap/main/sshd_config; | |
systemctl restart sshd; | |
clear; | |
echo -e "Masukkan Password:"; | |
read -e pwe; | |
usermod -p `perl -e "print crypt("$pwe","Q4")"` root; | |
clear; | |
printf "Mohon Simpan Informasi Akun VPS Ini | |
============================================ | |
Akun Root (Akun Utama) | |
Ip address = $(curl -Ls http://ipinfo.io/ip) | |
Username = root | |
Password = $pwe | |
============================================" | |
echo ""; | |
exit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment