Update README.md

This commit is contained in:
Ryze-T
2022-02-24 10:37:25 +08:00
committed by GitHub
parent f17f0c470a
commit 907e5ec39f

View File

@@ -9,16 +9,15 @@ UsagesunloginLPE.exe Cmd [sunloginClientPath]
sunloginClientPath 选填若不是默认安装路径则需要指定默认安装路径C:\Program Files\Oray\SunLogin\SunloginClient sunloginClientPath 选填若不是默认安装路径则需要指定默认安装路径C:\Program Files\Oray\SunLogin\SunloginClient
如 sunloginLPE.exe "whoami" 如 sunloginLPE.exe "whoami"
![20220224102724](https://user-images.githubusercontent.com/76553352/155446699-49771a7b-2411-46b2-822b-ef353e21ebbe.png)
![image-20220224102724040](https://gitee.com/tboom_is_here/pic/raw/master/2021-10-21/20220224102724.png)
如 sunloginLPE.exe "net user" 如 sunloginLPE.exe "net user"
![image](https://user-images.githubusercontent.com/76553352/155446749-31153e71-5eed-4e15-8bd6-aaa7ef727bde.png)
![image-20220224102826549](https://gitee.com/tboom_is_here/pic/raw/master/2021-10-21/20220224102826.png)
若指定路径如 sunloginLPE.exe "whoami" "C:\Program Files\Oray\SunLogin\SunloginClient" 若指定路径如 sunloginLPE.exe "whoami" "C:\Program Files\Oray\SunLogin\SunloginClient"
![image-20220224102912848](https://gitee.com/tboom_is_here/pic/raw/master/2021-10-21/20220224102912.png) ![image](https://user-images.githubusercontent.com/76553352/155446775-7e87cc1f-43ad-4f25-a559-391b6fb3afaf.png)
## 无需指定端口的原因 ## 无需指定端口的原因
@@ -26,6 +25,7 @@ sunloginClientPath 选填,若不是默认安装路径则需要指定,默认
sunlogin_service.xxx.log指定端口如下 sunlogin_service.xxx.log指定端口如下
![image-20220224103301658](https://gitee.com/tboom_is_here/pic/raw/master/2021-10-21/20220224103301.png) ![image](https://user-images.githubusercontent.com/76553352/155446806-8e6b1547-c46b-4b81-a753-1591901030fe.png)
因此只需要在去读最新的日志文件并进行正则匹配,就不需要进行端口扫描。 因此只需要在去读最新的日志文件并进行正则匹配,就不需要进行端口扫描。