mirror of
https://github.com/Mr-xn/Penetration_Testing_POC.git
synced 2025-08-13 11:28:28 +00:00
cmd下查询3389远程桌面端口
This commit is contained in:
parent
5258a6cfbd
commit
33feaf2d17
14
tools/cmd下查询3389远程桌面端口.md
Normal file
14
tools/cmd下查询3389远程桌面端口.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
在命令行下执行:
|
||||||
|
```shell
|
||||||
|
REG query HKLM\SYSTEM\CurrentControlSet\Control\Terminal" "Server\WinStations\RDP-Tcp /v PortNumber
|
||||||
|
```
|
||||||
|
返回:
|
||||||
|
```shell
|
||||||
|
PortNumber REG_DWORD 0x4cfe
|
||||||
|
```
|
||||||
|
随后拿出来`0x4cfe`,转换成10进制,Windows下可以用计算器的程序员模式,
|
||||||
|
选择`HEX`输入`4cfe`即可得到10进制的端口号`19710`:
|
||||||
|

|
||||||
|
|
||||||
|
当然你也可以使用其他软件(小葵多功能转换工具)或在线的进制转换工具,怎么方便怎么来
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user