ZephrFish/OmniProx
关于
IP Rotation from different providers - Like FireProx but for GCP, Azure, Alibaba and CloudFlare
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文OmniProx
OmniProx is a multi-cloud HTTP proxy manager. It deploys throwaway proxies on cloud provider free tiers and gives you one CLI to create, list and tear them down, with IP or header rotation depending on what the provider allows.
[!IMPORTANT] Tested on Linux and macOS. Windows users should use WSL with Ubuntu 22.04 or later. Native Windows installs hit encoding issues, particularly in the Azure provider. See docs/INSTALL.md.
Modules
| Module | --provider |
Rotation | Free tier | Setup |
|---|---|---|---|---|
| Cloudflare Workers | cloudflare, cf |
Headers only, rotates per request | 100,000 req/day, permanent | guide |
| Azure Container Instances | azure, az |
True, one public IP per container | $200 credit, 30 days | guide |
| GCP API Gateway | gcp |
Headers, plus multiple regions | $300 credit, 90 days | guide |
| Alibaba API Gateway | alibaba |
Headers, plus multiple regions | None | guide |
Cloudflare is the default provider, so --provider is optional when that is what you want.
Azure is the only module that gives the target a genuinely different source IP.
Quick start
pipx install git+https://github.com/ZephrFish/OmniProx.git
Then authenticate one module. For Cloudflare that is Cloudflare's own CLI, which OmniProx reads at runtime so no token is stored anywhere:
npm install -g cf
cf auth login
Other modules, and the API token route for Cloudflare, are in docs/PROVIDERS.md. Other install options are in docs/INSTALL.md.
Usage
omni create https://api.example.com # one Cloudflare worker
omni create https://api.example.com --number 10 # ten, for header rotation
omni create https://api.example.com -p azure -n 5 # five containers, five IPs
omni list # list this provider's proxies
omni list --all # every configured provider
omni delete api-1792955597-gzpfkx # delete one
omni cleanup --all # delete everything
omni proxytest # check rotation end to end
omni is the short form. omniprox takes the same work as explicit flags
(omniprox --command create --url ... --provider cf) and omniprox --help lists them all.
Requests go through a created proxy in any of three ways:
curl 'https://<worker>.workers.dev?url=https://api.example.com'
curl -H 'X-Target-URL: https://api.example.com' https://<worker>.workers.dev
curl https://<worker>.workers.dev/https://api.example.com
Clean up when you are done. Azure containers bill by the second.
Configuration
Credentials are read in this order, so nothing has to be written to disk:
- Environment variables, for example
CLOUDFLARE_API_TOKENandCLOUDFLARE_ACCOUNT_ID ~/.omniprox/profiles.ini, written byomniprox --setup- The provider's own CLI login (
cffor Cloudflare,azfor Azure,gcloudfor GCP)
--profile <name> selects a profile for multiple accounts of the same provider.
Documentation
| Document | Contents |
|---|---|
| docs/INSTALL.md | pipx, clone, virtualenv, updating, WSL, troubleshooting |
| docs/PROVIDERS.md | Per-module setup, credentials, costs, what the target sees |
| docs/OPERATIONS.md | Rotation strategies, testing rotation, OPSEC, cost control |
| docs/PROXY_FEATURES.md | Proxy behaviour and header handling in detail |
| docs/PROVIDER_FEATURE_COMPARISON.md | Feature matrix across modules |
| docs/DEVELOPMENT.md | Adding a provider module |
Example output
Licence
GPL-3.0, see LICENSE.
Rotation features are for work you are authorised to do: scraping with permission, API testing, geographic testing. Not for malicious use.
探索相关项目
加载中…