_
This commit is contained in:
parent
21da96318f
commit
f750161680
12
test.sh.php
Normal file
12
test.sh.php
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<?php require('./config.php'); ?>
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
while :
|
||||||
|
do
|
||||||
|
if export http_proxy=http://<?php echo PROXY_USERNAME; ?>:<?php echo PROXY_PASSWORD; ?>@localhost:<?php echo PROXY_PORT; ?> && wget -qO- http://ifconfig.me/ip; then
|
||||||
|
sleep 1;
|
||||||
|
else
|
||||||
|
echo "test failed";
|
||||||
|
break;
|
||||||
|
fi
|
||||||
|
done
|
Loading…
Reference in a new issue