# actinglin/reversenotes architecture

> Architecture diagram of the GitHub repository actinglin/reversenotes, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/actinglin/reversenotes
- Repository: https://github.com/actinglin/reversenotes

## Overview

This repository is a learning archive of reverse-engineering, scraping, and security case studies—not one integrated application. Its principal workflow is to choose a case, reproduce or inspect a target’s behavior, implement the relevant collection or analysis, and produce a result such as decoded data or saved records. The graph includes documented capability areas and sampled runtime relationships; many examples are independent, so no cross-case workflow is implied. Some README-listed cases are represented by their existing directories because their implementation was not sampled.

Main entry points: [`Work/jsReverse/20-中国观鸟记录/ai逆向/collector/collector.py`](https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/20-%E4%B8%AD%E5%9B%BD%E8%A7%82%E9%B8%9F%E8%AE%B0%E5%BD%95/ai%E9%80%86%E5%90%91/collector/collector.py) (Bird collection), [`Work/spider/ip代理池实现/proxy_redis.py`](https://github.com/actinglin/reversenotes/blob/main/Work/spider/ip%E4%BB%A3%E7%90%86%E6%B1%A0%E5%AE%9E%E7%8E%B0/proxy_redis.py) (Proxy Redis store), [`Work/jsReverse/20-中国观鸟记录/ai逆向/collector/main.py`](https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/20-%E4%B8%AD%E5%9B%BD%E8%A7%82%E9%B8%9F%E8%AE%B0%E5%BD%95/ai%E9%80%86%E5%90%91/collector/main.py) (Bird collector CLI), [`Work/jsReverse/10-海南航空/flight_storage.py`](https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/10-%E6%B5%B7%E5%8D%97%E8%88%AA%E7%A9%BA/flight_storage.py) (Flight storage)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_mobile["Mobile reversing"]
  node_frida["Frida hooks"]
  node_bcoin["BCoin analysis"]
  node_unidbg["Unidbg crypto"]
end

subgraph group_webrev["Web reverse engineering"]
  node_js_cases["JS reverse cases"]
  node_bird_cli["Bird collector CLI<br/>[main.py]"]
  node_bird_collector["Bird collection<br/>[collector.py]"]
  node_bird_config["Bird config<br/>[config.py]"]
  node_bird_crypto["Bird crypto<br/>[crypto.py]"]
  node_bird_protocol["Bird protocol<br/>[protocol.py]"]
  node_baidu["Baidu token case"]
  node_hainan_storage["Flight storage<br/>[flight_storage.py]"]
  node_hainan_dbconfig["Flight DB config<br/>[db_config.py]"]
end

subgraph group_scraping["Scraping systems"]
  node_spider_cases["Spider examples"]
  node_proxy_main["Proxy pool runner<br/>[main.py]"]
  node_proxy_fetch["Proxy harvesting<br/>[get_ip.py]"]
  node_proxy_api["Proxy API<br/>[app.py]"]
  node_proxy_store[("Proxy Redis store<br/>[proxy_redis.py]")]
  node_che168["Che168 downloader<br/>[handler.py]"]
end

subgraph group_captcha["Captcha research"]
  node_captcha_cases["Captcha cases"]
  node_shanxi_main["Tax status query<br/>[main.py]"]
  node_captcha_manager["Captcha handling<br/>[captcha_manage.py]"]
  node_captcha_ocr["Captcha OCR<br/>[Image_OCR.py]"]
end

subgraph group_learning["Challenges and study"]
  node_ctf["CTF solution<br/>[solve.py]"]
  node_crypto_study["Crypto studies"]
  node_data_study["Data studies"]
end

node_learner(("Learner"))
node_bird_api["Bird report API"]
node_mysql[("MySQL")]
node_redis[("Redis")]
node_target_site["Tax query service"]

node_learner -->|"studies"| node_frida
node_learner -->|"studies"| node_bcoin
node_learner -->|"studies"| node_unidbg
node_learner -->|"studies"| node_js_cases
node_learner -->|"studies"| node_spider_cases
node_learner -->|"studies"| node_captcha_cases
node_learner -->|"studies"| node_ctf
node_learner -->|"studies"| node_crypto_study
node_learner -->|"studies"| node_data_study
node_bird_cli -->|"builds config"| node_bird_config
node_bird_cli -->|"starts"| node_bird_collector
node_bird_collector -->|"uses settings"| node_bird_config
node_bird_collector -->|"decrypts with"| node_bird_crypto
node_bird_collector -->|"builds requests"| node_bird_protocol
node_bird_collector -->|"posts requests"| node_bird_api
node_hainan_storage -->|"loads settings"| node_hainan_dbconfig
node_hainan_storage -->|"writes records"| node_mysql
node_proxy_main -->|"starts worker"| node_proxy_fetch
node_proxy_main -->|"starts service"| node_proxy_api
node_proxy_fetch -->|"adds proxies"| node_proxy_store
node_proxy_api -->|"gets proxy"| node_proxy_store
node_proxy_store -->|"reads and writes"| node_redis
node_che168 -.->|"implements case"| node_spider_cases
node_shanxi_main -->|"gets captcha"| node_captcha_manager
node_captcha_manager -->|"recognizes image"| node_captcha_ocr
node_shanxi_main -->|"submits query"| node_target_site

click node_frida "https://github.com/actinglin/reversenotes/tree/main/Work/hook/frida"
click node_bcoin "https://github.com/actinglin/reversenotes/tree/main/Work/app/BCoin"
click node_unidbg "https://github.com/actinglin/reversenotes/tree/main/Work/app/unidbg/zuiyou573"
click node_js_cases "https://github.com/actinglin/reversenotes/tree/main/Work/jsReverse"
click node_bird_cli "https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/20-%E4%B8%AD%E5%9B%BD%E8%A7%82%E9%B8%9F%E8%AE%B0%E5%BD%95/ai%E9%80%86%E5%90%91/collector/main.py"
click node_bird_collector "https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/20-%E4%B8%AD%E5%9B%BD%E8%A7%82%E9%B8%9F%E8%AE%B0%E5%BD%95/ai%E9%80%86%E5%90%91/collector/collector.py"
click node_bird_config "https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/20-%E4%B8%AD%E5%9B%BD%E8%A7%82%E9%B8%9F%E8%AE%B0%E5%BD%95/ai%E9%80%86%E5%90%91/collector/config.py"
click node_bird_crypto "https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/20-%E4%B8%AD%E5%9B%BD%E8%A7%82%E9%B8%9F%E8%AE%B0%E5%BD%95/ai%E9%80%86%E5%90%91/collector/crypto.py"
click node_bird_protocol "https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/20-%E4%B8%AD%E5%9B%BD%E8%A7%82%E9%B8%9F%E8%AE%B0%E5%BD%95/ai%E9%80%86%E5%90%91/collector/protocol.py"
click node_baidu "https://github.com/actinglin/reversenotes/tree/main/Work/jsReverse/3-%E7%99%BE%E5%BA%A6%E7%BF%BB%E8%AF%91Acs-Token"
click node_hainan_storage "https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/10-%E6%B5%B7%E5%8D%97%E8%88%AA%E7%A9%BA/flight_storage.py"
click node_hainan_dbconfig "https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/10-%E6%B5%B7%E5%8D%97%E8%88%AA%E7%A9%BA/db_config.py"
click node_spider_cases "https://github.com/actinglin/reversenotes/tree/main/Work/spider"
click node_proxy_main "https://github.com/actinglin/reversenotes/blob/main/Work/spider/ip%E4%BB%A3%E7%90%86%E6%B1%A0%E5%AE%9E%E7%8E%B0/main.py"
click node_proxy_fetch "https://github.com/actinglin/reversenotes/blob/main/Work/spider/ip%E4%BB%A3%E7%90%86%E6%B1%A0%E5%AE%9E%E7%8E%B0/get_ip.py"
click node_proxy_api "https://github.com/actinglin/reversenotes/blob/main/Work/spider/ip%E4%BB%A3%E7%90%86%E6%B1%A0%E5%AE%9E%E7%8E%B0/app.py"
click node_proxy_store "https://github.com/actinglin/reversenotes/blob/main/Work/spider/ip%E4%BB%A3%E7%90%86%E6%B1%A0%E5%AE%9E%E7%8E%B0/proxy_redis.py"
click node_che168 "https://github.com/actinglin/reversenotes/blob/main/Work/spider/che168/che168_to_db/che168_to_db/handler.py"
click node_captcha_cases "https://github.com/actinglin/reversenotes/tree/main/Work/security_vendors/geetest"
click node_shanxi_main "https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/%E9%AA%8C%E8%AF%81%E7%A0%81/%E5%B1%B1%E8%A5%BF%E7%A8%8E%E5%8A%A1%E5%B1%80%E7%BA%B3%E7%A8%8E%E4%BA%BA%E7%8A%B6%E6%80%81%E6%9F%A5%E8%AF%A2/main.py"
click node_captcha_manager "https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/%E9%AA%8C%E8%AF%81%E7%A0%81/%E5%B1%B1%E8%A5%BF%E7%A8%8E%E5%8A%A1%E5%B1%80%E7%BA%B3%E7%A8%8E%E4%BA%BA%E7%8A%B6%E6%80%81%E6%9F%A5%E8%AF%A2/captcha_manage.py"
click node_captcha_ocr "https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/%E9%AA%8C%E8%AF%81%E7%A0%81/%E5%B1%B1%E8%A5%BF%E7%A8%8E%E5%8A%A1%E5%B1%80%E7%BA%B3%E7%A8%8E%E4%BA%BA%E7%8A%B6%E6%80%81%E6%9F%A5%E8%AF%A2/Image_OCR.py"
click node_ctf "https://github.com/actinglin/reversenotes/blob/main/CTF/%E9%B9%A4%E5%9F%8E%E6%9D%AF2021-mobile-designEachStep/solve.py"
click node_crypto_study "https://github.com/actinglin/reversenotes/tree/main/study/%E5%AF%86%E7%A0%81%E5%AD%A6"
click node_data_study "https://github.com/actinglin/reversenotes/tree/main/study/%E6%95%B0%E6%8D%AE%E5%88%86%E6%9E%90"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_frida,node_bcoin,node_unidbg toneBlue
class node_js_cases,node_bird_cli,node_bird_collector,node_bird_config,node_bird_crypto,node_bird_protocol,node_baidu,node_hainan_storage,node_hainan_dbconfig,node_mysql,node_redis toneAmber
class node_spider_cases,node_proxy_main,node_proxy_fetch,node_proxy_api,node_proxy_store,node_che168,node_bird_api toneMint
class node_captcha_cases,node_shanxi_main,node_captcha_manager,node_captcha_ocr toneRose
class node_ctf,node_crypto_study,node_data_study,node_learner,node_target_site toneIndigo
```

## Components

### Mobile reversing

- [Frida hooks](https://github.com/actinglin/reversenotes/tree/main/Work/hook/frida): `Work/hook/frida`
- [BCoin analysis](https://github.com/actinglin/reversenotes/tree/main/Work/app/BCoin): `Work/app/BCoin`
- [Unidbg crypto](https://github.com/actinglin/reversenotes/tree/main/Work/app/unidbg/zuiyou573): `Work/app/unidbg/zuiyou573`

### Web reverse engineering

- [JS reverse cases](https://github.com/actinglin/reversenotes/tree/main/Work/jsReverse): `Work/jsReverse`
- [Bird collector CLI](https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/20-%E4%B8%AD%E5%9B%BD%E8%A7%82%E9%B8%9F%E8%AE%B0%E5%BD%95/ai%E9%80%86%E5%90%91/collector/main.py): `Work/jsReverse/20-中国观鸟记录/ai逆向/collector/main.py`
- [Bird collection](https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/20-%E4%B8%AD%E5%9B%BD%E8%A7%82%E9%B8%9F%E8%AE%B0%E5%BD%95/ai%E9%80%86%E5%90%91/collector/collector.py): `Work/jsReverse/20-中国观鸟记录/ai逆向/collector/collector.py`
- [Bird config](https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/20-%E4%B8%AD%E5%9B%BD%E8%A7%82%E9%B8%9F%E8%AE%B0%E5%BD%95/ai%E9%80%86%E5%90%91/collector/config.py): `Work/jsReverse/20-中国观鸟记录/ai逆向/collector/config.py`
- [Bird crypto](https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/20-%E4%B8%AD%E5%9B%BD%E8%A7%82%E9%B8%9F%E8%AE%B0%E5%BD%95/ai%E9%80%86%E5%90%91/collector/crypto.py): `Work/jsReverse/20-中国观鸟记录/ai逆向/collector/crypto.py`
- [Bird protocol](https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/20-%E4%B8%AD%E5%9B%BD%E8%A7%82%E9%B8%9F%E8%AE%B0%E5%BD%95/ai%E9%80%86%E5%90%91/collector/protocol.py): `Work/jsReverse/20-中国观鸟记录/ai逆向/collector/protocol.py`
- [Baidu token case](https://github.com/actinglin/reversenotes/tree/main/Work/jsReverse/3-%E7%99%BE%E5%BA%A6%E7%BF%BB%E8%AF%91Acs-Token): `Work/jsReverse/3-百度翻译Acs-Token`
- [Flight storage](https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/10-%E6%B5%B7%E5%8D%97%E8%88%AA%E7%A9%BA/flight_storage.py): `Work/jsReverse/10-海南航空/flight_storage.py`
- [Flight DB config](https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/10-%E6%B5%B7%E5%8D%97%E8%88%AA%E7%A9%BA/db_config.py): `Work/jsReverse/10-海南航空/db_config.py`

### Scraping systems

- [Spider examples](https://github.com/actinglin/reversenotes/tree/main/Work/spider): `Work/spider`
- [Proxy pool runner](https://github.com/actinglin/reversenotes/blob/main/Work/spider/ip%E4%BB%A3%E7%90%86%E6%B1%A0%E5%AE%9E%E7%8E%B0/main.py): `Work/spider/ip代理池实现/main.py`
- [Proxy harvesting](https://github.com/actinglin/reversenotes/blob/main/Work/spider/ip%E4%BB%A3%E7%90%86%E6%B1%A0%E5%AE%9E%E7%8E%B0/get_ip.py): `Work/spider/ip代理池实现/get_ip.py`
- [Proxy API](https://github.com/actinglin/reversenotes/blob/main/Work/spider/ip%E4%BB%A3%E7%90%86%E6%B1%A0%E5%AE%9E%E7%8E%B0/app.py): `Work/spider/ip代理池实现/app.py`
- [Proxy Redis store](https://github.com/actinglin/reversenotes/blob/main/Work/spider/ip%E4%BB%A3%E7%90%86%E6%B1%A0%E5%AE%9E%E7%8E%B0/proxy_redis.py): `Work/spider/ip代理池实现/proxy_redis.py`
- [Che168 downloader](https://github.com/actinglin/reversenotes/blob/main/Work/spider/che168/che168_to_db/che168_to_db/handler.py): `Work/spider/che168/che168_to_db/che168_to_db/handler.py`

### Captcha research

- [Captcha cases](https://github.com/actinglin/reversenotes/tree/main/Work/security_vendors/geetest): `Work/security_vendors/geetest`
- [Tax status query](https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/%E9%AA%8C%E8%AF%81%E7%A0%81/%E5%B1%B1%E8%A5%BF%E7%A8%8E%E5%8A%A1%E5%B1%80%E7%BA%B3%E7%A8%8E%E4%BA%BA%E7%8A%B6%E6%80%81%E6%9F%A5%E8%AF%A2/main.py): `Work/jsReverse/验证码/山西税务局纳税人状态查询/main.py`
- [Captcha handling](https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/%E9%AA%8C%E8%AF%81%E7%A0%81/%E5%B1%B1%E8%A5%BF%E7%A8%8E%E5%8A%A1%E5%B1%80%E7%BA%B3%E7%A8%8E%E4%BA%BA%E7%8A%B6%E6%80%81%E6%9F%A5%E8%AF%A2/captcha_manage.py): `Work/jsReverse/验证码/山西税务局纳税人状态查询/captcha_manage.py`
- [Captcha OCR](https://github.com/actinglin/reversenotes/blob/main/Work/jsReverse/%E9%AA%8C%E8%AF%81%E7%A0%81/%E5%B1%B1%E8%A5%BF%E7%A8%8E%E5%8A%A1%E5%B1%80%E7%BA%B3%E7%A8%8E%E4%BA%BA%E7%8A%B6%E6%80%81%E6%9F%A5%E8%AF%A2/Image_OCR.py): `Work/jsReverse/验证码/山西税务局纳税人状态查询/Image_OCR.py`

### Challenges and study

- [CTF solution](https://github.com/actinglin/reversenotes/blob/main/CTF/%E9%B9%A4%E5%9F%8E%E6%9D%AF2021-mobile-designEachStep/solve.py): `CTF/鹤城杯2021-mobile-designEachStep/solve.py`
- [Crypto studies](https://github.com/actinglin/reversenotes/tree/main/study/%E5%AF%86%E7%A0%81%E5%AD%A6): `study/密码学`
- [Data studies](https://github.com/actinglin/reversenotes/tree/main/study/%E6%95%B0%E6%8D%AE%E5%88%86%E6%9E%90): `study/数据分析`

### Other components

- **Learner**
- **Bird report API**
- **MySQL**
- **Redis**
- **Tax query service**

## Connections

- Learner → Frida hooks: studies (evidence: `README.md`)
- Learner → BCoin analysis: studies (evidence: `README.md`)
- Learner → Unidbg crypto: studies (evidence: `README.md`)
- Learner → JS reverse cases: studies (evidence: `README.md`)
- Learner → Spider examples: studies (evidence: `README.md`)
- Learner → Captcha cases: studies (evidence: `README.md`)
- Learner → CTF solution: studies (evidence: `README.md`)
- Learner → Crypto studies: studies (evidence: `README.md`)
- Learner → Data studies: studies (evidence: `README.md`)
- Bird collector CLI → Bird config: builds config (evidence: `Work/jsReverse/20-中国观鸟记录/ai逆向/collector/main.py`)
- Bird collector CLI → Bird collection: starts (evidence: `Work/jsReverse/20-中国观鸟记录/ai逆向/collector/main.py`)
- Bird collection → Bird config: uses settings (evidence: `Work/jsReverse/20-中国观鸟记录/ai逆向/collector/collector.py`)
- Bird collection → Bird crypto: decrypts with (evidence: `Work/jsReverse/20-中国观鸟记录/ai逆向/collector/collector.py`)
- Bird collection → Bird protocol: builds requests (evidence: `Work/jsReverse/20-中国观鸟记录/ai逆向/collector/collector.py`)
- Bird collection → Bird report API: posts requests (evidence: `Work/jsReverse/20-中国观鸟记录/ai逆向/collector/collector.py`)
- Flight storage → Flight DB config: loads settings (evidence: `Work/jsReverse/10-海南航空/flight_storage.py`)
- Flight storage → MySQL: writes records (evidence: `Work/jsReverse/10-海南航空/flight_storage.py`)
- Proxy pool runner → Proxy harvesting: starts worker (evidence: `Work/spider/ip代理池实现/main.py`)
- Proxy pool runner → Proxy API: starts service (evidence: `Work/spider/ip代理池实现/main.py`)
- Proxy harvesting → Proxy Redis store: adds proxies (evidence: `Work/spider/ip代理池实现/get_ip.py`)
- Proxy API → Proxy Redis store: gets proxy (evidence: `Work/spider/ip代理池实现/app.py`)
- Proxy Redis store → Redis: reads and writes (evidence: `Work/spider/ip代理池实现/proxy_redis.py`)
- Che168 downloader → Spider examples: implements case (evidence: `Work/spider/che168/che168_to_db/che168_to_db/handler.py`)
- Tax status query → Captcha handling: gets captcha (evidence: `Work/jsReverse/验证码/山西税务局纳税人状态查询/main.py`)
- Captcha handling → Captcha OCR: recognizes image (evidence: `Work/jsReverse/验证码/山西税务局纳税人状态查询/captcha_manage.py`)
- Tax status query → Tax query service: submits query (evidence: `Work/jsReverse/验证码/山西税务局纳税人状态查询/main.py`)
