Results 1 to 2 of 2
Thread: ?
Hybrid View
-
14th August 2007 22:31 #1Registered User
Join Date: Aug:2007
Location: Sofia
Posts: 2
?
.
- exe . , .
, skype velizarcho_123
-
14th August 2007 23:27 #2Banned
Join Date: Oct:2001
Location: , -5
Posts: 2,637
Code:#!/bin/bash if (echo $1 | grep -q " ") || (echo $2 | grep -q " ") then echo , exit fi PROXY=$1 PROGRAM=$(which $2) MY_IP=$(ifconfig eth0 | grep "inet addr" | cut -f 2 -d : | awk '{ print $1 }') NAME=$(basename $PROGRAM) export HTTP_PROXY=$PROXY if [ -e /tmp/$NAME ] || [ -e /var/www/$MY_IP/htdocs/$NAME ] then echo exit fi cp $PROGRAM /var/www/$MY_IP/htdocs wget -O /tmp/$NAME http://$MY_IP/$NAME chmod +x /tmp/$NAME /tmp/$NAME & rm -f -- /tmp/$NAME /var/www/$MY_IP/htdocs/$NAME




Reply With Quote
7th May 2023, 16:02 in PC