REAL5EC1CFF Telegram 205
5ec1cff
https://github.com/5ec1cff/payload-dumper 给 payload dumper 做了一些小修改,让它更加便于使用,尤其是提取 boot 。 首先,现在它可以直接从包含 payload.bin 的 zip 中解压分区,这样你就不需要完整地解压整个 zip 提取出 payload.bin 了,而脚本本身也不会临时解压整个文件。 不过更重要的是,它现在支持从网络提取。只需要提供一个完整包的 url ,它就可以直接在线解压指定的分区,而无需下载整个完整包(当然,需要服务器支持部分请求也就是…
发现获取某些分区的时候仍然存在需要下载大量数据的问题。

经调查,发现原因是 python 的标准库 zipfile 直到 3.12 才支持在未压缩的 zip 中快速 seek 。在此之前, seek 的实现必须要完整读取 seek 到的位置之前的内容,这可能是由于压缩数据流必须完整读取才能解压。

不过 ota 更新包中的 payload.bin 在 zip 中往往是未压缩,并不需要完整读取。这意味着,在 python 3.12 之前,假如要读取的分区所在偏移恰好非常大,则仍然需要下载很多不必要的数据。

综上,建议使用 python 3.12 运行该程序以获得最佳性能。



tgoop.com/real5ec1cff/205
Create:
Last Update:

发现获取某些分区的时候仍然存在需要下载大量数据的问题。

经调查,发现原因是 python 的标准库 zipfile 直到 3.12 才支持在未压缩的 zip 中快速 seek 。在此之前, seek 的实现必须要完整读取 seek 到的位置之前的内容,这可能是由于压缩数据流必须完整读取才能解压。

不过 ota 更新包中的 payload.bin 在 zip 中往往是未压缩,并不需要完整读取。这意味着,在 python 3.12 之前,假如要读取的分区所在偏移恰好非常大,则仍然需要下载很多不必要的数据。

综上,建议使用 python 3.12 运行该程序以获得最佳性能。

BY 5ec1cff




Share with your friend now:
tgoop.com/real5ec1cff/205

View MORE
Open in Telegram


Telegram News

Date: |

On Tuesday, some local media outlets included Sing Tao Daily cited sources as saying the Hong Kong government was considering restricting access to Telegram. Privacy Commissioner for Personal Data Ada Chung told to the Legislative Council on Monday that government officials, police and lawmakers remain the targets of “doxxing” despite a privacy law amendment last year that criminalised the malicious disclosure of personal information. A new window will come up. Enter your channel name and bio. (See the character limits above.) Click “Create.” Informative How to create a business channel on Telegram? (Tutorial) The court said the defendant had also incited people to commit public nuisance, with messages calling on them to take part in rallies and demonstrations including at Hong Kong International Airport, to block roads and to paralyse the public transportation system. Various forms of protest promoted on the messaging platform included general strikes, lunchtime protests and silent sit-ins.
from us


Telegram 5ec1cff
FROM American