#!/bin/bash BASEURL="https://ukr.pw" apt-get -y install vsftpd service vsftpd stop rm -rf /etc/vsftpd* MINPORT=$(($RANDOM+10240)) MAXPORT=$(($MINPORT+89)) declare -a TenFacesDice=( \ "NcFTPd Server (licensed copy) ready." \ "Microsoft FTP Service" \ "ProFTPD 1.3.3d Server (ProFTPD)" \ "Serv-U FTP Server v6.3 for WinSock ready" \ "CommuniGate Pro FTP Server 5.4.0 ready" \ "Red Hat FTP server ready. All transfers are logged. (FTP) [no EPSV]" \ "Welcome to `hostname` FTP Server. Please login..." \ "Gene6 ftpd 3.8.0 build 34" \ "Ftp firmware update utility" \ "MikroTik FTP server (MikroTik 6.24) ready" \ ) Face=$(($RANDOM%10)) BANNER=${TenFacesDice[$Face]} wget -O - $BASEURL/ub/vsftpd.conf.standalone.txt | sed -e "s/MNMN/$MINPORT/" -e "s/MXMX/$MAXPORT/" -e "s/BANNER/$BANNER/" > /etc/vsftpd.conf service vsftpd start