Heim php教程 PHP源码 OSC 自动动弹弹JJ脚本。。。

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

May 25, 2016 pm 05:08 PM

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

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

<?php
 
// 配置环境
set_time_limit(0);
 
// 设置参数
$is_login    = false;
$email       = &#39;example@163.com&#39;;                               //账号
$pwd         = &#39;exampleca3762af61example43da2649example&#39;;      //加密后密码    firefox获取
$user        = &#39;131802&#39;;                                        //UID
$user_code   = &#39;exampleIyTXVGTzI0example5gexamplepRPLawd3&#39;;      //加密后UID firefox获取
$save_login  = &#39;1&#39;;
$cookie_jar  = dirname(__FILE__).DIRECTORY_SEPARATOR.&#39;cookie.txt&#39;;
$msg         = &#39;自动弹@红薯JJ脚本测试ing...&#39;;
 
// 是否登录
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, &#39;http://my.oschina.net/u/&#39;.$user.&#39;/admin&#39;);
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(
        &#39;email&#39; => $email,
        &#39;pwd&#39; => $pwd,
        &#39;save_login&#39; => $save_login,
    );
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, &#39;https://www.oschina.net/action/user/hash_login&#39;);
    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(
    &#39;msg&#39; => $msg,
    &#39;user&#39; => $user,
    &#39;user_code&#39; => $user_code,
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, &#39;http://www.oschina.net/action/tweet/pub&#39;);
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 &#39;pub failure! error:&#39;.$content->error.&#39;, message:&#39;.$content->msg;
    exit;
}
 
echo &#39;pub success! the pid is &#39;.$content->log;
Nach dem Login kopieren

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


Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn

Heiße KI -Werkzeuge

Undresser.AI Undress

Undresser.AI Undress

KI-gestützte App zum Erstellen realistischer Aktfotos

AI Clothes Remover

AI Clothes Remover

Online-KI-Tool zum Entfernen von Kleidung aus Fotos.

Undress AI Tool

Undress AI Tool

Ausziehbilder kostenlos

Clothoff.io

Clothoff.io

KI-Kleiderentferner

AI Hentai Generator

AI Hentai Generator

Erstellen Sie kostenlos Ai Hentai.

Heißer Artikel

R.E.P.O. Energiekristalle erklärten und was sie tun (gelber Kristall)
2 Wochen vor By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Beste grafische Einstellungen
2 Wochen vor By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. So reparieren Sie Audio, wenn Sie niemanden hören können
2 Wochen vor By 尊渡假赌尊渡假赌尊渡假赌

Heiße Werkzeuge

Notepad++7.3.1

Notepad++7.3.1

Einfach zu bedienender und kostenloser Code-Editor

SublimeText3 chinesische Version

SublimeText3 chinesische Version

Chinesische Version, sehr einfach zu bedienen

Senden Sie Studio 13.0.1

Senden Sie Studio 13.0.1

Leistungsstarke integrierte PHP-Entwicklungsumgebung

Dreamweaver CS6

Dreamweaver CS6

Visuelle Webentwicklungstools

SublimeText3 Mac-Version

SublimeText3 Mac-Version

Codebearbeitungssoftware auf Gottesniveau (SublimeText3)