项目地址
https://github.com/ox01024/Xray_and_crwlergo_in_server
搭建过程
首先查看启动脚本:
启动脚本我这里以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
server酱安装python3的依赖库
pip install flask
pip install requests
pip install datetime
修改serverjiang.py第十行:
修改server酱的keykey的获取地址:http://sc.ftqq.com/
sckeylauncher.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为你需要扫描的地址。
网友评论