Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 623 Vote(s) - 3.48 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C++ How to make a basic keylogger

#1
Hello everyone.

This tutorial will teach 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.


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:

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


Now write this:

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


Now we need to make a main function.(The main function will be the first that will be executed.)


Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Now under the latest code add this to make it look better:

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

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.

[To see links please register here]


Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


Now we going to add Stealth to it. Under the latest code add again:


Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Now write:

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Now, if you've done everything right, your full source code should look like below:

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


:smile:
Reply

#2
Congrats on the copy and paste.

[To see links please register here]

Reply

#3
You should take content anyway you can get it.
Reply

#4
Quote:(07-12-2013, 08:07 AM)Hyde Wrote:

[To see links please register here]

more harmful for you to point that out than me.

You should take content anyway you can get it.

Explain how that's more harmful for me than you?
Reply

#5
Perhaps add credits to the bottom of the thread.

Thanks for posting regardless!
Reply

#6
Quote:(07-12-2013, 08:07 AM)Hyde Wrote:

[To see links please register here]

You should take content anyway you can get it.

You should at least give credits. :glare:
Reply

#7
The most basic keylogger.

I doubt anyone here really doesn't know this though.
Reply

#8
This was copy-pasted, but I happy that you didn't bother to make it look like it was your own tutorial.
This might be helpful to someone at least... Keep sharing more quality stuff...
Reply

#9
Whoever actually programmed this should be beaten for their horrid comments. I mean, multi-line comments aren't new.
Reply

#10
This is also very bad because it keeps spamming the CPU for the same function, and it may also miss some keystrokes,
plus it's easy as fuck to detect, what other thing will a program do if all it's doing is calling GetAsyncKeyState...
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through