ipphoney 2.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ipphoney-2.0.0/CHANGELOG.md +110 -0
- ipphoney-2.0.0/LICENSE +674 -0
- ipphoney-2.0.0/MANIFEST.in +9 -0
- ipphoney-2.0.0/PKG-INFO +150 -0
- ipphoney-2.0.0/README.md +17 -0
- ipphoney-2.0.0/core/__init__.py +0 -0
- ipphoney-2.0.0/core/compile.py +332 -0
- ipphoney-2.0.0/core/config.py +50 -0
- ipphoney-2.0.0/core/data.py +424 -0
- ipphoney-2.0.0/core/logfile.py +74 -0
- ipphoney-2.0.0/core/output.py +39 -0
- ipphoney-2.0.0/core/paths.py +54 -0
- ipphoney-2.0.0/core/protocol.py +561 -0
- ipphoney-2.0.0/core/tools.py +243 -0
- ipphoney-2.0.0/honeypot.py +144 -0
- ipphoney-2.0.0/ipphoney/__init__.py +26 -0
- ipphoney-2.0.0/ipphoney/cli.py +536 -0
- ipphoney-2.0.0/ipphoney/data/Dockerfile +56 -0
- ipphoney-2.0.0/ipphoney/data/docs/INSTALL.md +397 -0
- ipphoney-2.0.0/ipphoney/data/docs/INSTALLWIN.md +406 -0
- ipphoney-2.0.0/ipphoney/data/docs/PLUGINS.md +21 -0
- ipphoney-2.0.0/ipphoney/data/docs/TODO.md +15 -0
- ipphoney-2.0.0/ipphoney/data/docs/datadog/README.md +32 -0
- ipphoney-2.0.0/ipphoney/data/docs/discord/README.md +58 -0
- ipphoney-2.0.0/ipphoney/data/docs/geoipupdtask.ps1 +270 -0
- ipphoney-2.0.0/ipphoney/data/docs/mysql/README.md +176 -0
- ipphoney-2.0.0/ipphoney/data/docs/mysql/READMEWIN.md +157 -0
- ipphoney-2.0.0/ipphoney/data/docs/mysql/mysql.sql +72 -0
- ipphoney-2.0.0/ipphoney/data/docs/postgres/README.md +184 -0
- ipphoney-2.0.0/ipphoney/data/docs/postgres/READMEWIN.md +196 -0
- ipphoney-2.0.0/ipphoney/data/docs/postgres/postgres.sql +67 -0
- ipphoney-2.0.0/ipphoney/data/docs/slack/README.md +68 -0
- ipphoney-2.0.0/ipphoney/data/docs/sqlite3/README.md +131 -0
- ipphoney-2.0.0/ipphoney/data/docs/sqlite3/READMEWIN.md +123 -0
- ipphoney-2.0.0/ipphoney/data/docs/sqlite3/sqlite3.sql +65 -0
- ipphoney-2.0.0/ipphoney/data/docs/telegram/README.md +103 -0
- ipphoney-2.0.0/ipphoney/data/etc/honeypot.cfg.base +440 -0
- ipphoney-2.0.0/ipphoney/data/responses/getattr.ipp +54 -0
- ipphoney-2.0.0/ipphoney/data/responses/getattr_full.ipp +138 -0
- ipphoney-2.0.0/ipphoney/data/responses/getjattr.ipp +14 -0
- ipphoney-2.0.0/ipphoney/data/responses/getjobs.ipp +6 -0
- ipphoney-2.0.0/ipphoney/data/responses/header.ipp +4 -0
- ipphoney-2.0.0/ipphoney/data/responses/jobattr.ipp +8 -0
- ipphoney-2.0.0/ipphoney/data/responses/printjob.ipp +14 -0
- ipphoney-2.0.0/ipphoney/data/test/.gitignore +5 -0
- ipphoney-2.0.0/ipphoney/data/test/scripts/cancel-current-job.test +49 -0
- ipphoney-2.0.0/ipphoney/data/test/scripts/cancel-job.test +23 -0
- ipphoney-2.0.0/ipphoney/data/test/scripts/create-job.test +45 -0
- ipphoney-2.0.0/ipphoney/data/test/scripts/get-completed-jobs.test +35 -0
- ipphoney-2.0.0/ipphoney/data/test/scripts/get-job-attributes.test +29 -0
- ipphoney-2.0.0/ipphoney/data/test/scripts/get-jobs.test +39 -0
- ipphoney-2.0.0/ipphoney/data/test/scripts/get-printer-attributes.test +40 -0
- ipphoney-2.0.0/ipphoney/data/test/scripts/pause-printer.test +15 -0
- ipphoney-2.0.0/ipphoney/data/test/scripts/print-job.test +31 -0
- ipphoney-2.0.0/ipphoney/data/test/scripts/print-uri.test +32 -0
- ipphoney-2.0.0/ipphoney/data/test/scripts/resume-printer.test +15 -0
- ipphoney-2.0.0/ipphoney/data/test/scripts/send-uri.test +45 -0
- ipphoney-2.0.0/ipphoney/data/test/scripts/testfile.jpg +0 -0
- ipphoney-2.0.0/ipphoney/data/test/scripts/validate-job.test +25 -0
- ipphoney-2.0.0/ipphoney/data/test/test.ps1 +443 -0
- ipphoney-2.0.0/ipphoney/data/test/test.sh +478 -0
- ipphoney-2.0.0/ipphoney/honeypot.py +144 -0
- ipphoney-2.0.0/ipphoney.egg-info/PKG-INFO +150 -0
- ipphoney-2.0.0/ipphoney.egg-info/SOURCES.txt +92 -0
- ipphoney-2.0.0/ipphoney.egg-info/dependency_links.txt +1 -0
- ipphoney-2.0.0/ipphoney.egg-info/entry_points.txt +2 -0
- ipphoney-2.0.0/ipphoney.egg-info/requires.txt +155 -0
- ipphoney-2.0.0/ipphoney.egg-info/top_level.txt +3 -0
- ipphoney-2.0.0/output_plugins/README.md +21 -0
- ipphoney-2.0.0/output_plugins/__init__.py +0 -0
- ipphoney-2.0.0/output_plugins/couch.py +68 -0
- ipphoney-2.0.0/output_plugins/datadog.py +71 -0
- ipphoney-2.0.0/output_plugins/discord.py +123 -0
- ipphoney-2.0.0/output_plugins/elastic.py +137 -0
- ipphoney-2.0.0/output_plugins/hpfeed.py +43 -0
- ipphoney-2.0.0/output_plugins/influx2.py +64 -0
- ipphoney-2.0.0/output_plugins/jsonlog.py +36 -0
- ipphoney-2.0.0/output_plugins/kafka.py +57 -0
- ipphoney-2.0.0/output_plugins/localsyslog.py +71 -0
- ipphoney-2.0.0/output_plugins/mongodb.py +84 -0
- ipphoney-2.0.0/output_plugins/mysql.py +239 -0
- ipphoney-2.0.0/output_plugins/nlcvapi.py +126 -0
- ipphoney-2.0.0/output_plugins/postgres.py +168 -0
- ipphoney-2.0.0/output_plugins/redisdb.py +47 -0
- ipphoney-2.0.0/output_plugins/rethinkdblog.py +46 -0
- ipphoney-2.0.0/output_plugins/slack.py +81 -0
- ipphoney-2.0.0/output_plugins/socketlog.py +40 -0
- ipphoney-2.0.0/output_plugins/sqlite.py +154 -0
- ipphoney-2.0.0/output_plugins/telegram.py +130 -0
- ipphoney-2.0.0/output_plugins/textlog.py +33 -0
- ipphoney-2.0.0/output_plugins/xmpp.py +181 -0
- ipphoney-2.0.0/setup.cfg +7 -0
- ipphoney-2.0.0/setup.py +303 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [2.0.0]
|
|
9
|
+
|
|
10
|
+
### Added in version 2.0.0
|
|
11
|
+
|
|
12
|
+
* Made the project installable from PyPI
|
|
13
|
+
* `.gitlab-ci.yml` file to scan for secrets
|
|
14
|
+
|
|
15
|
+
### Changed in version 2.0.0
|
|
16
|
+
|
|
17
|
+
* Increased the version number
|
|
18
|
+
* Got rid of `getlist()`
|
|
19
|
+
* Fixed bugs in the Discord, PostgreSQL, Slack, and Telegram output plugins
|
|
20
|
+
* Better Python 2.x/3.x compatibility
|
|
21
|
+
* Completely rewritten `Dockerfile`, uses hardened images
|
|
22
|
+
|
|
23
|
+
## [1.0.2]
|
|
24
|
+
|
|
25
|
+
### Added in version 1.0.2
|
|
26
|
+
|
|
27
|
+
* Blacklist of networks, connections whom whose IP addresses won't be logged
|
|
28
|
+
* Error checking when trying to obtain the external IP address of the honeypot
|
|
29
|
+
* Added a verbose option, controlling whether the full IPP request is logged
|
|
30
|
+
* Added output plugins for
|
|
31
|
+
* Datadog
|
|
32
|
+
* Discord
|
|
33
|
+
* Kafka
|
|
34
|
+
* NLCV-BAS honeypot data aggregation API
|
|
35
|
+
* RethinkDB
|
|
36
|
+
* Slack
|
|
37
|
+
* Socket
|
|
38
|
+
* Telegram
|
|
39
|
+
* XMPP
|
|
40
|
+
|
|
41
|
+
### Changed in version 1.0.2
|
|
42
|
+
|
|
43
|
+
* Updated the documentation
|
|
44
|
+
* Improved the unit tests script
|
|
45
|
+
* Improved error handling in the plugins that try to open a geolocation database
|
|
46
|
+
* Set the executable attribute of the unit tests script
|
|
47
|
+
* Fixed a bug in the MySQL and SQLite plugins (the string 'NULL' was passed instead of 0)
|
|
48
|
+
* Fixed a typo in the Docker section of the installation documentation
|
|
49
|
+
* Got rid of the deprecated functions `utcfromtimestamp` and `utcnow`
|
|
50
|
+
* Updated the documentation with information how to start the honeypot at boot
|
|
51
|
+
time
|
|
52
|
+
|
|
53
|
+
## [1.0.1]
|
|
54
|
+
|
|
55
|
+
### Added in version 1.0.1
|
|
56
|
+
|
|
57
|
+
* Jobs queue
|
|
58
|
+
* Macros for `$job` (current job ID) and `$jobs` (total number of pending jobs)
|
|
59
|
+
* Removed `Hold-Job` and `Release-Job` from the list of supported operations
|
|
60
|
+
* Added a testing script (Linux only, expects `ipptool` to be installed)
|
|
61
|
+
* Emulation of the following IPP operations:
|
|
62
|
+
* `Print-Uri`
|
|
63
|
+
* `Pause-Printer`
|
|
64
|
+
* `Resume-Printer`
|
|
65
|
+
* `Cancel-Job`
|
|
66
|
+
* "cancel current job"
|
|
67
|
+
* `Validate-Job`
|
|
68
|
+
* `Get-Job-Attributes`
|
|
69
|
+
* `Create-Job`
|
|
70
|
+
* `Send-Document`
|
|
71
|
+
* `Send-Uri`
|
|
72
|
+
|
|
73
|
+
### Changed in version 1.0.1
|
|
74
|
+
|
|
75
|
+
* Fixed a typo in the `README.md` file
|
|
76
|
+
* Require a non-vulnerable version of Twisted
|
|
77
|
+
|
|
78
|
+
## [1.0.0]
|
|
79
|
+
|
|
80
|
+
### Added in version 1.0.0
|
|
81
|
+
|
|
82
|
+
* Initial release
|
|
83
|
+
* Implemented the honeypot using the Twisted framework
|
|
84
|
+
* Made the honeypot compatible with Python 3.x
|
|
85
|
+
* Config file support
|
|
86
|
+
* Various command-line options
|
|
87
|
+
* Log rotation
|
|
88
|
+
* Support for the `report_public_ip` config file option
|
|
89
|
+
* A script for starting, stopping, and restarting the honeypot
|
|
90
|
+
* Macros like `$ip`, `$now`, `$old`
|
|
91
|
+
* Documentation
|
|
92
|
+
* Emulation of the following IPP operations:
|
|
93
|
+
* `Get-Printer-Attributes`
|
|
94
|
+
* `Get-Jobs`
|
|
95
|
+
* "get completed jobs"
|
|
96
|
+
* `Print-Job`
|
|
97
|
+
* Output plugin support
|
|
98
|
+
* Output plugins for
|
|
99
|
+
* CouchDB
|
|
100
|
+
* Elasticsearch
|
|
101
|
+
* HPFeeds
|
|
102
|
+
* Influx 2.0 (Python 3.6+ only)
|
|
103
|
+
* JSON
|
|
104
|
+
* MongoDB
|
|
105
|
+
* MySQL
|
|
106
|
+
* PostgreSQL
|
|
107
|
+
* RedisDB
|
|
108
|
+
* SQLite3
|
|
109
|
+
* syslog
|
|
110
|
+
* text
|