Code your crypter in C++
Hello everyone, this is my first tutorial EVER.
I will learn you to create a keylogger in c++ using vs 2008.
It can also be done in dev-c++, codegear c++ builder.
This keylogger wil save a log of the keys that are pressed on your HD.
Note: This tutorial is for educational purpose only.
Only put the keylogger on a computer where you got permission for.
Thx to Kevin Willett for teaching me this.
___________________________________________________________
Lets get started.
++++++++++++++++++
First we need to create a new project.
Click on 'File' > 'New' > 'Project'.
Now choose 'Win32 Console Application' and choose for name "Keylogger".
If you get the 'Win32 Application Wizzard' click on 'Next' and then select 'Empty project' under 'Additional options' and click on 'Finish'.
You should have a empty project now.
Now we will add a .cpp file.
Right click on 'Source Files' and take 'Add' > 'New Item'.
Now take 'C++ File(.cpp)' and name it Keylogger.
then click 'Add'.
Now open Keylogger.cpp and Write this in it.
Now write this:
Now we need to make a main function.(The main function will be the first that will be executed.)
Ok so far so good :).
Now under the latest code add this
To make it look better.
Under that we will write our keylogger so it will also recognize special keys like the 'spacebar' and stuff.
If you want to add some yourself here is a site where you can look up the ascii table. http://www.asciitable.com/
Now we going to add Stealth to it.
Under the latest code add again
Now write:
So thats it, you wrote your first keylogger :).
Here the full code:
I will learn you to create a keylogger in c++ using vs 2008.
It can also be done in dev-c++, codegear c++ builder.
This keylogger wil save a log of the keys that are pressed on your HD.
Note: This tutorial is for educational purpose only.
Only put the keylogger on a computer where you got permission for.
Thx to Kevin Willett for teaching me this.
___________________________________________________________
Lets get started.
++++++++++++++++++
First we need to create a new project.
Click on 'File' > 'New' > 'Project'.
Now choose 'Win32 Console Application' and choose for name "Keylogger".
If you get the 'Win32 Application Wizzard' click on 'Next' and then select 'Empty project' under 'Additional options' and click on 'Finish'.
You should have a empty project now.
Now we will add a .cpp file.
Right click on 'Source Files' and take 'Add' > 'New Item'.
Now take 'C++ File(.cpp)' and name it Keylogger.
then click 'Add'.
Now open Keylogger.cpp and Write this in it.
Now write this:
Now we need to make a main function.(The main function will be the first that will be executed.)
Ok so far so good :).
Now under the latest code add this
To make it look better.
Under that we will write our keylogger so it will also recognize special keys like the 'spacebar' and stuff.
If you want to add some yourself here is a site where you can look up the ascii table. http://www.asciitable.com/
Now we going to add Stealth to it.
Under the latest code add again
Now write:
So thats it, you wrote your first keylogger :).
Here the full code:
Comments
Post a Comment