-
-
Save joellobo/8e2df13fc42ebe5fea43d2397b3b58dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -r --no-parent http://example.com/configs/.vim/ | |
--no-check-certificate | |
# Log in to the server. This can be done only once. | |
wget --save-cookies cookies.txt \ | |
--keep-session-cookies \ | |
--post-data 'user=foo&password=bar' \ | |
--delete-after \ | |
http://server.com/auth.php | |
# Now grab the page or pages we care about. | |
wget --load-cookies cookies.txt \ | |
http://server.com/interesting/article.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment