項(xiàng)目地址
https://github.com/ox01024/Xray_and_crwlergo_in_server
搭建過程
首先查看啟動(dòng)腳本:

我這里以Centos 7為例,我所有操作都在/opt/目錄下
cd /opt/
yum install -y git wget python36
python3 -m pip config set global.index-url https://mirrors.163.com/pypi/simple/
git clone?https://github.com/ox01024/Xray_and_crwlergo_in_server
cd?Xray_and_crwlergo_in_server/
wget?https://github.com/0Kee-Team/crawlergo/releases/download/v0.2.1/crawlergo_linux_amd64.zip
wget?https://github.com/chaitin/xray/releases/download/0.21.0/xray_linux_amd64.zip
unzip?crawlergo_linux_amd64.zip
unzip?xray_linux_amd64.zip
rm -rf?xray_linux_amd64.zip
rm -rf?crawlergo_linux_amd64.zip
mkdir logs
touch logs/serverjiang.log
touch logs/xray.log
touch launcher.log

安裝python3的依賴庫
pip install flask
pip install requests
pip install datetime
修改serverjiang.py第十行:

key的獲取地址:http://sc.ftqq.com/

launcher.py

安裝依賴庫
pip3 install simplejson
刪除37-40行的代碼
proxies={
'http':'http://127.0.0.1:7777',
'https':'http://127.0.0.1:7777',
}
修改47和50行的代碼,刪除proxies=proxies。
修改58行: /root/chrome-linux/chrome 為/opt/chrome-linux/chrome
修改targets.txt為你需要掃描的地址。