k1ubi/proxy_router
GitHub: k1ubi/proxy_router
一款集中管理 Neo-reGeorg 隧道的 CLI 工具,提供代理清单、端口绑定、proxychains 自动配置与进程清理功能。
Stars: 0 | Forks: 0
```
____________ _______ ____ __ ______ _____ _ _ _____ ___________
| ___ \ ___ \ _ \ \ / /\ \ / / | ___ \ _ | | | |_ _| ___| ___ \
| |_/ / |_/ / | | |\ V / \ V / | |_/ / | | | | | | | | | |__ | |_/ /
| __/| /| | | |/ \ \ / | /| | | | | | | | | | __|| /
| | | |\ \\ \_/ / /^\ \ | | | |\ \\ \_/ / |_| | | | | |___| |\ \
\_| \_| \_|\___/\/ \/ \_/ \_| \_|\___/ \___/ \_/ \____/\_| \_|
```
`[ neo-regeorg 隧道编排 :: socks5 注入 :: proxychains 自动驾驶 ]`



``` ▓▒░ 0x00 // SITREP ░▒▓ ``` Web shell 往往在某人轮换了后门 URL,或者隧道在任务执行中途被掐断的那一刻就失效了。 `proxy_router` 将你正在运行的每一个 [Neo-reGeorg](https://github.com/L-codes/Neo-reGeorg) 后门整合进**一个 JSON 清单**中, 随后为你提供一个单一的 CLI,用以启动隧道、将其推入 `proxychains`,并在完成后将其拆除——再也无需在终端历史记录中费力寻找正确的 `neoreg.py` 调用命令。
``` ▓▒░ 0x01 // TOPOLOGY ░▒▓ ``` ``` [ operator ] │ │ proxychains4 (socks5 :: 127.0.0.1:
``` ▓▒░ 0x02 // LOADOUT ░▒▓ ``` | 依赖项 | 用途 | |---|---| | `python3 -m pip install requests psutil` | HTTP 可达性检查 + 进程控制 | | `proxychains` (`proxychains4.conf`) | 将任意工具通过生成的隧道进行路由 | | [`Neo-reGeorg`](https://github.com/L-codes/Neo-reGeorg) | 放置在项目根目录下 —— 这*就是*隧道引擎 |
``` ▓▒░ 0x03 // CAPABILITIES ░▒▓ ``` - `►` 列出清单中注册的所有代理 - `►` 通过 ID 选择代理并将其绑定到本地端口 - `►` 在浪费端口之前,自动检查目标是否存活 - `►` 将隧道直接推入你的 `proxychains4.conf` 路由表 - `►` 完成后,将带有 `#router_tunnel` 标签的条目剥离清除 - `►` 一键终止所有正在运行的 `neoreg.py` 进程
``` ▓▒░ 0x04 // USAGE ░▒▓ ``` ``` root@node:~/proxy_router# python3 router.py --list ID: 1, Type: Neo-ReGeorg, Country: Local root@node:~/proxy_router# python3 router.py --proxy-id 1 --port 8080 Executing: python3 Neo-reGeorg/neoreg.py -k examplepsw -u http://127.0.0.1/tunnel.php -p 8080 --skip root@node:~/proxy_router# python3 router.py --proxy-id 1 --port 8080 --proxychain [SUCCESS] Added proxy to /etc/proxychains4.conf: socks5 127.0.0.1 8080 #router_tunnel root@node:~/proxy_router# python3 router.py --killall [INFO] Terminated 1 Neo-reGeorg process(es). root@node:~/proxy_router# python3 router.py --clean [SUCCESS] Removed all #router_tunnel entries from proxychains config. ```
``` ▓▒░ 0x05 // MANIFEST FORMAT ░▒▓ ``` 你掌握的每个后门都作为一条记录存在于 `Proxies/proxy.json` 中: ``` { "id": "1", "country": "Local", "url": "http://127.0.0.1/tunnel.php", "psw": "examplepsw", "type": "Neo-ReGeorg" } ```
``` ▓▒░ 0x06 // RULES OF ENGAGEMENT ░▒▓ ```
`GNU GPLv3` — 见 [`LICENSE`](./LICENSE)