【渗透测试】Xray bat小脚本

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Xray bat小脚本
author: givemefivw(GMF)
@echo off
if not defined TAG (
set TAG=1
start wt -p "cmd" %0

exit
)

g:
:: 切换盘符
cd G:\Web\Xray\xray1.7.0
:: xray目录
echo
.\xray.exe webscan --listen 127.0.0.1:7777 --html-output xray-%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2%.html
:: 执行的命令
pause