Coder Social home page Coder Social logo

Comments (6)

Tzwcard avatar Tzwcard commented on July 3, 2024

这个我也想知道
这之前需要获取服务器给的cookies 是要通过/EPG/jsp/ValidAuthenticationHWCTC.jsp请求获得的
而里面有个Authenticator我不知道算法 也可能是直接从设备内获取的
如果你有这个的算法或者知道怎么获取的话我可以写脚本每天更新IPTV的EPG

from chinatelecom-guangdongiptv-rtp-list.

ubitsp avatar ubitsp commented on July 3, 2024

这个我也想知道 这之前需要获取服务器给的cookies 是要通过/EPG/jsp/ValidAuthenticationHWCTC.jsp请求获得的 而里面有个Authenticator我不知道算法 也可能是直接从设备内获取的 如果你有这个的算法或者知道怎么获取的话我可以写脚本每天更新IPTV的EPG

https://www.right.com.cn/forum/thread-4059959-1-1.html 这里有个up主提供了算法取密钥,作者可否试一下,我不太懂加密,跑了一晚上跑不出密钥来

from chinatelecom-guangdongiptv-rtp-list.

Tzwcard avatar Tzwcard commented on July 3, 2024

按他说的跑了一下php,我也没找出来他说的8位密钥

$encrypted = ''; // Authenticator string
foreach (range(0, 99999999) as $i) {
    $key = sprintf("%08d", $i);
    $result = openssl_decrypt(hex2bin($encrypted), 'des-ede3', $key . str_repeat('0', 24 - strlen($key)), OPENSSL_RAW_DATA);

    if ($result !== false) {
        printf("%08d: %s\n", $i, var_export($result, true));
    }

}

上面这个php脚本跑出来不少结果,但是没有一个是正常字符串而且符合特征的
python脚本也直接跑了一次,没有发现(另外说一句它这个py效率实在是有点低,开个多线程应该会好一点)
有可能广东电信有不一样,也有可能代码有问题

ed: 搜索验证页面的endpoint找到一个叫tellyget的git,里面验证用的是des而不是3des,可以试试换成DES-ECB能不能解密

from chinatelecom-guangdongiptv-rtp-list.

sKyissKy avatar sKyissKy commented on July 3, 2024

按他说的跑了一下php,我也没找出来他说的8位密钥

$encrypted = ''; // Authenticator string
foreach (range(0, 99999999) as $i) {
    $key = sprintf("%08d", $i);
    $result = openssl_decrypt(hex2bin($encrypted), 'des-ede3', $key . str_repeat('0', 24 - strlen($key)), OPENSSL_RAW_DATA);

    if ($result !== false) {
        printf("%08d: %s\n", $i, var_export($result, true));
    }

}

上面这个php脚本跑出来不少结果,但是没有一个是正常字符串而且符合特征的 python脚本也直接跑了一次,没有发现(另外说一句它这个py效率实在是有点低,开个多线程应该会好一点) 有可能广东电信有不一样,也有可能代码有问题

ed: 搜索验证页面的endpoint找到一个叫tellyget的git,里面验证用的是des而不是3des,可以试试换成DES-ECB能不能解密

大佬可以提供一下用ffprobe盲扫生成分辨率列表的批处理吗?想扫扫移动的组播段

from chinatelecom-guangdongiptv-rtp-list.

qingxbl avatar qingxbl commented on July 3, 2024

这个我也想知道 这之前需要获取服务器给的cookies 是要通过/EPG/jsp/ValidAuthenticationHWCTC.jsp请求获得的 而里面有个Authenticator我不知道算法 也可能是直接从设备内获取的 如果你有这个的算法或者知道怎么获取的话我可以写脚本每天更新IPTV的EPG

image

老哥是不是仲元的?

from chinatelecom-guangdongiptv-rtp-list.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.