Advertisement
Guest User

Script bash/wget make a copy of eunuchworld.org

a guest
Feb 1st, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.74 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. USER="username"
  4. PASSWORD="password"
  5. WAIT=1
  6.  
  7. POSTDATA="username=$USER&fakepassword=password&password=$PASSWORD&do=login"
  8.  
  9. wget --save-cookies cookies.txt --post-data $POSTDATA \
  10. --user-agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0" \
  11. --referer="http://www.eunuchworld.org/" http://www.eunuchworld.org/login.php --keep-session-cookies
  12.  
  13. wget --recursive --no-clobber --page-requisites --html-extension --convert-links --restrict-file-names=windows --domains www.eunuchworld.org --no-parent \
  14. --user-agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0" --referer="http://www.eunuchworld.org/" \
  15. --load-cookies cookies.txt http://www.eunuchworld.org/s_index.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement