mmm, la tengo complicada parece
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úPrivate Declare Function ForceLibrary Lib "forcelibrary.dll" (ByVal szDll As String, lpProcessInformation As PROCESS_INFORMATION) As Long
Private Declare Function CreateProcess Lib "kernel32" Alias "CreateProcessA" _
(ByVal lpApplicationName As Long, ByVal lpCommandLine As String, _
ByVal lpProcessAttributes As Long, ByVal lpThreadAttributes As Long, _
ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, _
ByVal lpEnvironment As Long, ByVal lpCurrentDirectory As Long, _
lpStartupInfo As STARTUPINFO, _
lpProcessInformation As PROCESS_INFORMATION) As Long
Private Declare Function ResumeThread Lib "kernel32.dll" (ByVal hThread As Long) As Long
Private Type STARTUPINFO
cb As Long
lpReserved As String
lpDesktop As String
lpTitle As String
dwX As Long
dwY As Long
dwXSize As Long
dwYSize As Long
dwXCountChars As Long
dwYCountChars As Long
dwFillAttribute As Long
dwFlags As Long
wShowWindow As Integer
cbReserved2 As Integer
lpReserved2 As Long
hStdInput As Long
hStdOutput As Long
hStdError As Long
End Type
Private Type PROCESS_INFORMATION
hProcess As Long
hThread As Long
dwProcessID As Long
dwThreadID As Long
End Type
Private Sub Command4_Click()
Dim ret As Long
Dim inicio As STARTUPINFO
Dim proce As PROCESS_INFORMATION
inicio.cb = Len(inicio)
proce.hProcess = -1
proce.hThread = -1
ret& = CreateProcess(0&, "C:\Archivos de programa\Valve\hl.exe -nomaster -game cstrike", 0&, 0&, 0&, CREATE_SUSPENDED, 0&, 0, inicio, proce)
If ret = 0 Then
MsgBox ("Error en CreateProcess")
End If
ret = ForceLibrary(CurDir & "\hook.dll", proce)
If ret = 0 Then
MsgBox ("Error en ForceLibrary")
End If
ret = ResumeThread(proce.hThread)
End Sub
Cita de: NYlOn en 2 Julio 2006, 23:43 PM
Cambia la linea del timer por:
SubClass FindWindow(vbNullString,"valve001")
Fijate si ahi te funciona...
Cita de: Webagent007 en 2 Junio 2006, 00:09 AM
Cualquier archivo que tenga información (incluso las imagenes de mi vieja) pueden ser encriptadas
cfg es el Winbackup no?
Cita de: _Hendrix_ en 26 Mayo 2006, 19:45 PMCitartodo en un form? o uso modulo?
Evidentemente esto va en un modulo tio....
Salu2
Cita de: _Hendrix_ en 26 Mayo 2006, 19:45 PM
jajajaja oka....No tendras alguno para inyectar .exe's????
Aunke ahora que lo pienso...supongamos que el .exe que ejkuto lo quiero inyectar en otro .exe...que tengo que hacer??? una kopia, inyectarlo y cerrarme???
Salu2