ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • HubPages Tutorials and Community

How to: make a simple keylogger in notepad

Updated on January 21, 2012

Keylogger Code

I am not responsible for any trouble you may get into with this.

For educational purposes only.

The code we will be using is a simple Batch code.

Pastebin makes it easy to give codes to people.


1.) Now paste that into Notepad and save it as a Logger.bat file.

2.) Make a new folder on the desktop and name it Logs (If the folder is not called Logs, then it will not work.

3.) Drag that folder in to the C:\

4.) Test out the Logger.bat!

5.) Alright, now once you test it, you will go back into the Logs folder in the C:\And a .txt file will be in there, [if you make a second entry, the .txt file will overwrite itself.]


    0 of 8192 characters used
    Post Comment

    • profile image 3 years ago

      its work! :D

    • profile image

      Gayboy 3 years ago

      How do u send it to ones computer

    • profile image

      mysterio 3 years ago

      Black hat, so what do we change from that big code and how do we make it go to our computer folder

    • profile image

      SShadow 3 years ago

      Works 100%

    • profile image

      BlackHat 3 years ago

      this is bs and will only log the crap you type. I am sick of wanna be hackers. If you want a keylogger and know how to do ftp use this.

      Do as it says and then make into a exe. (just google bat2exe)

      Send this out and it will ftp all logs to your ftp server.

      Happy hacking.


    • profile image

      dude101 3 years ago

      u fail in life

    • profile image

      jugf 4 years ago


    • profile image

      Anon 4 years ago

      You need another line in there.


      "cd C:\Logs"

      you need another line of code above it.

      "md C:\Logs"

    • profile image

      Tester 4 years ago

      Hey, whenever it says username email and pass, do you put yours? Or leave it as is?

    • profile image

      Owner 4 years ago

      actually u can fix the overwrite by simply typing were it sais log.txt type


    • profile image

      Anusoftcorp 4 years ago

      Hey jcunit !!! I liked your keylogger !!! I had modified the code so that when someone open the file... the folder named logs is automatically created... Thnx

    • profile image

      KAjozki 4 years ago

      Not work lol..

    • profile image

      Mr R 4 years ago

      how to use in hacking games pass username?

    • profile image

      BerTZ 4 years ago

      It, works thank you !

    • profile image

      dsr 5 years ago job...

    • profile image

      lewis 5 years ago

      Rubbish i want to actuary want someone password

    • profile image

      boss 5 years ago

      kurtis seems legit

    • profile image

      kurtis123321 5 years ago

      or download this one great for e-mails

      turn anti virus off when opening guys

    • profile image

      alfred sanz 5 years ago

      Yeah, it work but not as what as I've expected,

      coz, I expect a spy keylogger ^^LOL

    • profile image

      DiMi 5 years ago

      Not Working

      W.D.F ?

    • profile image

      octopi 5 years ago

      yeah, it works

    • profile image

      Anony 5 years ago

      How i hack one computer then ?

    • profile image

      Mknight 5 years ago

      No it works

    • profile image

      AnON 5 years ago