时间:2021-07-01 10:21:17 帮助过:3人阅读
if($id!='' and $do=='vi'){
$id='1355114'//-----------------------------帐号1
$pw='653'
$rang=rand(333,8888);
$url="http://im.uxin.com:8887/login?sn=".$rang."&account=".$id."&pwd=".md5($pw)."&pv=android&v=2.8.4&sign=".md5($rang.$id."k1oET&Yh7@EQnp2XdTP1o/Vo=")."&netmode=1&brand=Xiaomi&model=MI+2SC&osv=4.1.1&imei=".rand(10000,99999).rand(10000,99999).rand(10000,99999);
$cont=httpreq($url,1);
if(strstr($cont,'uid')){
echo "登录成功
";
}else{
echo "登录失败
";
}
$url="http://im.uxin.com:8887/signin?sn=".$rang."&sign=".md5($rang."k1oET&Yh7@EQnp2XdTP1o/Vo=");
$content=json_decode(httpreq($url),true);
//echo $content['content'];
echo '',var_dump($content),'';
die();
$id='151175'//-----------------------------帐号2
$pw='053'
$rang=rand(333,8888);
$url="http://im.uxin.com:8887/login?sn=".$rang."&account=".$id."&pwd=".md5($pw)."&pv=android&v=2.8.4&sign=".md5($rang.$id."k1oET&Yh7@EQnp2XdTP1o/Vo=")."&netmode=1&brand=Xiaomi&model=MI+2SC&osv=4.1.1&imei=".rand(10000,99999).rand(10000,99999).rand(10000,99999);
$cont=httpreq($url,1);
if(strstr($cont,'uid')){
echo "登录成功
";
}else{
echo "登录失败
";
}
$url="http://im.uxin.com:8887/signin?sn=".$rang."&sign=".md5($rang."k1oET&Yh7@EQnp2XdTP1o/Vo=");
$content=json_decode(httpreq($url),true);
//echo $content['content'];
echo '',var_dump($content),'';
die();
set_time_limit(0);
ini_set('display_errors','on');
error_reporting(E_ALL);
header('Content-type: text/html; charset=UTF-8');
$id=(isset($_REQUEST["id"])) ? trim($_REQUEST["id"]) : '';
$pw=(isset($_REQUEST["pw"])) ? trim($_REQUEST["pw"]) : '';
$do=(isset($_REQUEST["do"])) ? trim($_REQUEST["do"]) : '';
if($id!='' and $pw!=''){
setcookie("id",$id);
setcookie("pw",$pw);
}
header("Content-type: text/html; charset=UTF-8");
$cookie_file = dirname(__FILE__)."/cookie_".md5(basename(__FILE__)).".txt";
date_default_timezone_set('PRC');
function httpreq($url,$getcookie=0){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_USERAGENT, "Dalvik/1.6.0 (Linux; U; Android 4.1.1; MI 2SC MIUI/JLB14.0)");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$getcookie?curl_setopt($ch, CURLOPT_COOKIEJAR, $GLOBALS['cookie_file']):curl_setopt($ch, CURLOPT_COOKIEFILE, $GLOBALS['cookie_file']);
$result = curl_exec($ch);
curl_close($ch);
return $result;
}?>
签到