# encoding: ascii
# api: powershell
# title: Down with SOPA!
# description: Let’s fill the logs of the US House and Senate servers with the message we don’t want SOPA or E-Parasite!
# version: 0.1
# type: script
# author: hotsnoj
# license: CC0
# x-poshcode-id: 3053
# x-archived: 2011-11-22T10:46:30
# x-published: 2011-11-16T09:12:00
#
#
<#
.Synopsis
Let's fill the logs of the US House and Senate servers with the message we don't want SOPA or E-Parasite!
.Description
Runs an while(1) loop that grabs a couple URI's from each branch's website and sleeps for 1 second between requests.
#>
# twitter tags
#occupyUSSenate
#occupyUSHouse
#sopa
#eparasite
while(1){
try{
(new-object net.webclient).downloadstring("http://www.house.gov/downWithSOPA") | Out-Null;
} catch{}
try{
(new-object net.webclient).downloadstring("http://www.senate.gov/downWithE-Parasite") | out-n
} catch{}
sleep 1;
}