Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
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
903
B
-rwxr-xr-x
2017-01-06 20:58
ftp.sh
4.12
KB
-rwxr-xr-x
2017-01-06 20:58
mail.sh
2.02
KB
-rwxr-xr-x
2017-01-06 20:58
proxy.sh
1.99
KB
-rwxr-xr-x
2019-04-04 08:59
proxyecho.sh
1.2
KB
-rwxr-xr-x
2019-04-04 08:59
readline-test.sh
1.26
KB
-rwxr-xr-x
2019-04-04 08:59
readline.sh
697
B
-rwxr-xr-x
2019-04-04 08:59
socks4a-echo.sh
2.52
KB
-rwxr-xr-x
2019-04-04 08:59
socks4echo.sh
2.31
KB
-rwxr-xr-x
2019-04-04 08:59
test.sh
477.74
KB
-rwxr-xr-x
2022-11-06 08:15
Save
Rename
#! /usr/bin/env bash # source: proxyecho.sh # Copyright Gerhard Rieger and contributors (see file CHANGES) # Published under the GNU General Public License V.2, see file COPYING # perform primitive simulation of a proxy server with echo function via stdio. # accepts and answers correct HTTP CONNECT requests, but then just echoes data. # it is required for test.sh # for TCP, use this script as: # socat tcp-l:8080,reuseaddr,crlf system:"proxyecho.sh" if type socat >/dev/null 2>&1; then SOCAT=socat else SOCAT=./socat fi case `uname` in HP-UX|OSF1) CAT="$SOCAT -u stdin stdout" ;; *) CAT=cat ;; esac SPACES=" " while [ -n "$1" ]; do case "$1" in -w) n="$2"; while [ "$n" -gt 0 ]; do SPACES="$SPACES "; n=$((n-1)); done shift ;; #-s) STAT="$2"; shift ;; esac shift done # read and parse HTTP request read l if echo "$l" |egrep '^CONNECT +[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+:[0-9]+ +HTTP/1.[01]$' >/dev/null then : go on below else echo "HTTP/1.0${SPACES}500 Bad Request" echo exit fi # read more headers until empty line while [ -n "$l" ]; do read l done # send status echo "HTTP/1.0${SPACES}200 OK" # send empty line echo # perform echo function exec $CAT