(詳情請(qǐng)看官網(wǎng)內(nèi)容 https://docs.xray.cool)
一、下載xray
https://download.xray.cool/xray
二、安裝證書(shū)
1.生成證書(shū)./xray.exe genca
2.安裝證書(shū)
3.如果需要證書(shū)錯(cuò)誤
對(duì)等端的證書(shū)有一個(gè)無(wú)效的簽名。 錯(cuò)誤代碼:SEC_ERROR_BAD_SIGNATURE
需要手動(dòng)導(dǎo)入
選擇自己導(dǎo)入的證書(shū)即可,后面出現(xiàn)的兩個(gè)選項(xiàng)都要選擇上,即可成功使用文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-596879.html
三、xray基本使用
1.設(shè)置域名的位置
hostname_allowed可以寫(xiě)掃描的域名,
hostname_disallowed是被禁止掃描的域名
2.代理掃描監(jiān)聽(tīng)命令
.\xray_windows_amd64.exe webscan --listen 127.0.0.1:7777 --html-output xray-testphp.html
3.xray服務(wù)掃描
快速檢測(cè)單個(gè)目標(biāo),將檢測(cè)結(jié)果輸出到 html 報(bào)告中
./xray servicescan --target 127.0.0.1:8009 --html-output service.html
快速檢測(cè)單個(gè)目標(biāo),將檢測(cè)結(jié)果輸出到 json 文件中
./xray servicescan --target 127.0.0.1:8099 --json-output 1.json
批量檢查的 1.file 中的目標(biāo), 一行一個(gè)目標(biāo),帶端口,將檢測(cè)結(jié)果輸出到 html 報(bào)告中
./xray servicescan --target-file 1.file --html-output service.html
批量檢查的 1.file 中的目標(biāo), 一行一個(gè)目標(biāo),帶端口,將檢測(cè)結(jié)果輸出到 json 文件中
./xray servicescan --target-file 1.file --json-output 1.json
其中 1.file 的格式為一個(gè)行一個(gè) service,如
10.3.0.203:8009
127.0.0.1:8009
詳情請(qǐng)見(jiàn)https://docs.xray.cool/#/tutorial/service_scan文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-596879.html
到了這里,關(guān)于xray下載,證書(shū)安裝,基本使用方法的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!