PHP头条
热点:

OSC自动动弹弹JJ脚本。。。-PHP源码


OSC 自动动弹弹JJ脚本。。。

OSC 自动动弹弹JJ脚本。。。
用于2.7-2.17 OSC动弹抽书活动。。。
过年了,俺需要去应酬妹子,所以。。。

 $email,
        'pwd' => $pwd,
        'save_login' => $save_login,
    );
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, 'https://www.oschina.net/action/user/hash_login');
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
    curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_jar);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
    $content = curl_exec($ch);
    curl_close($ch);
     
    // 登录失败
    if(!$content){
        var_dump($content);
        exit;
    } 
}
 
 
// 发动弹 
$data = array(
    'msg' => $msg,
    'user' => $user,
    'user_code' => $user_code,
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://www.oschina.net/action/tweet/pub');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_jar);
$content = curl_exec($ch);
curl_close($ch);
 
$content = json_decode($content);
if(isset($content->error)){
    echo 'pub failure! error:'.$content->error.', message:'.$content->msg;
    exit;
}
 
echo 'pub success! the pid is '.$content->log;

以上就是OSC 自动动弹弹JJ脚本。。。的内容,更多相关内容请关注PHP中文网(www.php1.cn)!

www.phpzy.comtrue/php/35202.htmlTechArticleOSC自动动弹弹JJ脚本。。。-PHP源码 OSC 自动动弹弹JJ脚本。。。 OSC 自动动弹弹JJ脚本。。。 用于2.7-2.17 OSC动弹抽书活动。。。 过年了,俺需要去应酬妹子,所以。。。 $email, pwd => $pwd...

相关文章

PHP之友评论

今天推荐