渗透测试是评估系统安全的重要手段。本文介绍方法论和常用工具。 ## 渗透测试流程 1. 信息收集 2. 漏洞扫描 3. 漏洞利用 4. 后渗透 5. 报告 ## 信息收集 ```bash subfinder -d target.com nmap -sV -sC -p- target.com ``` ## Web应用测试 ```bash gobuster dir -u https://target.com -w wordlist.txt sqlmap -u "https://target.com/page?id=1" --dbs ``` ## 后渗透 ```bash linpeas.sh winpeas.exe ``` 重要提醒:渗透测试必须在获得书面授权后进行。