stealth-infra
它能做什么
本技能描述了在获得授权的测试范围内,用于处理采用反机器人保护的网站的工具。适合在交战规则允许时需要访问受保护网站的安全测试人员。
适用场景
- ✓当获得授权的测试目标使用了阻止普通请求的 Web 应用防火墙或反机器人保护时。
- ✓当交战规则要求安静或静默的测试级别时。
- ✓当测试需要让请求经过代理,或看起来像普通浏览器的请求时。
技能链接
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/shared/stealth-infra/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们获得授权的测试目标使用了反机器人系统。你能检查根据我们的规则,哪些隐蔽工具是合适的吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会根据目标的保护方式,从列出的隐蔽库中挑选工具,并且仅在测试范围内使用它们。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Stealth Infrastructure — Anti-Bot Evasion & Covert Operations
This skill covers the stealth tooling installed in the sandbox for evading anti-bot systems, rotating proxies, solving CAPTCHAs, and retrieving credentials from password managers. Use these tools when the engagement RoE specifies OPSEC level quiet or silent, or when targets deploy WAFs/anti-bot shields.
Available Libraries (Pre-Installed)
| Library | Purpose | When to use |
|---|---|---|
| scrapling | Adaptive scraping with Cloudflare Turnstile bypass, StealthyFetcher | Primary choice for any anti-bot-protected target |
| curl_cffi | libcurl with impersonated TLS fingerprints (Chrome/Firefox/Safari) | When you need raw HTTP with real browser TLS |
| tls_client | Go-based TLS fingerprint impersonation via Python | Alternative to curl_cffi for different fingerprint profiles |
| cloudscraper | Cloudflare v1/v2 challenge solver | Legacy Cloudflare JS challenges |
| fake-useragent | Realistic, rotating User-Agent strings | Any HTTP request needing normal-looking UA |
| proxychains4 | Force any CLI tool through a SOCKS/HTTP proxy chain | Route nmap/curl/subfinder through Tor or proxy |
| tor | Onion routing for IP anonymization | When source IP must not be linkable to operator |
| keyring | OS keyring access (GNOME Keyring, macOS Keychain, Windows Credential Vault) | Retrieve stored credentials without hardcoding |
| python-socks | SOCKS4/5 proxy support for asyncio | Async HTTP through proxies |
| aiohttp-socks | aiohttp + SOCKS proxy integration | Async scraping through proxy chains |
1. Scrapling — Primary Anti-Bot Bypass
Scrapling's StealthyFetcher uses a real Chromium instance with anti-fingerprinting patches. It bypasses Cloudflare Turnstile, Akamai, DataDome, and most JS challenges.
# Stealthy fetch — bypasses Cloudflare Turnstile and most anti-bot
timeout 60 python3 -u -c '
from scrapling.fetchers import StealthyFetcher
page = StealthyFetcher.fetch(
"https://<TARGET>",
headless=True,
network_idle=True,
disable_resources=True, # skip images/fonts for speed
)
print(f"Status: {page.status}")
print(f"Title: {page.css(\"title::text\").get()}")
# Extract data
for link in page.css("a[href]"):
print(f" {link.attrib[\"href\"]}")
' 2>&1 | tee scrapling_result.txt
With proxy rotation:
timeout 60 python3 -u -c '
from scrapling.fetchers import StealthyFetcher
page = StealthyFetcher.fetch(
"https://<TARGET>",
headless=True,
network_idle=True,
proxy={"server": "socks5://127.0.0.1:9050"}, # Tor
)
print(page.status, page.css("title::text").get())
'
Session persistence (cookies survive across requests):
timeout 60 python3 -u -c '
from scrapling.fetchers import StealthyFetcher
# First request — login
fetcher = StealthyFetcher()
page = fetcher.fetch("https://<TARGET>/login", headless=True)
# Fill and submit login form...
# Second request — authenticated, same session
page2 = fetcher.fetch("https://<TARGET>/dashboard", headless=True)
print(page2.css("h1::text").get())
'
2. curl_cffi — TLS Fingerprint Impersonation
Real browser TLS fingerprints without running a browser. Fastest option for API probing.
timeout 30 python3 -u -c '
from curl_cffi import requests
# Impersonate Chrome 131
r = requests.get(
"https://<TARGET>",
impersonate="chrome131",
timeout=10,
)
print(f"Status: {r.status_code}")
print(f"Server: {r.headers.get(\"server\", \"?\")} | CF-RAY: {r.headers.get(\"cf-ray\", \"none\")}")
print(r.text[:500])
'
With proxy:
r = requests.get(
"https://<TARGET>",
impersonate="chrome131",
proxies={"https": "socks5://127.0.0.1:9050"},
timeout=10,
)
Available impersonation profiles:
chrome99throughchrome131firefox109,firefox133safari15_3,safari18_0edge99,edge101
3. Proxy Infrastructure
Proxychains (route any CLI tool through proxy)
# Start Tor (if not running)
tor &
sleep 5
# Route curl through Tor
proxychains4 curl -s https://check.torproject.org/api/ip
# Route any scanner through Tor
proxychains4 subfinder -d <TARGET> -silent
proxychains4 httpx-pd -l subdomains.txt -silent
Free proxy rotation (Proxifly)
# Download fresh proxy list
curl -sL https://cdn.jsdelivr.net/gh/proxifly/free-proxy-list@main/proxies/protocols/https/data.json -o proxies.json
# Use in Python
t
常见问题
什么时候应该使用这些工具?
该技能称,当交战规则规定了安静或静默级别,或目标使用了反机器人保护时使用。
列出了哪些类型的工具?
该技能列出了抓取库、类似浏览器的 HTTP 客户端、代理路由以及用户代理生成器。
它涵盖密码管理器吗?
它提到了从密码管理器读取凭据,但只能在交战规则允许的情况下使用。
详情
作者的原始描述
Anti-bot evasion, proxy rotation, credential retrieval from password managers, and stealth HTTP tooling for covert web operations.
热度
- GitHub 星标
- 6.5k
- 排名
- #13933
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/1
评论
- …