Terra:一款功能強大的Twitter和instagram公開資源情報工具(OSINT)
關于Terra
Terra是一款功能強大的公開資源情報工具(OSINT),該工具主要針對的是Twitter和instagram數(shù)據(jù),廣大研究人員可以利用Terra在這兩個社交媒體平臺上實現(xiàn)信息收集和數(shù)據(jù)獲取。
支持的社交媒體平臺
工具安裝
首先,廣大研究人員可以使用下列命令將該項目源碼克隆至本地:
- $ git clone https://github.com/xadhrit/terra.git
接下來,在命令行終端中修改當前工作目錄:
- $ cd terra
運行下列命令,安裝該工具所需的依賴組件:
- $ python3 -m pip install -r requirements.txt
注意事項
(1) 針對Twitter憑證
在使用Terra時,我們需要將Twitter憑證信息存儲至項目creds目錄下的twitter.yml文件中,具體可以參考Twitter API信息,或前往Twitter的開發(fā)者門戶網(wǎng)站獲取訪問令牌。
(2) 針對instagram憑證
在使用Terra時,我們需要將instagram的用戶名和密碼存儲至creds/insta.yml文件中。
工具使用
基礎使用:
- ~/terra$ python3 terra.py <username of target>
- help : -j 將結果存儲至JSON文件中
- -f 處理文本文件
Twitter偵察命令:
- ls: 顯示所有可用的Terra命令
- help: 獲取幫助信息
- quit: 退出程序運行
- clear: 清理終端信息
- exit: 退出Terra
- reset target : 在命令行中重置新的目標
- tweets : 獲取目標Twitter用戶最新發(fā)布的推文
- favtweets :獲取目標Twitter用戶最新收藏的推文
- followers : 獲取目標的粉絲列表
- following : 獲取目標的關注列表
- info: 獲取目標用戶信息概覽
- profile pic: 下載目標賬號的頭像
- banner: 下載目標賬號的信息頁背景圖
- htags : 獲取目標賬號使用的Hashtag
instagram偵察命令:
- ls: 顯示所有可用的Terra命令
- help: 獲取幫助信息
- quit: 退出程序運行
- clear: 清理終端信息
- exit: 退出Terra
- locations : 獲取聚標綁定的地理位置
- captions : 獲取目標的標題信息
- reset target: 在命令行中重置新的目標
- comments : 獲取目標所有的評論
- followers : 獲取目標的粉絲列表
- followings: 獲取目標的關注列表
- followers emails : 獲取目標賬號粉絲的電子郵箱
- following emails : 獲取目標賬號關注的賬號郵箱
- followers phone : 獲取目標賬號粉絲的
- followings phone : 獲取目標賬號關注的手機號碼
- tags : 獲取目標賬號使用的Hashtag
- timeline : 獲取目標賬號概覽
- likes: 獲取目標的點贊數(shù)量
- mediatype : 獲取目標的照片和視頻信息
- photodes : 獲取目標的照片描述
- photos : 下載目標照片
- profile pic : 下載目標賬號頭像
- stories : 下載目標賬號的故事信息
- tagged': 獲取目標賬號標記的用戶列表
- commenter': 獲取目標發(fā)布信息的評論用戶
項目地址
Terra:【GitHub傳送門】