(一)新建文本文档写入如下内容:(路径改成自己的)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Webshell]
@="URL:Webshell Protocol Handler"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\Webshell\DefaultIcon]
@="D:\\Program Files (x86)\\Netease\\CloudMusic\\cloudmusic.exe"
[HKEY_CLASSES_ROOT\Webshell\shell]
[HKEY_CLASSES_ROOT\Webshell\shell\open]
[HKEY_CLASSES_ROOT\Webshell\shell\open\command]
@="\"D:\\Program Files (x86)\\Netease\\CloudMusic\\cloudmusic.exe\" \"%1\""
将文件后缀名改为reg并双击运行,安全软件阻止就把安全软件退了
(二)html 页面内容
<a href="Webshell://">打开网易云</a>