hedeqiang
- hedeqiang 2019-08-01 已签到连续签到173天,获得了20个金钱
- hedeqiang 2019-07-31 已签到连续签到172天,获得了20个金钱
- hedeqiang 2019-07-30 已签到连续签到171天,获得了20个金钱
- hedeqiang 2019-07-29 已签到连续签到170天,获得了20个金钱
- hedeqiang 2019-07-28 已签到连续签到169天,获得了20个金钱
- hedeqiang 2019-07-27 已签到连续签到168天,获得了20个金钱
- hedeqiang 2019-07-26 已签到连续签到167天,获得了20个金钱
- hedeqiang 赞了评论
排版有问题,脚本再发下
$ql = QueryList::getInstance(); $ql->get("https://php.la/login"); $csrf = $ql->find("input[name='_csrf-frontend']")->val(); $username = 'username' $password = 'password'; $userInfo= [ '_csrf-frontend' => $csrf, 'LoginForm[username]' => $username, 'LoginForm[password]' => $password, 'LoginForm[rememberMe]' => '1', ]; $ql->post("https://php.la/login", $userInfo); $ql->get("https://php.la"); $csrf_token = $ql->find('meta[name="csrf-token"]')->attr('content'); $ql->post("https://php.la/registration", [ '_csrf' => $csrf_token, ], [ 'headers' => [ 'accept' => "application/json, text/javascript, */*; q=0.01", 'accept-encoding' => "gzip, deflate, br", 'accept-language' => "en,zh-CN;q=0.9,zh;q=0.8,zh-TW;q=0.7", 'content-type' => "application/x-www-form-urlencoded; charset=UTF-8", 'origin' => "https://php.la", 'referer' => "https://php.la", 'user-agent' => "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36", 'x-csrf-token' => $csrf_token, 'x-requested-with' => "XMLHttpRequest", ], ]);
- hedeqiang 2019-07-25 已签到连续签到166天,获得了20个金钱
- hedeqiang 2019-07-24 已签到连续签到165天,获得了20个金钱