|
本帖最后由 suzqin 于 2025-7-27 02:04 编辑
小白一枚,正在摸索。
跟着教程发现无法走通。
我这边好像是单播源RTSP的。但是一个一个抓频道感觉好麻烦。
看之前帖子说可以抓频道源列表,这些文件看了几个发现好像都不包含频道列表源啊。
已解决抓包没有频道列表源的问题。给后面来的参考一下。
这种情况可能是盒子缓存了频道列表信息,导致开机抓不到频道列表的包。
解决参考:进入盒子的设置(密码可以试试 电信 10000 联通10010 移动10086)
找到运维选项,打开抓取开机日志(可能需要插个U盘?反正我是插了一个,实际可能用不到)
然后网线插好,wireshark打开。监听连接iptv盒子的网卡
然后遥控器选择重启机顶盒,这时候wireshark开始抓包。
不出意外就能抓到了。
如果这样还是抓不到频道列表源,那你可能需要恢复出厂设置,然后一直开着wireshark监听,直到IPTV配置完毕,成功加载频道列表并播放。
这个操作不要随意尝试,恢复出厂设置之后,你不记得账号密码等信息可能会导致无法观看,你就得叫小哥上门服务了。
是抓的开机包。贴一个HTTP包
- GET /EPG/jsp/AuthenticationURL?UserID=666666123456&Action=Login HTTP/1.1
- Host: 11.22.33.44:33200
- Connection: keep-alive
- Accept-Language: zh-cn
- Upgrade-Insecure-Requests: 1
- User-Agent: Mozilla/5.0 (Linux; Android 4.4.2; B860AV3.1-U Build/KOT49H) (ztebw,1.0.1,ZTE,blink,7105)AppleWebKit/537.36 (KHTML, like Gecko) Chrome Safari/537.36
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
- Accept-Encoding: gzip, deflate
- HTTP/1.1 200 OK
- Server: WebServer
- Date: Fri, 25 Jul 2025 19:06:09 GMT
- Content-Type: text/html;charset=UTF-8
- Content-Length: 673
- Connection: keep-alive
- Keep-Alive: timeout=300, max=767
- X-XSS-Protection: 1; mode=block
- X-Download-Options: noopen
- X-Content-Type-Options: nosniff
- <html>
- <head>
- <title>Login page for STB</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- </head>
- <script>
- function doLogin()
- {
- if (true)
- {
-
- Authentication.CUSetConfig("ShowPic","1");
- document.authform.submit();
- }
- }
- </script>
- <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="transparent" onload="doLogin()">
- <form action="authLoginHWCU.jsp" name="authform" method="post">
- <table width="640" height="340" border="0">
- </table>
- <input type="hidden" name="UserID" value="666666123456">
- <input type="hidden" name="VIP" value="">
- </form>
- </body>
- </html>
- POST /EPG/jsp/authLoginHWCU.jsp HTTP/1.1
- Host: 11.22.33.44:33200
- Connection: keep-alive
- Content-Length: 24
- Cache-Control: max-age=0
- Origin: http://11.22.33.44:33200
- Accept-Language: zh-cn
- Upgrade-Insecure-Requests: 1
- User-Agent: Mozilla/5.0 (Linux; Android 4.4.2; B860AV3.1-U Build/KOT49H) (ztebw,1.0.1,ZTE,blink,7105)AppleWebKit/537.36 (KHTML, like Gecko) Chrome Safari/537.36
- Content-Type: application/x-www-form-urlencoded
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
- Referer: http://11.22.33.44:33200/EPG/jsp/AuthenticationURL?UserID=666666123456&Action=Login
- Accept-Encoding: gzip, deflate
- UserID=666666123456&VIP=
- TBVersion" value="">
- <input type="hidden" name="conntype" value="">
- <input type="hidden" name="STBID" value="">
- <input type="hidden" name="templateName" value="">
- <input type="hidden" name="areaId" value="">
- <input type="hidden" name="userToken" value="">
- <input type="hidden" name="userGroupId" value="">
- <input type="hidden" name="productPackageId" value="">
- <input type="hidden" name="mac" value="">
- <input type="hidden" name="SoftwareVersion" value="">
- <input type="hidden" name="VIP" value="">
- </form>
- </body>
- </html>
- POST /EPG/jsp/ValidAuthenticationHWCU.jsp HTTP/1.1
- Host: 11.22.33.44:33200
- Connection: keep-alive
- Content-Length: 583
- Cache-Control: max-age=0
- Origin: http://11.22.33.44:33200
- Accept-Language: zh-cn
- Upgrade-Insecure-Requests: 1
- User-Agent: Mozilla/5.0 (Linux; Android 4.4.2; B860AV3.1-U Build/KOT49H) (ztebw,1.0.1,ZTE,blink,7105)AppleWebKit/537.36 (KHTML, like Gecko) Chrome Safari/537.36
- Content-Type: application/x-www-form-urlencoded
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
- Referer: http://11.22.33.44:33200/EPG/jsp/authLoginHWCU.jsp
- Accept-Encoding: gzip, deflate
- UserID=666666123456&Lang=0&SupportHD=1&NetUserID=&Authenticator=9232AE735FF842F3C3FB6094D82D7124D81BBB19BE1C71E8FB6374F4751224DF061A9E1BB95FFFACBBAA06C562FC97D2795116FA56692C355A792D02572E89AE214831C6FF63ECC3769EF632EDE82442E201E5153261C7DF666AA6165DF46C25471F4DD1A6A0DEA534BE120A005A6D54B92B907D0F93B5DE4980DC2FE5CCBA69&STBType=B860AV3.1-U&STBVersion=V81021336.2001&conntype=dhcp&STBID=56000436001348900000D80AE62C8D3C&templateName=&areaId=&userToken=CF58F5A682A33A0351A4D8D0E3E57E2B&userGroupId=&productPackageId=&mac=D8%3A0A%3AE6%3A2C%3A8D%3A3C&SoftwareVersion=V81021336.2001&VIP=
- HTTP/1.1 200 OK
- Server: WebServer
- Date: Fri, 25 Jul 2025 19:06:09 GMT
- Content-Type: text/html;charset=UTF-8
- Transfer-Encoding: chunked
- Connection: keep-alive
- Keep-Alive: timeout=300, max=765
- Set-Cookie: JSESSIONID=04ZQLY9EDQ1GSXRIHEITR9XGD0OHM1BY; Domain=11.22.33.44; Path=/; HttpOnly
- vary: accept-encoding
- Content-Encoding: gzip
- X-XSS-Protection: 1; mode=block
- X-Download-Options: noopen
- X-Content-Type-Options: nosniff
- <html>
- <head>
- <title>Login page for STB</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- </head>
- <script language="javascript">
- var isSucessed = true;
- var isWriteBox = true;
- var needWriteTSP = true;
- function AuthFinish()
- {
- var tempKey = "";
- if (isSucessed)
- {
- if (false)
- {
- Authentication.CUSetConfig('Tools.Record.AddRecord','{"key":"X_CSRFToken","value":"null","type":"1"}');
- }
- Authentication.CUSetConfig('IsPostLog','');
- setStbParmList();
- Authentication.CUSetConfig('SQARtcpPort','8027');
- if (isWriteBox)
- {
- Authentication.CUSetConfig('UserToken','KQi6DKQi6D7ONHm31dOchOVuNeCD3rJO');
- Authentication.CUSetConfig('EPGDomain','http://11.22.33.44:33200/EPG/jsp/jxgdepg40/en/Category.jsp');
- Authentication.CUSetConfig('EPGDomainBackup','null');
- Authentication.CUSetConfig('ManagementDomain','null');
- Authentication.CUSetConfig('ManagementDomainBackup','null');
- Authentication.CUSetConfig('UpgradeDomain','http://jxitv.liveiptv.cn:8082');
- Authentication.CUSetConfig('UpgradeDomainBackup','null');
- Authentication.CUSetConfig('NTPDomain','jxntp.liveiptv.cn');
- Authentication.CUSetConfig('NTPDomainBackup','null');
- Authentication.CUSetConfig('EPGGroupNMB','jxgdepg40');
- Authentication.CUSetConfig('UserGroupNMB','80');
- Authentication.CUSetConfig('PackageIDs','');
- Authentication.CUSetConfig('subNetId','8601');
- if (true)
- {
- if (false)
- {
- Authentication.CUSetConfig('NetUserID','666666123456');
- }
- }
- Authentication.CUSetConfig('areaid','754');
- Authentication.CUSetConfig('templateName','jxgdepg40');
- }
- Authentication.CUSetConfig('shareKey','');
- Authentication.CUSetConfig('LogServerUrl','sftp://username:***@IP:port/path');
- Authentication.CUSetConfig('LogUploadInterval','3600');
- Authentication.CUSetConfig('LogRecordInterval','3600');
- Authentication.CUSetConfig('EPGUrl','http://11.22.33.44:33200/EPG/jsp/indexHWCU.jsp');
- Authentication.CUSetConfig('UserStatus','1');
- if (needWriteTSP)
- {
- Authentication.CUSetConfig('TransportProtocol','0');
- }
- Authentication.CUSetConfig('MQMCURL','10.10.10.10');
- setSTBConfig();
- Authentication.CUSetConfig('SessionID','04ZQLY9EDQ1GSXRIHEITR9XGD0OHM1BY');
- tempKey = Authentication.CUGetConfig('identityEncode');
- document.authform.tempKey.value = tempKey;
- }
- document.authform.submit();
- }
- function setSTBConfig()
- {
- Authentication.CUSetConfig('UserID','666666123456');
- Authentication.CUSetConfig('TVMSHeartbitUrl','http://www.TVMSHeartbitUrl.com');
- Authentication.CUSetConfig('TVMSVODHeartbitUrl','http://www.TVMSVODHeartbitUrl.com');
- Authentication.CUSetConfig('TVMSHeartbitInterval','600');
- Authentication.CUSetConfig('TVMSDelayLength','60');
- Authentication.CUSetConfig("ResServerUrl", "http://jxitv.liveiptv.cn:8082" + "/EDS/jsp/loadBootpic.jsp");
- setBootPic();
- Authentication.CUStartUpdate();
- }
- function getUrlParameter(url, paramtername)
- {
- var name = paramtername +"=";
- var value =url.substring(url.indexOf(name) + name.length);
- if (value.indexOf("&") != -1){
- value =value.substring(0, value.indexOf("&"));
- }
- return value;
- }
- function setBootPic()
- {
- var bootLogo = "http://jxitv.liveiptv.cn:8082/EDS/jsp/loadBootpic.jsp?STBType=B860AV3.1-U&areaid=11116&PicType=0&userId=666666123456&userGroupId=80&isIndiv=1";
- var authenBack = "http://jxitv.liveiptv.cn:8082/EDS/jsp/loadBootpic.jsp?STBType=B860AV3.1-U&areaid=11116&PicType=1&userId=666666123456&userGroupId=80&isIndiv=1";
- var bootLoad = "null";
- var bootAny = "http://jxitv.liveiptv.cn:8082/EDS/jsp/loadBootpic.jsp?STBType=B860AV3.1-U&areaid=11116&PicType=3&userId=666666123456&userGroupId=80&isIndiv=1&Action=NotSend";
- var bootLogo_old = Authentication.CUGetConfig("PADBootLogPicURL");
- var authenBack_old = Authentication.CUGetConfig("PADAuthenBackgroundPicURL");
- var bootLoad_old = Authentication.CUGetConfig("PADLoaderLogoPicURL");
- var bootAny_old = Authentication.CUGetConfig("BootanimationURL");
- var isSupportAD = "0";
- if (1 == isSupportAD)
- {
- if (bootLogo != '' && bootLogo != 'null')
- {
- if (bootLogo != bootLogo_old)
- {
- Authentication.CUSetConfig("PADBootLogPicURL", bootLogo);
- }
- }
- if (authenBack != '' && authenBack != 'null')
- {
- if (authenBack != authenBack_old)
- {
- Authentication.CUSetConfig("PADAuthenBackgroundPicURL", authenBack);
- }
- }
- }
- else
- {
-
- var sJson= Authentication.CUGetConfig('commonInfo, {"type":"bootPic"}');
- if (sJson.downLoadURL != "http://jxitv.liveiptv.cn:8082/EDS/jsp/loadBootpic.jsp?STBType=B860AV3.1-U&areaid=11116&PicType=5&userId=666666123456&userGroupId=80&isIndiv=1&Action=NotSend")
- {
- Authentication.CUSetConfig('commonInfo','{"type":"bootPic","downLoadURL":"http://jxitv.liveiptv.cn:8082/EDS/jsp/loadBootpic.jsp?STBType=B860AV3.1-U&areaid=11116&PicType=5&userId=666666123456&userGroupId=80&isIndiv=1&Action=NotSend","infoDesc":""}');
- }
-
- var sJson= Authentication.CUGetConfig('commonInfo, {"type":"fastPlay"}');
- if (sJson.downLoadURL != "http://jxitv.liveiptv.cn:8082/EDS/jsp/loadBootpic.jsp?STBType=B860AV3.1-U&areaid=11116&PicType=6&userId=666666123456&userGroupId=80&isIndiv=1&Action=NotSend")
- {
- Authentication.CUSetConfig('commonInfo','{"type":"fastPlay","downLoadURL":"http://jxitv.liveiptv.cn:8082/EDS/jsp/loadBootpic.jsp?STBType=B860AV3.1-U&areaid=11116&PicType=6&userId=666666123456&userGroupId=80&isIndiv=1&Action=NotSend","infoDesc":""}');
- }
-
- var sJson= Authentication.CUGetConfig('commonInfo, {"type":"bootanimation"}');
- if (sJson.downLoadURL != "http://jxitv.liveiptv.cn:8082/EDS/jsp/loadBootpic.jsp?STBType=B860AV3.1-U&areaid=11116&PicType=7&userId=666666123456&userGroupId=80&isIndiv=1&Action=NotSend")
- {
- Authentication.CUSetConfig('commonInfo','{"type":"bootanimation","downLoadURL":"http://jxitv.liveiptv.cn:8082/EDS/jsp/loadBootpic.jsp?STBType=B860AV3.1-U&areaid=11116&PicType=7&userId=666666123456&userGroupId=80&isIndiv=1&Action=NotSend","infoDesc":""}');
- }
-
- var sJson= Authentication.CUGetConfig('commonInfo, {"type":"authPic"}');
- if (sJson.downLoadURL != "http://jxitv.liveiptv.cn:8082/EDS/jsp/loadBootpic.jsp?STBType=B860AV3.1-U&areaid=11116&PicType=8&userId=666666123456&userGroupId=80&isIndiv=1&Action=NotSend")
- {
- Authentication.CUSetConfig('commonInfo','{"type":"authPic","downLoadURL":"http://jxitv.liveiptv.cn:8082/EDS/jsp/loadBootpic.jsp?STBType=B860AV3.1-U&areaid=11116&PicType=8&userId=666666123456&userGroupId=80&isIndiv=1&Action=NotSend","infoDesc":""}');
- }
-
- if (bootLogo != '' && bootLogo != 'null')
- {
- if (-1 == bootLogo.indexOf("FILENAME=") || undefined == bootLogo_old || -1 == bootLogo_old.indexOf("FILENAME="))
- {
- Authentication.CUSetConfig("PADBootLogPicURL", bootLogo);
- }
- else
- {
- var bootLogo_filename = getUrlParameter(bootLogo, "FILENAME");
- var bootLogo_old_filename = getUrlParameter(bootLogo_old, "FILENAME");
- if (bootLogo_filename != bootLogo_old_filename)
- {
- Authentication.CUSetConfig("PADBootLogPicURL", bootLogo);
- }
- }
- }
- if (authenBack != '' && authenBack != 'null')
- {
- if (-1 == authenBack.indexOf("FILENAME=") || undefined == authenBack_old || -1 == authenBack_old.indexOf("FILENAME="))
- {
- Authentication.CUSetConfig("PADAuthenBackgroundPicURL", authenBack);
- }
- else
- {
- var authenBack_filename = getUrlParameter(authenBack, "FILENAME");
- var authenBack_old_filename = getUrlParameter(authenBack_old, "FILENAME");
- if (authenBack_filename != authenBack_old_filename)
- {
- Authentication.CUSetConfig("PADAuthenBackgroundPicURL", authenBack);
- }
- }
- }
- if (bootLoad != '' && bootLoad != 'null')
- {
- if (-1 == bootLoad.indexOf("FILENAME=") || undefined == bootLoad_old || -1 == bootLoad_old.indexOf("FILENAME="))
- {
- Authentication.CUSetConfig("PADLoaderLogoPicURL", bootLoad);
- }
- else
- {
- var bootLoad_filename = getUrlParameter(bootLoad, "FILENAME");
- var bootLoad_old_filename = getUrlParameter(bootLoad_old, "FILENAME");
- if (bootLoad_filename != bootLoad_old_filename)
- {
- Authentication.CUSetConfig("PADLoaderLogoPicURL", bootLoad);
- }
- }
- }
- if (bootAny != '' && bootAny != 'null')
- {
- if (-1 == bootAny.indexOf("FILENAME=") || undefined == bootAny_old || -1 == bootAny_old.indexOf("FILENAME="))
- {
- Authentication.CUSetConfig("BootanimationURL", bootAny);
- }
- else
- {
- var bootAny_filename = getUrlParameter(bootAny, "FILENAME");
- var bootAny_old_filename = getUrlParameter(bootAny_old, "FILENAME");
- if (bootAny_filename != bootAny_old_filename)
- {
- Authentication.CUSetConfig("BootanimationURL", bootAny);
- }
- }
- }
- }
- }
- function setStbParmList()
- {
- }
- </script>
- <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="transparent" onload="AuthFinish()">
- <table width="640" height="340" border="0">
- <tr>
- <td width="640" height="300"></td>
- </tr>
- <tr>
- </tr>
- </table>
- <form action="getchannellistHWCU.jsp" name="authform" method="post">
- <input type="hidden" name="conntype" value="dhcp">
- <input type="hidden" name="UserToken" value="KQi6DKQi6D7ONHm31dOchOVuNeCD3rJO">
- <input type="hidden" name="tempKey" value="">
- <input type="hidden" name="stbid" value="360013">
- <input type="hidden" name="SupportHD" value="1">
- <input type="hidden" name="UserID" value="666666123456">
- <input type="hidden" name="Lang" value="1">
- </form>
- </body>
- </html>
- POST /EPG/jsp/getchannellistHWCU.jsp HTTP/1.1
- Host: 11.22.33.44:33200
- Connection: keep-alive
- Content-Length: 149
- Cache-Control: max-age=0
- Origin: http://11.22.33.44:33200
- Accept-Language: zh-cn
- Upgrade-Insecure-Requests: 1
- User-Agent: Mozilla/5.0 (Linux; Android 4.4.2; B860AV3.1-U Build/KOT49H) (ztebw,1.0.1,ZTE,blink,7105)AppleWebKit/537.36 (KHTML, like Gecko) Chrome Safari/537.36
- Content-Type: application/x-www-form-urlencoded
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
- Referer: http://11.22.33.44:33200/EPG/jsp/ValidAuthenticationHWCU.jsp
- Accept-Encoding: gzip, deflate
- Cookie: JSESSIONID=04ZQLY9EDQ1GSXRIHEITR9XGD0OHM1BY
- conntype=dhcp&UserToken=KQi6DKQi6D7ONHm31dOchOVuNeCD3rJO&tempKey=EFA512106056E59EA732A317FA4CEBD3&stbid=360013&SupportHD=1&UserID=666666123456&Lang=1
- 2k2Ӣ οT áµj ד A |? ) HE % Gx* U
- \+ N@ T {& ,, aO~ C+ #
- $M$ ^ } z i & F ܍ mv.] OJ # ǯ I^P D̕
- "N ` l " h? ( 8n 3:w >?~2 *o칧Q Z pP$ " 5~R L ީ T áu=Զd =TY,s
- HE % '
- 4 c IX.
复制代码
发帖注意事项
请勿胡乱发帖:https://www.right.com.cn/forum/thread-8307840-1-1.html
账户手机验证:https://www.right.com.cn/forum/home.php?mod=spacecp&ac=plugin&id=jzsjiale_sms:home
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|