Advertisement
Guest User

Untitled

a guest
Mar 13th, 2018
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. curl 'https://www3.yooz.fr/[tenant]/j_spring_security_check'
  2. -H 'Cookie: JSESSIONID=ClWKs51hTk-gyOtt7Pmu25SO.undefined; SERVERID=s5'
  3. -H 'Origin: https://www3.yooz.fr'
  4. -H 'Accept-Encoding: gzip, deflate, br'
  5. -H 'Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7,pl;q=0.6'
  6. -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/64.0.3282.167 Chrome/64.0.3282.167 Safari/537.36'
  7. -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'Accept: text/html, */*; q=0.01'
  8. -H 'Referer: https://www3.yooz.fr/[tenant]/login2.html?'
  9. -H 'X-Requested-With: XMLHttpRequest'
  10. -H 'Connection: keep-alive'
  11. --data 'j_username=[login]&j_password=[password]'
  12.  
  13. Tous les headers ne sont pas forcément nécessaires. Les variables en rouge sont à remplacer.
  14.  
  15. Si l'authentification est OK, la réponse est un http redirect vers la location : https://www3.yooz.fr/[tenant]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement