
關於DeadFinder
DeadFinder是一款功能強大的鏈接分析工具,該工具可以幫助廣大研究人員快速地尋找目標頁面中的無效鏈接(死鏈)。所謂死鏈,即一個頁面中存在的無法被連接的一條鏈接。這些鏈接如果一直保留在頁面中的話,可能會影響SEO的效果,更嚴重的可能會影響整個網站的安全。因此,DeadFinder便應運而生,在該工具的幫助下,廣大研究人員可以輕鬆識別和修改這些死鏈。
工具安裝源碼獲取
廣大研究人員可以使用下列命令將該項目源碼克隆至本地:
git clone https://github.com/hahwul/deadfinder.git(向右滑動,查看更多)
使用Gem安裝
我們還可以使用Gem來安裝DeadFinder:
Docker鏡像安裝
除此之外,該工具還提供了預構建的Docker鏡像:
docker pull ghcr.io/hahwul/deadfinder:latest(向右滑動,查看更多)
工具使用Commands: deadfinder file # Scan the URLs from File. (e.g deadfinder file urls.txt) deadfinder help [COMMAND] # Describe available commands or one specific command deadfinder pipe # Scan the URLs from STDIN. (e.g cat urls.txt | deadfinder pipe) deadfinder sitemap # Scan the URLs from sitemap. deadfinder url # Scan the Single URL. deadfinder version # Show version.Options: c, [--concurrency=N] # Set Concurrncy # Default: 20 t, [--timeout=N] # Set HTTP Timeout # Default: 10 o, [--output=OUTPUT] # Save JSON Result
(向右滑動,查看更多)
參數解釋deadfinder file:從文件讀取並掃描多個URL地址,例如「deadfinder file urls.txt」 deadfinder help [COMMAND]:查看工具可用命令和指定命令幫助信息 deadfinder pipe:從STDIN掃描多個URL地址,例如「cat urls.txt | deadfinder pipe」 deadfinder sitemap:從站點sitemap掃描多個URL地址 deadfinder url:掃描單個URL地址 deadfinder version:顯示工具版本信息 c, [--concurrency=N]:設置並發數量,默認為20 t, [--timeout=N]:設置HTTP超時,默認為10秒 o, [--output=OUTPUT]:存儲JSON結果
(向右滑動,查看更多)
運行模式
從STDIN掃描多個URL地址:
cat urls.txt | deadfinder pipe從文件讀取並掃描多個URL地址:
掃描單個URL地址:
deadfinder url https://www.hahwul.com從站點sitemap掃描多個URL地址:
deadfinder sitemap https://www.hahwul.com/sitemap.xml(向右滑動,查看更多)
JSON處理deadfinder sitemap https://www.hahwul.com/sitemap.xml \ -o output.jsoncat output.json | jq
(向右滑動,查看更多)
工具運行截圖

項目地址
DeadFinder:https://github.com/hahwul/deadfinder