- 浅醉、@ 2019-07-25 已签到连续签到60天,获得了20个金钱
- 柠檬也有梦 2019-07-25 已签到连续签到14天,获得了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", ], ]);
- 皎然 2019-07-25 已签到连续签到53天,获得了20个金钱
- wodrow 2019-07-25 已签到连续签到13天,获得了20个金钱
- 天凉了个秋 2019-07-25 已签到连续签到55天,获得了20个金钱
- 稍息!立正~★彡 2019-07-25 已签到连续签到158天,获得了20个金钱
- 小羊爱吃醋 2019-07-25 已签到连续签到130天,获得了20个金钱
- hedeqiang 2019-07-25 已签到连续签到166天,获得了20个金钱
- chocobo 2019-07-25 已签到连续签到54天,获得了20个金钱
- 飞 赞了说说群主是最帅的,yii是PHP最好的框架,没有之一
- 飞 发表了说说群主是最帅的,yii是PHP最好的框架,没有之一
- 飞 赞了评论
群主是最帅的,yii是PHP最好的框架,没有之一
-
群主是最帅的,yii是PHP最好的框架,没有之一
- 小不点/gift 2019-07-24 已签到连续签到10天,获得了20个金钱
排版有问题,脚本再发下
$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", ], ]);