Bienvenido a Tecnohackers

Tecnohackers » Programacion » Area de Programacion » Programacion a Bajo Nivel. APIs, Hooking, ASM, C/C++, etc.
 » 

Beep en los parlantes exteriores de 32 BITS!!



Autor Tema: Beep en los parlantes exteriores de 32 BITS!!  (Leído 1077 veces)

Desconectado kaiser

  • Veterano
  • ***
  • Mensajes: 249
    • http://foro.latinohack.com
Beep en los parlantes exteriores de 32 BITS!!
« en: Enero 21, 2009, 12:46:58 pm »
Este es un codigo que consegui en la web... Peronalmente lo probe y me funciono sin problemas, cualquier cosa avisen y les ayudo...

Código: You are not allowed to view links. Register or Login
;programa by prosutch. "beep" parlantes exteriores

.386
.model flat

includelib c:\tasm\lib\import32.lib
include c:\tasm\include\windows.inc

extrn LoadLibraryA: proc

extrn GetProcAddress: proc

extrn Sleep : proc

extrn ExitProcess: proc


.data
usee* * *db "user32.dll",0* * *

func* * *db "MessageBeep",0

Sends* * dd ?

comabeep* db* "MessageBeep",0


.code
start:

push offset usee
call LoadLibraryA

push offset func

push eax

call GetProcAddress

mov Sends, eax

push 0
push offset comabeep
call Sends

push 4000
call Sleep

xor eax, eax* * * * * * * * *
push eax* * * * * * * * * * *
call ExitProcess

end start
;fin del programa


Saludos... :xD

Tags:
Tags:

 


SMF 2.0.19 | SMF © 2016, Simple Machines
Paginas Afiliadas
Twitter - FaceBook - Daraxblog
Designed by Smf Personal