Sigurlfind3r:一款功能強(qiáng)大的被動(dòng)網(wǎng)絡(luò)偵察工具
關(guān)于sigurlfind3r
sigurlfind3r是一款功能強(qiáng)大的被動(dòng)網(wǎng)絡(luò)偵察工具,該工具主要針對(duì)的是已知的URL搜索,并且可以使用各種在線(xiàn)源并以被動(dòng)方式收集URL列表。
功能介紹
- 收集已知URL:可從、Common Crawl、URLScan、Github和Wayback Machine獲取數(shù)據(jù),可以從txt獲取禁用路徑;
- 降低噪聲:通過(guò)正則表達(dá)式過(guò)濾URL,移除URL中的重復(fù)頁(yè)面;
- 輸出至stdout或存儲(chǔ)至文件;
工具安裝
預(yù)構(gòu)建源碼下載
我們可以直接訪(fǎng)問(wèn)該項(xiàng)目的【Releases頁(yè)面】下載針對(duì)自己平臺(tái)的預(yù)構(gòu)建源碼。下載完成之后,提取源碼文件,并將其移動(dòng)指$PATH路徑下即可直接使用。
源碼獲?。?/p>
sigurlfind3r要求本地主機(jī)安裝并配置好Go v1.14+環(huán)境,配置好后就可以直接使用下列命令下載并安裝sigurlfind3r了:
- GO111MODULE=on go get -u -v github.com/signedsecurity/sigurlfind3r/cmd/sigurlfind3r
從GitHub安裝:
- git clone https://github.com/signedsecurity/sigurlfind3r.git && \
- cd sigurlfind3r/cmd/sigurlfind3r/ && \
- go build; mv sigurlfind3r /usr/local/bin/ && \
- sigurlfind3r -h
工具配置
sigurlfind3r在安裝完成之后,還需要進(jìn)行適當(dāng)?shù)呐渲?。這里你將需要獲取API密鑰,這個(gè)API密鑰存儲(chǔ)在$HOME/.config/sigurlfind3r/conf.yaml之中。參考樣例如下:
- version: 1.5.0
- sources:
- - commoncrawl
- - github
- - otx
- - urlscan
- - wayback
- - waybackrobots
- keys:
- github:
- - d23a554bbc1aabb208c9acfbd2dd41ce7fc9db39
- - asdsd54bbc1aabb208c9acfbd2dd41ce7fc9db39
工具使用
提示:從GitHub爬取URL的話(huà)可能速度會(huì)比較慢。
- sigurlfind3r -h
上述命令將會(huì)顯示如下信息:
- _ _ __ _ _ _____
- ___(_) __ _ _ _ _ __| |/ _(_)_ __ __| |___ / _ __
- / __| |/ _` | | | | '__| | |_| | '_ \ / _` | |_ \| '__|
- \__ \ | (_| | |_| | | | | _| | | | | (_| |___) | |
- |___/_|\__, |\__,_|_| |_|_| |_|_| |_|\__,_|____/|_| 1.5.0
- |___/
- USAGE:
- sigurlfind3r [OPTIONS]
- OPTIONS:
- -d, --domain domain to fetch urls for
- -eS, --exclude-sources comma(,) separated list of sources to exclude
- -f, --filter URL filtering regex
- -iS, --include-subs include subdomains' urls
- -lS, --list-sources list all the available sources
- -nC, --no-color no color mode
- -s --silent silent mode: output urls only
- -uS, --use-sources comma(,) separated list of sources to use
- -o, --output output file
使用樣例
基礎(chǔ)使用:
- sigurlfind3r -d tesla.com
正則表達(dá)式過(guò)濾URL:
- sigurlfind3r -d tesla.com -f ".(jpg|jpeg|gif|png|ico|css|eot|tif|tiff|ttf|woff|woff2)"
包含子域名URL:
- sigurlfind3r -d tesla.com -iS
項(xiàng)目地址
sigurlfind3r:【GitHub傳送門(mén)】