运行curl命令(密码已经打码):
curl -L -b cookies -c cookies -d "form_sent=1&redirect_url=https%3A%2F%2Fwhycan.com%2Findex.php&req_username=uuid&req_password=*****&save_pass=1&login=%E7%99%BB%E5%BD%95" https://whycan.com/login.php?action=in
登录成功!
离线
然后当前目录下面的cookie文件(已马赛克):
$ cat cookies
# Netscape HTTP Cookie File
# https://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
#HttpOnly_.whycan.com TRUE / FALSE 1610893069 pun_cookie_a2a841 5564%7C1acedc8a3bd69b2bc99f6ffc01ba4806ac47dc12%7C1610893069%7C0178d2c4e16af69d25ca300e7d8fcbc531*****
#HttpOnly_.whycan.com TRUE / FALSE 1609683469 pun_cookie_a2a841_track deleted
离线
离线