1. wget –r –l 2 targetwebsite 2. grep –h –r “” source | tr ‘[:space:]’ ‘\n’ | sort | uniq > wordlist.txt 3. grep –v ‘<‘ wordlist.txt > newlist.txt
2. 下载文档
wget –nd –r –A pdf,doc,docx,xls,xlsx –P /tmp targetdomain
1. wget –r –l 2 targetwebsite 2. grep –h –r “” source | tr ‘[:space:]’ ‘\n’ | sort | uniq > wordlist.txt 3. grep –v ‘<‘ wordlist.txt > newlist.txt
wget –nd –r –A pdf,doc,docx,xls,xlsx –P /tmp targetdomain