mirror of
https://github.com/Mr-xn/Penetration_Testing_POC.git
synced 2026-10-28 19:30:52 +00:00
cmd下查询3389远程桌面端口
This commit is contained in:
1 parent
5258a6cfbd
commit
33feaf2d17
1 file changed
+14
@@ -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`:
|
||||

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