Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.122
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
socat /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
daemon.sh
872
B
-rwxr-xr-x
2010-10-06 09:25
ftp.sh.gz
1.79
KB
-rw-r--r--
2010-10-06 09:25
mail.sh
1.99
KB
-rwxr-xr-x
2013-06-23 07:54
proxy.sh
1.63
KB
-rwxr-xr-x
2014-03-15 18:40
proxyecho.sh
1.16
KB
-rwxr-xr-x
2013-06-23 07:54
readline-test.sh
1.22
KB
-rwxr-xr-x
2010-10-06 09:25
readline.sh
663
B
-rwxr-xr-x
2010-10-06 09:25
socks4a-echo.sh
2.42
KB
-rwxr-xr-x
2010-10-06 09:25
socks4echo.sh
2.21
KB
-rwxr-xr-x
2010-10-06 09:25
test.sh.gz
51.88
KB
-rw-r--r--
2016-01-29 11:29
Save
Rename
#! /bin/bash # source: readline-test.sh # Copyright Gerhard Rieger 2003-2008 # Published under the GNU General Public License V.2, see file COPYING # script that simulates a simple program with authentication. # is just for testing the readline features # perform the test with something like: # ./socat readline,history=$HOME/.history,noecho='^Password: ' system:./readline-test.sh,pty,setsid,ctty,stderr,sigint,sigquit,echo=0,raw BANNER='readline feature test program' USERPROMPT='Authentication required\nUsername: ' PWDPROMPT='Password: ' PROMPT='prog> ' # degenerated user database CREDUSER="user" CREDPASS="password" if [ $(echo "x\c") = "x" ]; then ECHO="echo" elif [ $(echo -e "x\c") = "x" ]; then ECHO="echo -e" fi #trap "$ECHO $0 got SIGINT" INT trap "$ECHO $0 got SIGINT" INT trap "$ECHO $0 got SIGQUIT" QUIT # print banner $ECHO "$BANNER" # on (some) ksh read -p does not mean prompt $ECHO "$USERPROMPT\c"; read -r USERNAME $ECHO "$PWDPROMPT\c"; read -rs PASSWORD $ECHO if [ "$USERNAME" != "$CREDUSER" -o "$PASSWORD" != "$CREDPASS" ]; then $ECHO "Authentication failed" >&2 exit -1 fi while $ECHO "$PROMPT\c"; read -r COMMAND; do if [ "$COMMAND" = "exit" ]; then break; fi $ECHO "executing $COMMAND" done