黑客必知的一些终端操作技巧

黑客必知的一些终端操作技巧 1.查询终端端口 REG query HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp /v PortNumber 2.开启XP2003终端服务 REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server /v fDenyTSConnections /t REG_DWORD /d 00000 1.查询终端端口 REG query HKLM\SYSTEM\CurrentControlSet\Control\Terminal""Server\WinStations\RDP-Tcp /v PortNumber 2.开启XP&2003终端服务 REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Terminal""Server /v fDenyTSConnections /t REG_DWORD /d 00000000 /f 3.更改终端端口为2008(0x7d8)默认为3389(0xD3D) REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Terminal""Server\Wds\rdpwd\Tds\tcp /v PortNumber /t REG_DWORD /d 0x7d8 /f REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Terminal""Server\WinStations\RDP-Tcp /v PortNumber /t REG_DWORD /d 0x7D8 /f 4.取消xp&2003系统防火墙对终端服务的限制及IP连接的限制 REG ADD HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\GloballyOpenPorts\List /v 3389:TCP /tREG_SZ /d 3389:TCP:*:Enabled:@xpsp2res.dll,-22009 /f 5.开启Win2000的终端 (需重启) 新建个记事本文档,复制一下代码,改名为3389.bat. echo Windows Registry Editor Version 5.00 >2000.reg echo. >>2000.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\netcache] >>2000.reg echo "Enabled"="0" >>2000.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]>>2000.reg echo "ShutdownWithoutLogon"="0">>2000.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]>>2000.reg echo"EnableAdminTSRemote"=dword:00000001 >>2000.reg echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server] >>2000.reg echo "TSEnabled"=dword:00000001>>2000.reg echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermDD]>>2000.reg echo "Start"=dword:00000002>>2000.reg echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService] >>2000.reg echo "Start"=dword:00000002>>2000.reg echo [HKEY_USERS\.DEFAULT\Keyboard Layout\Toggle] >>2000.reg echo "Hotkey"="1" >>2000.reg echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp]>>2000.reg echo "PortNumber"=dword:0000145B>>2000.reg echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]>>2000.reg echo "PortNumber"=dword:0000145B>>2000.reg 6.解决终端超出了最大连接数的命令 mstsc /v:ip:3389 /conso

你可能感兴趣的:(黑客技术)