深圳南頭網(wǎng)站建設(shè)公司百度招聘官網(wǎng)
“dirhunt” 的命令行工具的幫助信息,用于目錄掃描和網(wǎng)站內(nèi)容分析。以下是這個(gè)命令的使用方法和示例:
命令格式: dirhunt [OPTIONS] [URLS]…
[URLS]…:一個(gè)或多個(gè)域名或 URL,可以加載來自文件的 URL,使用 /full/path 或 ./relative/path。
選項(xiàng)(OPTIONS):
-t, --threads INTEGER:要使用的線程數(shù)量。
例子:dirhunt -t 10 https://example.com(使用 10 個(gè)線程掃描 example.com)
-x, --exclude-flags TEXT:排除具有指定標(biāo)記的結(jié)果。詳細(xì)信息請參閱文檔。
例子:dirhunt -x “flag1,flag2” https://example.com(排除包含 flag1 和 flag2 的結(jié)果)
-i, --include-flags TEXT:只包含具有指定標(biāo)記的結(jié)果。詳細(xì)信息請參閱文檔。
例子:dirhunt -i “flag3” https://example.com(只包含包含 flag3 的結(jié)果)
-e, --interesting-extensions TEXT:具有指定擴(kuò)展名的文件被認(rèn)為是有趣的。
例子:dirhunt -e “pdf,txt” https://example.com(尋找包含 pdf 和 txt 擴(kuò)展名的文件)
-f, --interesting-files TEXT:具有指定文件名的文件被認(rèn)為是有趣的。
例子:dirhunt -f “config.php” https://example.com(尋找名為 config.php 的文件)
-k, --interesting-keywords TEXT:文件內(nèi)容中包含指定關(guān)鍵詞的文件被認(rèn)為是有趣的。
例子:dirhunt -k “password,secret” https://example.com(尋找包含 password 或 secret 關(guān)鍵詞的文件)
…(其他選項(xiàng))
示例:
dirhunt -t 20 -i “admin” https://example.com(使用 20 個(gè)線程,只查找包含 “admin” 標(biāo)記的結(jié)果)
dirhunt -e “php,html” -f “backup” https://example.com(查找包含 php 或 html 擴(kuò)展名且文件名為 backup 的文件)
dirhunt -k “l(fā)ogin,credentials” --to-file /path/to/report.json https://example.com(查找包含 login 或 credentials 關(guān)鍵詞的文件,并將結(jié)果保存為 JSON 文件)