Home | History | Annotate | Download | only in scripts

Lines Matching full:echo

43     echo needs client hostname
71 test ! -f "$0" && echo "Oops, cannot find my own corporeal being" && exit 1
80 echo "Last connection results:"
86 test ! "$CLIENT" && echo "Can't find address of $1" && exit 1
89 echo "=== Launch: $CLIENT" >> $LFILE
90 echo "Proxy running -- will accept connections on $PORT from $CLIENT"
91 echo " Logging queries to $LFILE"
92 test -f "$CFILE" && echo " and connection fuckups to $CFILE"
106 echo "=== query: $x1 $x2 $x3 $x4" >> $LFILE
107 test "$x4" && echo "extra junk after request: $x4" && exit 0
109 hurl=`echo "$x2" | sed -e "s+.*//++" -e 's+[\`'\''|$;<>{}\\!*()"]++g'`
110 # echo massaged hurl: $hurl >> $LFILE
111 hh=`echo "$hurl" | sed -e "s+/.*++" -e "s+:.*++"`
112 hp=`echo "$hurl" | sed -e "s+.*:++" -e "s+/.*++"`
114 hf=`echo "$hurl" | sed -e "s+[^/]*++"`
115 # echo total split: $hh : $hp : $hf >> $LFILE
120 echo "${xx}" >> $LFILE
128 test "$x1" != "GET" && echo "sorry, this proxy only does GETs" && exit 0
130 test "`echo $hh | fgrep -i netscap`" && \
131 echo "access to Netscam's servers <b>DENIED.</b>" && exit 0
134 # If necessary, replace below with (echo "$x1 $hf" ; echo '') | nc...
135 echo "$x1 $hf" | nc -w 30 "$hh" "$hp" 2> /dev/null || \
136 echo "oops, can't get to $hh : $hp".
137 echo "sent \"$x1 $hf\" to $hh : $hp" >> $LFILE