Skip to content

Commit

Permalink
Improve Linux README.md (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehtab Zafar authored and GiacomoLaw committed Apr 19, 2018
1 parent 25fcc20 commit 68dacc9
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions linux/README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,35 @@
##Installation
# Keylogger

### Prerequisites

You'll need to install python-xlib if you don't have it.

`pip install python-xlib`
#### To install `python-xlib`:

`pip install python-xlib` or `sudo pip install python-xlib`.


or `sudo pip install python-xlib` to install `python-xlib` globally.
For `ubuntu/debian` package manager:

or use `ubuntu/debian` package manager:
`sudo apt-get install python-xlib`

Check that you have git installed, and then run this.

### How to install

Clone the repository

`git clone https://github.com/GiacomoLaw/Keylogger`

This will clone this entire repo. Find the linux folder, extract it, and open it. Rename the extracted folder to `linux-logger` Then run this:
This will clone this entire repo. Find the linux folder, extract it, and open it. Rename the extracted folder to `linux-logger`.

`giacomo@vostro:~$ cd linux-logger/`
## How to run it

Set where you want the log to go **before** running this step.

Run this command to start

```
giacomo@vostro:~/linux-logger$ python keylogger.py
python keylogger.py
<class 'Xlib.protocol.request.QueryExtension'>
Expand All @@ -32,6 +42,6 @@ The keylogger is now running! It will log your strokes to the file you specified

---

You can make it run on startup:
You can make it run on **startup**:

`python /home/giacomo/py-keylogger/keylogger.py`

0 comments on commit 68dacc9

Please sign in to comment.