BlackBeard
Newbie
- May 29, 2009
- 26
- 9
You can do a lot of powerful things with a simple UNIX shellscript!
I haven't used PR Storm since I'm a Mac/Unix not Windows guy, but after reading about it... it seems to basically do this?
referer.sh
I haven't used PR Storm since I'm a Mac/Unix not Windows guy, but after reading about it... it seems to basically do this?
referer.sh
PHP:
# usage: ./referer.sh www.site-to-promote.com sites.txt
# sites.txt should contain a list of sites formatted like
# www.site1.com
# www.site2.com
# which have google-indexed web statistics pages
for i in `cat $2`
do
echo "Posting referer: $1 To URL: $i"
curl --form ref=http://$1 \
--referer http://$1 \
--user-agent "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6 Gecko/20070725 Firefox/2.0.0.6)" \
--request POST http://$i/ > /dev/null
done