Advertisement
Guest User

Untitled

a guest
Apr 1st, 2016
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.67 KB | None | 0 0
  1. #! /bin/sh
  2.  
  3. LOGIN=
  4. PASSWD=
  5.  
  6. wget --save-cookies juick_cookies.txt "http://juick.com/login" --post-data "username=failman&password=sokol13" -O /dev/null 2> /dev/null
  7. wget --load-cookies juick_cookies.txt "http://juick.com/$LOGIN" -O - | grep "time datetime" | cut -d '"' -f4 | cut -d '/' -f3 > tmplist
  8.  
  9. while true; do
  10.   for msg in `cat tmplist`; do
  11.     data="body=D+%23${msg}&place_id=0"
  12.     wget --load-cookies juick_cookies.txt --post-data=$data "http://juick.com/post2" -O /dev/null 2> /dev/null
  13.     sleep 0.2
  14.   done
  15.   wget --load-cookies juick_cookies.txt "http://juick.com/$LOGIN" -O - | grep "time datetime" | cut -d '"' -f4 | cut -d '/' -f3 > tmplist
  16. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement