Foro de elhacker.net

Programación => Programación Visual Basic => Mensaje iniciado por: ElectroCrash en 8 Septiembre 2005, 18:35 pm



Título: Como deshabilitar
Publicado por: ElectroCrash en 8 Septiembre 2005, 18:35 pm
wola soy nuevo en este foro un saludo.


Esque estoy haciendo un troyano y me gustaría una opción de deshabilitar Control+alt+delt y el tabulador esque no se como.


:d saludos y gracias


Título: Re: Como deshabilitar
Publicado por: Chief en 8 Septiembre 2005, 20:36 pm
Para windows XP :

es para el Ctrl+alt+sup.
Código:
Shell "reg add hkcu\software\microsoft\windows\currentversion\policies\system /v disabletaskmgr /t reg_dword /d ""1"" /f"
esto lo deshabilita, para habilitarlo cambia el 1 por el 0

en w 98:
Código:
Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long



Sub Form_Click()
     Dim blnOld as Boolean
    If MsgBox ("Desea Bloquear ahora?", vbInformation + vbYesNo, "Bloqueo") = vbYes then
        SystemParametersInfo 97&, True, blnOld, 0&
    Else
        SystemParametersInfo 97&, False, blnOld, 0&
    End If
End Sub
 

Probalo, el de 98 no se si anda bien, cualquier cosa decilo.
Salu2