Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. [01:50 wget --save-cookies=cookiejar --post-data="mapped fields" login_url > dump 2>&1
  2. save cookies == you need to store server sent cookies somewhere to read for future posts
  3. cookiejar is any text file
  4. [01:50] Magsamm: ah i see
  5. --post-data = "username=Edge&password=password&etc"
  6. the stuff you want to send to log in to GET that cookie
  7. [01:51] Magsamm: ya
  8. but you need a pre fetch to get the csrf
  9. : so that's why i have the dump
  10. just dumping output to a text file
  11. then just parse the text file for the csrf
  12. then you can immediately pop another post
  13. using the cookiejar + csrf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement