# transferit-py：重建 transfer.it 上传与下载交互

> transferit-py 根据 transfer.it 的公开网页客户端还原文件传输交互，并实现 Python 库和命令行客户端。研究文档梳理基于 MEGA 的 API 命令、临时会话、带 CBC-MAC 的 AES-128-CTR 加密及 WebSocket 上传帧格式。客户端支持文件夹上传和流式解密下载。

- 类型：案例
- 目标：协议 · 网站
- 类别：独立重建案例
- 关联：独立重建项目
- 来源复核于：2026-11-06
- 收录于：2026-11-09
- 原始资源：<https://github.com/viperadnan-git/transferit-py>
- 一手来源：<https://github.com/viperadnan-git/transferit-py/blob/4080e1a2c36d12160c195abcc62b75651bbce006/docs/REVERSE_ENGINEERING.md>
- 目录页面：<https://awesomerea.org/zh/resources/transferit-py-case/>
- 记录 JSON：<https://awesomerea.org/resources/transferit-py-case/record.json>
- 英文版：[English](https://awesomerea.org/resources/transferit-py-case/index.md)

## 使用条件与局限

- **前提条件：**需要 Python 3.11 或更新版本。
- **范围：**客户端依赖协议文档所述的 transfer.it 和 MEGA 服务端点。
- **许可：**采用 MIT 许可证。

## 一手来源

1. <https://github.com/viperadnan-git/transferit-py/blob/4080e1a2c36d12160c195abcc62b75651bbce006/docs/REVERSE_ENGINEERING.md>
2. <https://github.com/viperadnan-git/transferit-py/blob/4080e1a2c36d12160c195abcc62b75651bbce006/README.md>

## 同分区更多条目：网站

- [github-websocket-pipelines-api：探查 GitHub Actions 实时日志消息](https://awesomerea.org/zh/resources/github-websocket-pipelines-api-case/index.md) · 案例
- [Inception Chat：从设计与提示词采集结果重建聊天页面](https://awesomerea.org/zh/resources/inception-chat-extraction-case/index.md) · 案例
- [pipepipe-sabr：重建 YouTube SABR 流媒体协议](https://awesomerea.org/zh/resources/pipepipe-sabr-case/index.md) · 案例
- [MUSIC DIVER MyPage API：梳理游戏 MyPage 私有网页接口](https://awesomerea.org/zh/resources/music-diver-mypage-api-case/index.md) · 案例
- [Weathercloud JS API：梳理私有气象站数据接口](https://awesomerea.org/zh/resources/weathercloud-js-case/index.md) · 案例
- [tutti-api：重建 tutti.ch 私有 API 客户端](https://awesomerea.org/zh/resources/tutti-api-case/index.md) · 案例

## 关于此条目

说明已依据一手来源复核。
原创说明采用 MIT 许可；外部项目、论文与素材保留各自的权利和许可。
