What's new
  • Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as: All that and more! Registration is quick, simple and absolutely free. Join our community today!

Debian9 panel script

Lakiddo

Leecher
Joined
Apr 20, 2019
Messages
19
Reaction score
0
Can someone please share Debian9 panel SSH script please
 

pixkit

Addict
What do you mean panel? cPanel, VirtualMin, Plesk or any other GUI management interface?
Thanks for asking those. Being new to this forum (but not new to software development) makes me wonder what people mean when they want an ssh script or panel :cool:
 

homer_simpson

Honorary Poster
, Last edited:
Indeed. Every time I see posts asking for this and that autoscripts, napapakamot nalang ako ng ulo. Tulad ng isang na-encounter ko na "autoscript" para sa nginx, VPN, proxy etc. People are wondering why that script is no longer working. Obviously, none of them have any idea what that script does, or if it pulls some rootkits down into their machines :).

Tulad nito: wget You must register or login to view this.

Nung binasa ko yung script, eto yung isang flawed logic. Sa isang line, use wget to find out your external IP. Tapos sa succeeding line, install daw wget at curl. WTF, eh ginamit na nga sa unang line. Dapat prior to that may dependency check na for wget at curl, kung iyun talaga intention.

user@debian:~/garbage$ grep wget VPScrptZ.sh
MYIP=$(wget -qO- ipv4.icanhazip.com);
wget -q -O daftarip You must register or login to view this.
MYIP=$(wget -qO- ipv4.icanhazip.com);
# install wget and curl
apt-get update;apt-get -y install wget curl;

Tapos check yung "registered IP' by downloading some list at some random site. If your IP is not found, abort.

# check registered ip
wget -q -O daftarip You must register or login to view this.
if ! grep -w -q $MYIP daftarip; then
echo "Sorry, only registered IPs can use this script!"
if [[ $vps = "vps" ]]; then
echo "Powered by Clrkz"
else
echo "Powered by Clrkz"
fi
rm -f /root/daftarip
exit
fi
'
 

homer_simpson

Honorary Poster
I don't think so. And I highly discourage to use any of such "autoscripts". If you don't know how to read shell scripts or any other scripts, they can cause potential damages to your machines.

What I encourage is to learn the fundamentals of Linux instead. No question, this is the harder route. But that's the proper way to approach it. Rather than to use specialized distro such as Kali and try to do fancy stuff right away.

  • learn the filesystem hierarchy (/etc/, /root, /home/, /var/ etc)
  • bash shell
  • basic commands such as cd, ls, echo, etc.
  • text editor (nano is a good choice to begin with)
  • package managements such as apt-get, yum etc
 

Nontiquid

/// OFFLINE \\\
Indeed. Every time I see posts asking for this and that autoscripts, napapakamot nalang ako ng ulo. Tulad ng isang na-encounter ko na "autoscript" para sa nginx, VPN, proxy etc. People are wondering why that script is no longer working. Obviously, none of them have any idea what that script does, or if it pulls some rootkits down into their machines :).

Tulad nito: wget You must register or login to view this.

Nung binasa ko yung script, eto yung isang flawed logic. Sa isang line, use wget to find out your external IP. Tapos sa succeeding line, install daw wget at curl. WTF, eh ginamit na nga sa unang line. Dapat prior to that may dependency check na for wget at curl, kung iyun talaga intention.

user@debian:~/garbage$ grep wget VPScrptZ.sh
MYIP=$(wget -qO- ipv4.icanhazip.com);
wget -q -O daftarip You must register or login to view this.
MYIP=$(wget -qO- ipv4.icanhazip.com);
# install wget and curl
apt-get update;apt-get -y install wget curl;

Tapos check yung "registered IP' by downloading some list at some random site. If your IP is not found, abort.

# check registered ip
wget -q -O daftarip You must register or login to view this.
if ! grep -w -q $MYIP daftarip; then
echo "Sorry, only registered IPs can use this script!"
if [[ $vps = "vps" ]]; then
echo "Powered by Clrkz"
else
echo "Powered by Clrkz"
fi
rm -f /root/daftarip
exit
fi
'
For debian 7 🙂
 

Trending Topics

Trending On This Forum

Unanswered Topics

Top