• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

GiacomoLaw/Keylogger: A simple keylogger for Windows, Linux and Mac

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

GiacomoLaw/Keylogger

开源软件地址(OpenSource Url):

https://github.com/GiacomoLaw/Keylogger

开源编程语言(OpenSource Language):

C 47.4%

开源软件介绍(OpenSource Introduction):

A simple keylogger for Windows, Linux and Mac

MIT Licence

Website - Keylogger wiki

Help support the project:

Buy Me A Coffee

Welcome to the simple keylogger repo! A keylogger is a program that records your keystrokes, and this program saves them in a log file on your local computer.

Check out below to learn how to install them. These keyloggers are simple and bare bones, however they work great! Feel free to fork and improve it if you want. Be sure to check out the issues or pull requests to see if your problem has been fixed, or to help out others.

Currently, there are three keylogger programs for the major operating systems; Windows, Mac and Linux.

Looking to make a fix or change on the website? You can find the website repo here.

Contents

Or, view the README.md file in each programs folder for more up to date information.

Windows

To change visibility of the window set the #define in line 9 to visible or invisible.

Simply compile into an .exe, and then run. Visual Studio is good for this.

  • invisible makes the window of the logger disappear, and it also starts up hidden from view. Note that it is still visible in the task manager.
  • visible is visible, and the window does not close when typing. Great for testing it out.

Both of these save the keystrokes to a .txt file when closed.

Note that sometimes your compiler may through up errors. If it does, keep compiling - the program still works. As always, please create an issue if you have a problem.

Mac

This is a little more complicated. Please note, it does not work for secure areas such as password inputs. I have not found a work around yet.

Installation

Download the repo. It will install in /usr/local/bin/keylogger.

Install it:

$ git clone https://github.com/GiacomoLaw/Keylogger && cd Keylogger/mac

$ make && make install

It will log to /var/log/keystroke.log. This may require root access, but you can change that if you want. Set where you want it to log:

$ keylogger ~/logfile.txt

Logging to: /var/log/keystroke.log

Want to make it start on system startup?

$ sudo make startup

That will run it on startup.

Uninstall

$ sudo make uninstall

Will uninstall the program, but not the logs.


Thanks to Casey Scarborough for the base program!

Please note that this logger cannot record keystrokes in protected areas yet.

Linux

Installation

The following instructions will install Keylogger using pip3 .

  pip3 install -r requirements.txt

or

  pip3 install pyxhook

How to run it

By running nohup python3 keylogger.py & command, it'll start to log your strokes: The meaning of nohup is ‘no hangup‘. When nohup command use with ‘&’ then it doesn’t return to shell command prompt after running the command in the background.

$~/Keylogger/linux$ nohup python3 keylogger.py &
[1] 12529 //this is the keylogger's PID (process ID)
$:~/Keylogger/linux$ fg

The Keylogger is now running! It will log your strokes to a file . Stop it by typing the command fg then hitting CTRL+C

or

kill {PID} for example kill 12529



Uses

Some uses of a keylogger are:

  • Business Administration: Monitor what employees are doing.
  • School/Institutions: Track keystrokes and log banned words in a file.
  • Personal Control and File Backup: Make sure no one is using your computer when you are away.
  • Parental Control: Track what your children are doing.
  • Self analysis

Feel free to contribute to fix any problems, or to submit an issue!

Please note, this repo is for educational purposes only. No contributors, major or minor, are to fault for any actions done by this program.

Don't really understand licenses or tl;dr? Check out the MIT license summary.

Distributed under the MIT license. See LICENSE for more information.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap