Преглед изворни кода

cure the 360se tampered clsid

master
Bing Sun пре 8 година
родитељ
комит
206944eb4c
1 измењених фајлова са 9 додато и 0 уклоњено
  1. +9
    -0
      hik.bat

+ 9
- 0
hik.bat Прегледај датотеку

@@ -1,8 +1,17 @@
if exist %WinDir%\SysWOW64\mshta.exe (
set MSHTA=%WinDir%\SysWOW64\mshta.exe
set IE="%ProgramFiles(x86)%\Internet Explorer\iexplore.exe"
set CLSROOT=Wow6432Node\CLSID
) else (
set MSHTA=mshta
set IE="%ProgramFiles%\Internet Explorer\iexplore.exe"
set CLSROOT=CLSID
)

REM register the protocol
reg add HKCR\hik /v "URL Protocol" /f
reg add HKCR\hik\shell\open\command /d "%MSHTA% \"javascript:open('%1'.replace('hik:',''),'ÏÔʾ´°¿Ú','height=600,width=650,location=no,menubar=no,resizable=yes');close()\"" /f

REM force IE in case that 360se has taken over the control
REM HKCR is the merged view of HKLM\Software\Classes and HKCU\Software\Classes
reg add HKCU\Software\Classes\%CLSROOT%\{0002DF01-0000-0000-C000-000000000046}\LocalServer32 /d %IE% /f

Loading…
Откажи
Сачувај