Files
freelancer-match/README.md
T

34 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Proxy Finder Module
## find_anon_proxies.py — Поиск анонимных прокси
### Использование:
```bash
python3 /root/.openclaw/workspace/scripts/proxy-finder/find_anon_proxies.py
```
### Что делает:
1. Загружает прокси из 6 источников (proxyscrape, spys.me, sslproxies.org и др.)
2. Парсит IP:PORT форматы
3. Фильтрует локальные/резервированные адреса
4. Проверяет работоспособность через curl
5. Тестирует анонимность (проверка X-Forwarded-For)
### Результат:
Сохраняется в `anonymous_proxies.txt` — формат: `IP:PORT (HTTP/SOCKS5)`
---
## Использование прокси для запросов:
```bash
# HTTP-запрос через прокси
curl -s --proxy http://PROXY_IP:PORT https://example.com
# SOCKS5-запрос через прокси
curl -s --socks5 PROXY_IP:PORT https://example.com
# Python requests с прокси
python3 -c "import requests; r = requests.get('https://example.com', proxies={'http': 'socks5://PROXY_IP:PORT'}); print(r.text)"
```