Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl --user name:password http://somesite.com -v
- curl -b cookies.txt -c cookies.txt --data "Username=xx&Password=xx&Login=Login" [urlthatyour form submits]
- curl --data "Username=xx&Password=xx&Login=Login" [url that your form submits]
- # Save username and password for later use
- set document.browse.forms.show_formhist = 1
- # Do not ask for confirmation before a form is submitted
- set document.browse.forms.confirm_submit = 0
- $ echo "username=myname&password=mypassword" | lynx "url of the form" -post_data
Add Comment
Please, Sign In to add comment