๐Ÿ”’ Closed Debian9 panel script

Status
Not open for further replies.
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 do not have permission to view the full content of this post. Log in or register now.

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 do not have permission to view the full content of this post. Log in or register now.
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 do not have permission to view the full content of this post. Log in or register now.
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
'
 
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
 
597020
 
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 do not have permission to view the full content of this post. Log in or register now.

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 do not have permission to view the full content of this post. Log in or register now.
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 do not have permission to view the full content of this post. Log in or register now.
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 ๐Ÿ™‚
 
Status
Not open for further replies.

About this Thread

  • 12
    Replies
  • 2K
    Views
  • 4
    Participants
Last reply from:
Nontikweed

Online now

Members online
1,004
Guests online
767
Total visitors
1,771

Forum statistics

Threads
2,275,582
Posts
28,964,240
Members
1,231,872
Latest member
yannahhh
Back
Top