#!/bin/bash # on choppe les proxys, on les parse et on les formate pour les ajouter a mfdefender export http_proxy="http://proxy.free.fr:3128" Date=`date -I` wget --proxy -q http://www.checker.freeproxy.ru/checker/last_checked_proxies.php -O proxytemp.txt grep "name =" proxytemp.txt | sed -e "s/ name = '/ops add /g" | sed -e "s/';//g" | sort | uniq >> proxy.txt rm -f proxytemp.txt proxy=`wc -l proxy.txt| sed -e "s/proxy.txt//g" ` echo $proxy "proxys will be checked/added in MFdefender" cat proxy.txt rm -f proxy.txt