PnetLab HTML控制台已经能内置了所有使用客户端,但是本地客户端的使用体验更好,如RDP控制台,
SPICE控制台,在html中会有明显的卡顿感,本地客户端则不会
软件安装 #
- 软件安装双击”PNETLab Client Package.exe”进行安装
- 中途会弹出其他安装框,例如Wireshark和Utra VNC程序的安装界面,保持默认选项一直下一步即可。
- 双击”virt-viewer-x64-11.0-1.0.msi”安装SPICE客户端
bat脚本修改 #
脚本路径:C:\Program Files (x86)\PNETLab
将脚本修改为以下内容ultravnc_wrapper.bat
、wireshark_wrapper.bat
ultravnc_wrapper.bat
@ECHO OFF
SET S=%1
SET S=###%S%###
SET S=%S:"###=%
SET S=%S:###"=%
SET S=%S:###=%
SET S=%S:vnc://=%
start "VNCViewer" "C:\Program Files\uvnc bvba\UltraVNC\vncviewer.exe" -connect %S% -shared
wireshark_wrapper.bat
@ECHO OFF
SET USERNAME="root"
SET PASSWORD="pnet"
SET S=%1
SET S=%S:capture://=%
FOR /f "tokens=1,2 delims=/ " %%a IN ("%S%") DO SET HOST=%%a&SET INT=%%b
IF "%INT%" == "pnet0" SET FILTER=" not port 22"
ECHO "Connecting to %USERNAME%@%HOST%..."
"C:\Program Files (x86)\PNETLab\plink.exe" -ssh -batch -pw %PASSWORD% %USERNAME%@%HOST% "tcpdump -U -i %INT% -s 0 -w -%FILTER%" | "C:\Program Files\Wireshark\Wireshark.exe" -k -i -
注册表导入 #
双击win7_64bit_ultravnc.reg
、win7_64bit_wireshark.reg
、win10_64bit_putty.reg
导入注册表即可。
注意!其中win7_64bit_ultravnc.reg、win7_64bit_wireshark.reg必导入一个是vnc客户端,一个是wireshark抓包。
win10_64bit_putty.reg、win10_64bit_sCRT.reg、Xshell.reg选择导入一个就行,分别是putty、crt、xshell 3个不同的终端软件
密钥导入 #
wireshark抓包需要先使用C:\Program Files (x86)\PNETLab
的putty登入pnetlab命令行