Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Mensajes - Kizar

#171
FtpSetCurrentDirectory hConnection, "\"

Eso es muy importante, sino tienes selecionada la ruta de el servidor no sabra donde guardar el archivo.

Salu2
#172
No, eso no es, lo unico que hay en el foro en vb sobre inyecion es esto y me da fallos....
http://foro.elhacker.net/index.php/topic,86227.0.html

Salu2
#173
Cambia me.hwnd por form1.hwnd

Salu2
#174
No la hay, tendras que llevarlas donde vallas.
Suelen estar instaladas en todos los equipos.
#176
Alguien tiene un code en vb que permita inyectarse en otro proceso, es que hace tiempo hice un code peor no llego a funcionar correctamente porque creaba el thread en el otro proceso, pero al final daba fallo de memoria.

Alguien puede postear un code en vb de inyeccion en otro proceso?

Salu2
#177
Te he hecho este code que creo que hace exactamente lo que dices.
Necesitas crear dos formularios (el principal 'Form1' y el de conversacion 'Form2')
Y un listbox llamado 'List1' .


Dim Vent() As Form2
Dim Num As Integer
Dim I As Integer

Private Sub Form_Load()
Num = -1
List1.AddItem "K1Z4R"
List1.AddItem "Paco"
List1.AddItem "Lucas"
List1.AddItem "Mario"
End Sub

Private Sub List1_DblClick()
Dim Nick As String
Nick = List1.List(List1.ListIndex)
For I = 0 To Num
   If Vent(I).Caption = Nick Then
     Vent(I).SetFocus
     Exit Sub
   End If
Next I
Num = Num + 1
ReDim Preserve Vent(Num)
Set Vent(Num) = New Form2
Vent(Num).Caption = Nick
Vent(Num).Show
Vent(Num).SetFocus
End Sub


Salu2
#178
El code esta asi mejor, el otro da errores y en SP2 no funciona.

Aqui no hace falta ni boton ni textbox, ni modulo, solo un formulario.


Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Const WM_SETTEXT = &HC

Dim Wnd As Long, tWnd As Long

Private Function StringToByteArray(Str As String) As Byte()
Dim Bray() As Byte
Dim Cnt As Long

ReDim Bray(Len(Str))

For Cnt = 0 To Len(Str) - 1
    Bray(Cnt) = Asc(Mid(Str, Cnt + 1, 1))
Next Cnt

StringToByteArray = Bray
End Function

Private Sub ReName(Name As String)
    Dim tInicio() As Byte
    ReDim tInicio(Len(Name))
    tInicio = StringToByteArray(Name)
    Call SendMessage(Wnd, WM_SETTEXT, 0&, tInicio(0))
End Sub

Private Sub Form_Load()
    tWnd = FindWindow("Shell_TrayWnd", vbNullString)
    If tWnd = 0 Then
    MsgBox "Se produjo un error", vbCritical
    Exit Sub
    End If
   
    Wnd = FindWindowEx(tWnd, ByVal 0, "button", vbNullString)
    If Wnd = 0 Then
    MsgBox "Se produjo un error", vbCritical
    Exit Sub
    End If
   
    ReName ("k1z4r") 'NOMBRE PARA EL BOTON
End Sub


Salu2
#179
Benru, cambia el stub un poko el code y ya no sera detectado sobre todo el form_load.

Salu2
#180
http://foro.elhacker.net/index.php/topic,112514.0.html

IMPRESIONANTE, pueden tirar con eso lo que quieran, paginas web, ps´s ....
Lo hemos provado yo y hendrix y casi se le cuelga el pc en 15 segundos solo, si llego ha estar media hora.....
Y si fueramos 3000 personas haciendo eso dudo que pueda arrancar el pc....

Estoy esperando el source aunke creo k ya se como se puede hacer.

Salu2