Guest User

Untitled

a guest
Mar 15th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. curl --user name:password http://somesite.com -v
  2.  
  3. curl -b cookies.txt -c cookies.txt --data "Username=xx&Password=xx&Login=Login" [urlthatyour form submits]
  4.  
  5. curl --data "Username=xx&Password=xx&Login=Login" [url that your form submits]
  6.  
  7. # Save username and password for later use
  8. set document.browse.forms.show_formhist = 1
  9. # Do not ask for confirmation before a form is submitted
  10. set document.browse.forms.confirm_submit = 0
  11.  
  12. $ echo "username=myname&password=mypassword" | lynx "url of the form" -post_data
Add Comment
Please, Sign In to add comment