but the problem was that there was a IP-Blocking after several GETS.
So i installed TOR and made this tiny little script.
Worked like charm :)
#!/bin/bash while true; do echo "restart TOR..assign new ip address"; /etc/init.d/tor restart >> /dev/null curl --socks5-hostname localhost:9050 -s http://checkip.dyndns.com/ | awk '{ print $6 }' | awk '{gsub("</body></html>", "");print}' COUNTER=50 until [ $COUNTER -lt 1 ]; do curl --socks5-hostname localhost:9050 -s "http://xxx.xxx/votingscript.php?id=[id]"; let COUNTER-=1 done done
Keine Kommentare:
Kommentar veröffentlichen