Advertisement
opexxx

httptrafgen.sh

Jun 5th, 2014
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.38 KB | None | 0 0
  1. #!/bin/bash -x
  2. # Get WWW addresses from Alexa: http://www.alexa.com/topsites
  3. # wget http://s3.amazonaws.com/alexa-static/top-1m.csv.zip
  4. addrlist="$HOME/top-1m.csv.zip"
  5. get_addrs() {
  6.    zcat "$addrlist" | cut -d"," -f"2" | shuf
  7. }
  8. while test -e "$addrlist"; do
  9.    get_addrs | while read; do
  10.       xxxterm -e "open http://$REPLY"
  11.       sleep $(echo $RANDOM | cut -b "-2")
  12.    done
  13. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement