本帖最后由 ko20010214 于 2024-5-28 11:06 编辑
下了不少版本的向日葵软件。
有些是不需要登陆的,有些是要登陆账号的……
我本身是申请了免费账号的,登陆不是问题。
我为什么想绿化它,是因为我不能在要远控的电脑上去安装它(因为我要远控的电脑上我用的是PE系统),我要它一开机就能以服务的方式运行,并且能保留我的预先的设置,然后我随时能在手机上或其它电脑上远控它。这就不能每次我开机时去安装它或者说还得登陆账号或者说还得去把控制码发给我自己(所以那种SOS版本的对我来说没用,我总不能要远控这台电脑时还要先在远控的电脑上发一个控制码回来给我自己吧?)。我得把它绿了!
现在,针对 企业版 5.2.0.63707我是找到了绿化的方法。接着,针对 企业版3.2.1.40764版我也找到了绿化的方法。
现分享给大家,如果你也正有这方面的需要,可以仔细阅读下面的方法。
一:企业版 5.2.0.63707
1. 当然先是安装一下看看了,看它会怎样,会对系统生成哪些文件,会对注册表做哪些改动。看看自己的设置会保存在哪里。
2. 经试验,如果要把它作为服务启动,需要离线注入注册表 SunloginService.reg
内容如下:
=====================================
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\sys\ControlSet001\Services\SunloginService]
"Type"=dword:00000110
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):22,00,58,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,\
6d,00,20,00,46,00,69,00,6c,00,65,00,73,00,5c,00,4f,00,72,00,61,00,79,00,5c,\
00,53,00,75,00,6e,00,4c,00,6f,00,67,00,69,00,6e,00,5c,00,53,00,75,00,6e,00,\
6c,00,6f,00,67,00,69,00,6e,00,43,00,6c,00,69,00,65,00,6e,00,74,00,5c,00,53,\
00,75,00,6e,00,6c,00,6f,00,67,00,69,00,6e,00,43,00,6c,00,69,00,65,00,6e,00,\
74,00,2e,00,65,00,78,00,65,00,22,00,20,00,2d,00,2d,00,6d,00,6f,00,64,00,3d,\
00,73,00,65,00,72,00,76,00,69,00,63,00,65,00,00,00
"DisplayName"="SunloginService"
"ObjectName"="LocalSystem"
"Description"="Sunlogin support service."
"WOW64"=dword:00000001
=======================================
3. 经试验,它的设置文件保存在X:\Program Files\Oray\SunLogin\SunloginClient\config.ini里。
这里面有你所有的设置,包括 密码啊,账号啊,硬件信息啊之类的。
但是,你有这个文件还是没用,它能以服务方式自动运行(不会要求你安装了!),但不能关联你的账号,虽然config.ini里明明就记录了你的账号的相关信息。
4.经试验,它还有一个设置文件,叫sys_ent_config.ini,你需要把它的账户配置文件sys_ent_config.ini复制到\ProgramData\Oray\SunloginClientEnt\文件夹内。
5.这样基本上就可以了…… 也就是说,你要有这三个文件就可以绿化运行它。
一是程序本身。二是config.ini。 三是sys_ent_config.ini。 要放对位置。 当然,你要离线导入上面说的注册表。(离线导入注册表不用教吧,玩PE的应该都会,这是基本功之一吧)
也提供一份安装完设置好(驱动啥的都装了)再导出的注册表,这个可以参考一下。或许可以对安装驱动有帮助。
==================================
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Oray\SunLogin\SunloginClient]
"5.2.0.62975_IsRunSeted"="1"
[HKEY_USERS\S-1-5-18\Software\Oray\SunLogin\SunloginClient]
"5.2.0.62975_IsRunSeted"="1"
[HKEY_CURRENT_USER\Software\Oray]
[HKEY_CURRENT_USER\Software\Oray\SunLogin]
[HKEY_CURRENT_USER\Software\Oray\SunLogin\remt]
[HKEY_CURRENT_USER\Software\Oray\SunLogin\remt\storage]
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Environments\Windows x64\Drivers\Version-3\Oray Print Driver]
"Data File"="Oray.gpd"
"Manufacturer"="Oray Print Driver"
"Provider"="Oray"
"InfPath"="X:\\Windows\\System32\\DriverStore\\FileRepository\\orayprint.inf_amd64_5031e7baba2ff35b\\orayprint.inf"
"Dependent Files"=hex(7):55,00,4e,00,49,00,52,00,45,00,53,00,2e,00,44,00,4c,00,\
4c,00,00,00,53,00,54,00,44,00,4e,00,41,00,4d,00,45,00,53,00,2e,00,47,00,50,\
00,44,00,00,00,53,00,54,00,44,00,44,00,54,00,59,00,50,00,45,00,2e,00,47,00,\
44,00,4c,00,00,00,53,00,54,00,44,00,53,00,43,00,48,00,45,00,4d,00,2e,00,47,\
00,44,00,4c,00,00,00,53,00,54,00,44,00,53,00,43,00,48,00,4d,00,58,00,2e,00,\
47,00,44,00,4c,00,00,00,00,00
"Configuration File"="UNIDRVUI.DLL"
"Driver"="UNIDRV.DLL"
"Help File"="UNIDRV.HLP"
"Monitor"=""
"Datatype"=""
"Previous Names"=hex(7):00,00,00,00
"Version"=dword:00000003
"TempDir"=dword:00000000
"Attributes"=dword:00000002
"OEM URL"=""
"HardwareID"=""
"Print Processor"="winprint"
"VendorSetup"=""
"ColorProfiles"=hex(7):00,00,00,00
"Base Driver"=""
"PrinterDriverID"=""
"App Registration"=hex(7):00,00,00,00
"PrinterDriverAttributes"=dword:00000000
"LastServicedBuild"=dword:00004a65
"CoreDependencies"=hex(7):00,00,00,00
"DriverDate"="10/19/2016"
"DriverVersion"="1.0.1.0"
"MinInboxDriverVerDate"="01/01/1601"
"MinInboxDriverVerVersion"="0.0.0.0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\PackageInstallation\Windows x64\DriverPackages\orayprint.inf_amd64_5031e7baba2ff35b]
"DriverStorePath"="X:\\Windows\\System32\\DriverStore\\FileRepository\\orayprint.inf_amd64_5031e7baba2ff35b\\orayprint.inf"
"CabPath"="X:\\Windows\\system32\\spool\\DRIVERS\\x64\\PCC\\orayprint.inf_amd64_5031e7baba2ff35b.cab"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Print\Environments\Windows x64\Print Processors\Oray PrintProcessor]
"Driver"="OrayPrintProcessor.dll"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SunloginService]
"Type"=dword:00000110
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):22,00,58,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,\
6d,00,20,00,46,00,69,00,6c,00,65,00,73,00,5c,00,4f,00,72,00,61,00,79,00,5c,\
00,53,00,75,00,6e,00,4c,00,6f,00,67,00,69,00,6e,00,5c,00,53,00,75,00,6e,00,\
6c,00,6f,00,67,00,69,00,6e,00,43,00,6c,00,69,00,65,00,6e,00,74,00,5c,00,53,\
00,75,00,6e,00,6c,00,6f,00,67,00,69,00,6e,00,43,00,6c,00,69,00,65,00,6e,00,\
74,00,2e,00,65,00,78,00,65,00,22,00,20,00,2d,00,2d,00,6d,00,6f,00,64,00,3d,\
00,73,00,65,00,72,00,76,00,69,00,63,00,65,00,00,00
"DisplayName"="SunloginService"
"ObjectName"="LocalSystem"
"Description"="Sunlogin support service."
"WOW64"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Setup\PnpResources\Registry\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF\Services\OrayIddDriver]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Setup\PnpResources\Registry\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF\Services\OrayIddDriver\ImagePath]
"Owners"=hex(7):6f,00,65,00,6d,00,35,00,36,00,2e,00,69,00,6e,00,66,00,00,00,00,\
00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Setup\PnpResources\Registry\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF\Services\OrayIddDriver\WdfExtensions]
"Owners"=hex(7):6f,00,65,00,6d,00,35,00,36,00,2e,00,69,00,6e,00,66,00,00,00,00,\
00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Setup\PnpResources\Registry\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF\Services\OrayIddDriver\WdfMajorVersion]
"Owners"=hex(7):6f,00,65,00,6d,00,35,00,36,00,2e,00,69,00,6e,00,66,00,00,00,00,\
00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Setup\PnpResources\Registry\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF\Services\OrayIddDriver\WdfMinorVersion]
"Owners"=hex(7):6f,00,65,00,6d,00,35,00,36,00,2e,00,69,00,6e,00,66,00,00,00,00,\
00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WUDF\Services\OrayIddDriver]
"ImagePath"=hex(2):58,00,3a,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,\
5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,52,00,49,\
00,56,00,45,00,52,00,53,00,5c,00,55,00,4d,00,44,00,46,00,5c,00,4f,00,72,00,\
61,00,79,00,49,00,64,00,64,00,44,00,72,00,69,00,76,00,65,00,72,00,2e,00,64,\
00,6c,00,6c,00,00,00
"WdfMajorVersion"=dword:00000002
"WdfMinorVersion"=dword:00000000
"WdfExtensions"=hex(7):49,00,64,00,64,00,43,00,78,00,30,00,31,00,30,00,32,00,\
00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\OrayVGC]
"Type"=dword:00000001
"Start"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,72,\
00,69,00,76,00,65,00,72,00,73,00,5c,00,4f,00,72,00,61,00,79,00,56,00,47,00,\
43,00,2e,00,73,00,79,00,73,00,00,00
"DisplayName"="@oem57.inf,%OrayVGC.SVCDESC%;Oray Virtual Game Controller Service"
"Owners"=hex(7):6f,00,65,00,6d,00,35,00,37,00,2e,00,69,00,6e,00,66,00,00,00,00,\
00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\OrayVGC\Parameters]
"WppRecorder_TraceGuid"="{c5ce18fe-27bd-4049-b0b4-8a47cab1dcd9}"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\OrayVGC\Parameters\Wdf]
"KmdfLibraryVersion"="1.15"
"WdfMajorVersion"=dword:00000001
"WdfMinorVersion"=dword:0000000f
"TimeOfLastTelemetryLog"=hex(b):28,48,45,8d,21,9e,da,01
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\OrayVGC\Enum]
"0"="ROOT\\SYSTEM\\0001"
"Count"=dword:00000001
"NextInstance"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\OrayUSBVHCI]
"Type"=dword:00000001
"Start"=dword:00000003
"ErrorControl"=dword:00000001
"Tag"=dword:0000001f
"ImagePath"=hex(2):5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,72,\
00,69,00,76,00,65,00,72,00,73,00,5c,00,4f,00,72,00,61,00,79,00,55,00,53,00,\
42,00,56,00,48,00,43,00,49,00,2e,00,73,00,79,00,73,00,00,00
"DisplayName"="@oem58.inf,%ServiceDesc%;OrayUSBVHCI Service"
"Group"="Extended Base"
"Owners"=hex(7):6f,00,65,00,6d,00,35,00,38,00,2e,00,69,00,6e,00,66,00,00,00,00,\
00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\OrayUSBVHCI\Enum]
"0"="ROOT\\ORAYUSBVHCI\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Oray\SunLogin\SunloginEnterprise]
"new_clientId"="7472191a-72c5-4918-bb62-167d8aafa815"
"secret"="CwHvU5jP02PAfUpNCwcTlwC$8S*w9sq#"
"machine_code"="lPfSSOpi9cUwasSudi51lA2awR77UpukuMRul+IC/8Ln2WrhnuofzlAMVH8lyOfco/JHKQMWnbk="
=======================================
咦,为啥这份注册表里的版本号是5.2.0.62975 ?
无关紧要啦。因为那个版本号_RunSeted=1的那个注册表条目,在高版本里根本就没有这条,被弃用了。那是没用的。
话说新版本文件有点大,50+M,这还不算它又生出来的20+M的agent. 还有各种驱动,还有那个35M的 node.dll, 还是再研究一下早期的版本吧。
那就企业版3.2.1.40764版,12+M,生出来的agent也才7M多,node.dll还是35M。
二、企业版3.2.1.40764版
1. 有了上次的经验,就不用怎么设置了……直接照搬照抄就是了。 还是象上面一样离线导入注册表,以服务形式启动。
2. sys_ent_config.ini这个文件不起作用了,低版本里不会生成这个文件,也不会读取这个文件,那咋办? 文件没有,那会把账号信息存在哪里呢?注册表里嘛。对比一下关联账户前后的注册表,发现以下条目:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\sss\Software\Oray\SunLogin\SunloginClient\SunloginEnterpriseInfo]
"base_encry_pwd"="Hddsfg6zY=23434dddsf3r"
"base_sunloginserver"="rc10-g7.oray.com:443"
"base_sunlogincode"="6245-9013-0136-7402-6591"
"base_license"="870e-e7bb-1f42-51da"
"base_licensepsw"="3Aofiel8uj9i2er7uA6575EnyydfsON5spfaUMaRW"
"base_fastcode"="k812389821"
"base_fastcodepsw"="3Aockjf834u9fuAi575EnyyOfdsN5pUMdfRsW"
把这个离线导入进去就可以的。注意,这个注册表里面的数据是我瞎改过的,虽然它不是以明文方式记录的,但为保安全,我还是瞎改了一气。你不要照我的注册表内容直接导进去,我只是告诉你要在哪里找到这些条目,你要保存你自己的信息才有用。
3. 最终,就是需要 程序本身,config.ini, 还有离线导入注册表(两个注册表条目)
它就算是绿了! 不会问你是要安装还是运行,不会问你登陆账号或关联哪个账号。它会安安静静地随着开机自启,作为一个服务在那里默默等着你去远控它!
顺便说一句,服务那个注册表是要离线加载 system 到注册表里, 而那个SunloginEnterpriseInfo的注册表要离线加载default 到注册表里。
如图:
|