--cookie-jar c'est pour créer un fichier contenant le cookie et --cookie cjar lit le fichier cjar justement.
Sinon le 'curl URL' total de l'outil dév de Chrome est le suivant :
curl "https://account.shodan.io/login" \
-H "Cookie: __cfduid=d4381192eed9ff99645885de789513e301431216681; _LOCALE_=en; _gat=1; session=""04e457da7d4a6dd84c7c56ef42bff0549b687f2fgAJVQDY0ODFlY2IxOTgzZWVkMzk3NWY5NGZlZjk3OThkOTE0MWJjMGJhODllNGY5MjI0N2NkMGU5MzcwN2U2MTA1MDRxAS4\\075""; _ga=GA1.2.922719769.1431216716" \
-H "Origin:
https://account.shodan.io" -H "Accept-Encoding: gzip, deflate" -H "Accept-Language: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4" -H "User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.134 Safari/537.36" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" -H "Cache-Control: max-age=0" -H "Referer:
https://account.shodan.io/login" \
-H "Connection: keep-alive" --data "username=TEST&password=TEST&grant_type=password&continue=https"%"3A"%"2F"%"2Fwww.shodan.io"%"2F&login_submit=Log+in" --compressed
On a directement le cookie là non ? Y aurait juste à l'enregistrer dans un fichier cjar puis à l'utiliser ensuite ? Mais chaque connexion va donner un cookie= et session= différentes non ?