找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 5735|回复: 36

[iptv信源 资源分享或寻求] 求谷豆源码,以前的失效谁会修复?

[复制链接]
发表于 2022-9-15 00:12 | 显示全部楼层 |阅读模式
以前的失效谁会修复?


&#65279;<?php
error_reporting(0);
header('Content-Type:text/html;charset=UTF-8');

$id=$_GET['id'];
$playseek=$_GET['playseek'];
//$user='1719974****';
//$ptoken='w14L5ppGYYzipwiIRQpgdA==';
//$pserialnumber='865372026096088';
$user='freeuser';
$ptoken='A5ZjU2OThiNjAxMzExMTBkN==';
$pserialnumber='b60131110d72d53';
$t=time();
$nonce=rand(100000,999999);
$str='sumasalt-app-portalpVW4U*FlS'.$t.$nonce.$user;
$hmac=substr(sha1($str),0,10);
$onlineip=$_SERVER['REMOTE_ADDR'];
$info='ptype=1&plocation=001&puser='.$user.'&ptoken='.$ptoken.'&pversion=030104&pserverAddress=portal.gcable.cn&pserialNumber='.$pserialnumber.'&pkv=1&ptn=Y29tLnN1bWF2aXNpb24uc2FucGluZy5ndWRvdQ&pappName=GoodTV&DRMtoken='.$ptoken.'&epgID=&authType=0&secondAuthid=&t='.$ptoken.'&pid=&cid=&u='.$user.'&p=8&l=001&d='.$pserialnumber.'&n='.$id.'&v=2&hmac='.$hmac.'×tamp='.$t.'&nonce='.$nonce;
$url='http://portal.gcable.cn:8080/PortalServer-App/new/aaa_aut_aut002';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);        
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, $info);
curl_setopt($ch, CURLOPT_USERAGENT, "Apache-HttpClient/UNAVAILABLE (java 1.4)");
//curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded', 'Host: portal.gcable.cn:8080', 'Connection: Keep-Alive','Accept-Encoding: gzip','Content-Length: 440')); 页头信息备用
curl_setopt($ch, CURLOPT_HTTPHEADER, array('X-FORWARDED-FOR:'.$onlineip, 'CLIENT-IP:'.$onlineip));
$res = curl_exec($ch);
curl_close($ch);
//preg_match('|aaa?(.*?)&ip|',$res, $tk);
//$live="http://gslb.gcable.cn:8070/live/".$id.".m3u8?".$tk[1];
$uas=parse_url($res);
parse_str($uas["query"]);
$token="?t=".$t."&u=".$u."&p=".$p."&pid=&cid=".$cid."&d=".$d."&sid=".$sid."&r=".$r."&e=".$e."&nc=".$nc."&a=".$a."&v=".$v;
$playurl = "http://gslb.gcable.cn:8070/live/".$id.".m3u8".$token;
if($playseek !== null){
         $t = explode('-',$playseek);
             $st=strtotime($t[0]);
         $et=strtotime($t[1]);
         $playurl=$playurl."&starttime=".$st."&endtime=".$et."";
         }
//print_r ($playurl);
header('Location: '.$playurl);
?>

点评

这个已经无效了,没人会告诉你怎么修复,因为告诉你了它自己就不能用了,所以发出也没任何意义。  发表于 2022-9-15 11:15

评分

参与人数 2恩山币 +2 收起 理由
daneilzhou + 1 修改几个地方就可以用了
幻之役 + 1 厉害了,跪求都求不到,居然这么大方

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-9-15 07:29 | 显示全部楼层
谷豆有啥别的没有的频道么
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-9-15 07:32 | 显示全部楼层
此代码并无失效
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-9-15 08:25 | 显示全部楼层
自己不会修复嘛
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-9-15 08:32 来自手机 | 显示全部楼层
不会修复

点评

建议删掉代码。否则会骂死  发表于 2022-9-15 11:14
哪来的?花钱买的?  发表于 2022-9-15 09:38
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-9-15 09:02 | 显示全部楼层
本帖最后由 epaygps 于 2022-9-15 09:26 编辑

为何要把代码到处发,???有没有尊重过原作者
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-9-15 09:19 来自手机 | 显示全部楼层
他这样 就是别人知道怎样改,也不会发出来的。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-9-15 09:25 | 显示全部楼层
够狠,好好的代码又发出来了,这次又得死一阵了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-9-15 09:44 | 显示全部楼层

够狠,好好的代码又发出来了,这次又得死一阵了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

头像被屏蔽
发表于 2022-9-15 10:05 | 显示全部楼层
提示: 该帖被管理员或版主屏蔽
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-9-15 10:41 | 显示全部楼层
真服了你这个人了,拿着别人幸幸苦苦写的代码到处发
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-9-15 10:43 来自手机 | 显示全部楼层
这东西 有时给最信任的人,他还是给到处发 现在谁也不能给。

点评

估计是花钱买的,否则不会这样  发表于 2022-9-15 11:13
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-9-15 10:50 | 显示全部楼层
自己稍微懂点 就可以改好了 发坛子里烂的更快 最后就是挂掉  
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-9-15 10:52 | 显示全部楼层
这下更多人撸了,玩完了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-9-15 10:55 | 显示全部楼层
都挂掉了还不让发?你们有多怕别人知道?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-18 18:22

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表