OSC 自动动弹弹JJ脚本。。。
OSC 自动动弹弹JJ脚本。。。
OSC 自动动弹弹JJ脚本。。。
用于2.7-2.17 OSC动弹抽书活动。。。
过年了,俺需要去应酬妹子,所以。。。
<?php // 配置环境 set_time_limit(0); // 设置参数 $is_login = false; $email = 'example@163.com'; //账号 $pwd = 'exampleca3762af61example43da2649example'; //加密后密码 firefox获取 $user = '131802'; //UID $user_code = 'exampleIyTXVGTzI0example5gexamplepRPLawd3'; //加密后UID firefox获取 $save_login = '1'; $cookie_jar = dirname(__FILE__).DIRECTORY_SEPARATOR.'cookie.txt'; $msg = '自动弹@红薯JJ脚本测试ing...'; // 是否登录 $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://my.oschina.net/u/'.$user.'/admin'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 0); curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_jar); $content = curl_exec($ch); curl_close($ch); if(strpos($content, $user) !== false){ $is_login = true; } if($is_login == false){ // 登录 $data = array( 'email' => $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;
Copy after login
以上就是OSC 自动动弹弹JJ脚本。。。的内容,更多相关内容请关注PHP中文网(www.php.cn)!
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article
Assassin's Creed Shadows: Seashell Riddle Solution
1 months ago
By DDD
What's New in Windows 11 KB5054979 & How to Fix Update Issues
3 weeks ago
By DDD
Where to find the Crane Control Keycard in Atomfall
1 months ago
By DDD
How to fix KB5055523 fails to install in Windows 11?
2 weeks ago
By DDD
InZoi: How To Apply To School And University
3 weeks ago
By DDD

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)
