@@ -27,16 +27,15 @@ Some uses of a keylogger are:
27
27
- Uploading logs via FTP;
28
28
- Debug mode (printing to console).
29
29
- Privacy protection:
30
- - RSA public-key encryption of logs on the fly using [ PyCrypto ] ( https://www.dlitz.net/software/pycrypto/ ) .
30
+ - RSA public-key encryption of logs on the fly using [ PyCryptoDome ] ( https://www.dlitz.net/software/pycrypto/ ) .
31
31
- Persistence:
32
- - Adding to Windows Startup;
33
- - Every 10 seconds making sure that a keylogger process is running.
32
+ - Adding to Windows Startup.
34
33
35
34
### Getting started
36
35
37
36
#### System requirements
38
37
- MS Windows (tested on 10). TODO: add Linux and macOS support;
39
- - [ Python 3] ( https://www.python.org/downloads/ ) (tested on v. 3.7.3 ).
38
+ - [ Python 3] ( https://www.python.org/downloads/ ) (tested on v. 3.7.4 ).
40
39
41
40
#### Usage
42
41
@@ -45,28 +44,26 @@ Some uses of a keylogger are:
45
44
2 . ` cd python-keylogger `
46
45
###### ** Run as a Python script**
47
46
3 . ` pip install requirements.txt ` (alternatively ` python -m pip ... ` )
48
- 4 . ` python logger_main .py local encrypt startup `
47
+ 4 . ` python "Runtime Broker .py" local encrypt `
49
48
###### ** Run as an executable**
50
49
3 . ` pip install pyinstaller `
51
- 4 . ` pyinstaller --onefile --noconsole logger_main.py `
52
- 5 . ` pyinstaller --onefile --noconsole logger.py `
53
- 6 . ` "dist\logger_main.exe" exe local encrypt startup `
50
+ 4 . ` pyinstaller --onefile --noconsole --icon=icon.ico "Runtime Broker.py" `
51
+ 5 . ` "dist\Runtime Broker.exe" local encrypt exe `
54
52
###### ** To use RSA encryption/decryption (optional)**
55
53
1 . Generate RSA key pair (optional): ` python rsa_key_generator.py ` .
56
54
1 . Change the public key filename / paste the key in logger.py.
57
55
1 . To decrypt logs type ` python decryptor.py ` , and then follow the instructions given by the script.
58
56
59
57
##### System arguments
60
- ` logger_main.py mode [exe] [ encrypt] [startup ] `
58
+ ` logger_main.py mode [encrypt] [exe ] `
61
59
- ** modes** :
62
60
- ** local:** store the logs in a local txt file. Filename is a MD5 hash of the current date (YYYY-Mon-DD).
63
61
- ** remote:** send the logs to a Google Form. You must specify the Form URL and Field Name in the script.
64
62
- ** email:** send the logs to an email. You must specify (SERVER, PORT, USERNAME, PASSWORD, TO)
65
63
- ** ftp:** upload logs file to an FTP account. You must specify (SERVER, USERNAME, PASSWORD, SSL (1 to enable, or 0), OUTPUT DIRECTORY)
66
64
- ** [ optional] **
67
- - ** exe** : provide this argument if you are running an executable.
68
65
- ** encrypt:** enable the encryption of logs with a public key provided in logger.py.
69
- - ** startup: ** add the keylogger to Windows startup .
66
+ - ** exe ** : provide this argument if you are running an executable .
70
67
71
68
### Video tutorials (similar but simpler projects)
72
69
https://www.youtube.com/watch?v=uODkiVbuR-g
0 commit comments