elasticpot 2.0.1.dev0__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.
Files changed (93) hide show
  1. elasticpot-2.0.1.dev0/CHANGELOG.md +154 -0
  2. elasticpot-2.0.1.dev0/LICENSE +674 -0
  3. elasticpot-2.0.1.dev0/MANIFEST.in +9 -0
  4. elasticpot-2.0.1.dev0/PKG-INFO +155 -0
  5. elasticpot-2.0.1.dev0/README.md +22 -0
  6. elasticpot-2.0.1.dev0/core/__init__.py +0 -0
  7. elasticpot-2.0.1.dev0/core/config.py +50 -0
  8. elasticpot-2.0.1.dev0/core/logfile.py +74 -0
  9. elasticpot-2.0.1.dev0/core/output.py +39 -0
  10. elasticpot-2.0.1.dev0/core/paths.py +54 -0
  11. elasticpot-2.0.1.dev0/core/protocol.py +451 -0
  12. elasticpot-2.0.1.dev0/core/tools.py +171 -0
  13. elasticpot-2.0.1.dev0/elasticpot/__init__.py +26 -0
  14. elasticpot-2.0.1.dev0/elasticpot/cli.py +519 -0
  15. elasticpot-2.0.1.dev0/elasticpot/data/Dockerfile +56 -0
  16. elasticpot-2.0.1.dev0/elasticpot/data/docs/INSTALL.md +424 -0
  17. elasticpot-2.0.1.dev0/elasticpot/data/docs/INSTALLWIN.md +435 -0
  18. elasticpot-2.0.1.dev0/elasticpot/data/docs/PLUGINS.md +21 -0
  19. elasticpot-2.0.1.dev0/elasticpot/data/docs/TODO.md +3 -0
  20. elasticpot-2.0.1.dev0/elasticpot/data/docs/datadog/README.md +32 -0
  21. elasticpot-2.0.1.dev0/elasticpot/data/docs/discord/README.md +58 -0
  22. elasticpot-2.0.1.dev0/elasticpot/data/docs/geoipupdtask.ps1 +270 -0
  23. elasticpot-2.0.1.dev0/elasticpot/data/docs/mysql/README.md +176 -0
  24. elasticpot-2.0.1.dev0/elasticpot/data/docs/mysql/READMEWIN.md +157 -0
  25. elasticpot-2.0.1.dev0/elasticpot/data/docs/mysql/mysql.sql +78 -0
  26. elasticpot-2.0.1.dev0/elasticpot/data/docs/postgres/README.md +184 -0
  27. elasticpot-2.0.1.dev0/elasticpot/data/docs/postgres/READMEWIN.md +196 -0
  28. elasticpot-2.0.1.dev0/elasticpot/data/docs/postgres/postgres.sql +72 -0
  29. elasticpot-2.0.1.dev0/elasticpot/data/docs/slack/README.md +68 -0
  30. elasticpot-2.0.1.dev0/elasticpot/data/docs/sqlite3/README.md +131 -0
  31. elasticpot-2.0.1.dev0/elasticpot/data/docs/sqlite3/READMEWIN.md +123 -0
  32. elasticpot-2.0.1.dev0/elasticpot/data/docs/sqlite3/sqlite3.sql +70 -0
  33. elasticpot-2.0.1.dev0/elasticpot/data/docs/telegram/README.md +103 -0
  34. elasticpot-2.0.1.dev0/elasticpot/data/etc/honeypot.cfg.base +472 -0
  35. elasticpot-2.0.1.dev0/elasticpot/data/responses/aliases.json +8 -0
  36. elasticpot-2.0.1.dev0/elasticpot/data/responses/banner.json +13 -0
  37. elasticpot-2.0.1.dev0/elasticpot/data/responses/cluster.json +17 -0
  38. elasticpot-2.0.1.dev0/elasticpot/data/responses/clusterstore.json +21 -0
  39. elasticpot-2.0.1.dev0/elasticpot/data/responses/error.json +21 -0
  40. elasticpot-2.0.1.dev0/elasticpot/data/responses/index1long.json +12 -0
  41. elasticpot-2.0.1.dev0/elasticpot/data/responses/index1short.json +3 -0
  42. elasticpot-2.0.1.dev0/elasticpot/data/responses/index2long.json +12 -0
  43. elasticpot-2.0.1.dev0/elasticpot/data/responses/index2short.json +3 -0
  44. elasticpot-2.0.1.dev0/elasticpot/data/responses/indices.txt +2 -0
  45. elasticpot-2.0.1.dev0/elasticpot/data/responses/mapping.json +41 -0
  46. elasticpot-2.0.1.dev0/elasticpot/data/responses/nodes.json +37 -0
  47. elasticpot-2.0.1.dev0/elasticpot/data/responses/nodes2.json +11 -0
  48. elasticpot-2.0.1.dev0/elasticpot/data/responses/nodes2.txt +1 -0
  49. elasticpot-2.0.1.dev0/elasticpot/data/responses/pluginhead.html +33 -0
  50. elasticpot-2.0.1.dev0/elasticpot/data/responses/search.json +25 -0
  51. elasticpot-2.0.1.dev0/elasticpot/data/responses/search2.json +28 -0
  52. elasticpot-2.0.1.dev0/elasticpot/data/responses/settings.json +30 -0
  53. elasticpot-2.0.1.dev0/elasticpot/data/responses/stats1.json +755 -0
  54. elasticpot-2.0.1.dev0/elasticpot/data/responses/stats2.json +163 -0
  55. elasticpot-2.0.1.dev0/elasticpot/data/responses/store.json +47 -0
  56. elasticpot-2.0.1.dev0/elasticpot/data/test/.gitignore +6 -0
  57. elasticpot-2.0.1.dev0/elasticpot/data/test/README.md +36 -0
  58. elasticpot-2.0.1.dev0/elasticpot/data/test/baseline +233 -0
  59. elasticpot-2.0.1.dev0/elasticpot/data/test/test.py +64 -0
  60. elasticpot-2.0.1.dev0/elasticpot/data/test/testurls.txt +39 -0
  61. elasticpot-2.0.1.dev0/elasticpot/honeypot.py +134 -0
  62. elasticpot-2.0.1.dev0/elasticpot.egg-info/PKG-INFO +155 -0
  63. elasticpot-2.0.1.dev0/elasticpot.egg-info/SOURCES.txt +92 -0
  64. elasticpot-2.0.1.dev0/elasticpot.egg-info/dependency_links.txt +1 -0
  65. elasticpot-2.0.1.dev0/elasticpot.egg-info/entry_points.txt +2 -0
  66. elasticpot-2.0.1.dev0/elasticpot.egg-info/requires.txt +155 -0
  67. elasticpot-2.0.1.dev0/elasticpot.egg-info/top_level.txt +3 -0
  68. elasticpot-2.0.1.dev0/honeypot.py +134 -0
  69. elasticpot-2.0.1.dev0/output_plugins/README.md +21 -0
  70. elasticpot-2.0.1.dev0/output_plugins/__init__.py +0 -0
  71. elasticpot-2.0.1.dev0/output_plugins/couch.py +68 -0
  72. elasticpot-2.0.1.dev0/output_plugins/datadog.py +71 -0
  73. elasticpot-2.0.1.dev0/output_plugins/discord.py +121 -0
  74. elasticpot-2.0.1.dev0/output_plugins/elastic.py +137 -0
  75. elasticpot-2.0.1.dev0/output_plugins/hpfeed.py +43 -0
  76. elasticpot-2.0.1.dev0/output_plugins/influx2.py +64 -0
  77. elasticpot-2.0.1.dev0/output_plugins/jsonlog.py +36 -0
  78. elasticpot-2.0.1.dev0/output_plugins/kafka.py +57 -0
  79. elasticpot-2.0.1.dev0/output_plugins/localsyslog.py +65 -0
  80. elasticpot-2.0.1.dev0/output_plugins/mongodb.py +84 -0
  81. elasticpot-2.0.1.dev0/output_plugins/mysql.py +227 -0
  82. elasticpot-2.0.1.dev0/output_plugins/nlcvapi.py +125 -0
  83. elasticpot-2.0.1.dev0/output_plugins/postgres.py +160 -0
  84. elasticpot-2.0.1.dev0/output_plugins/redisdb.py +47 -0
  85. elasticpot-2.0.1.dev0/output_plugins/rethinkdblog.py +46 -0
  86. elasticpot-2.0.1.dev0/output_plugins/slack.py +79 -0
  87. elasticpot-2.0.1.dev0/output_plugins/socketlog.py +40 -0
  88. elasticpot-2.0.1.dev0/output_plugins/sqlite.py +158 -0
  89. elasticpot-2.0.1.dev0/output_plugins/telegram.py +128 -0
  90. elasticpot-2.0.1.dev0/output_plugins/textlog.py +34 -0
  91. elasticpot-2.0.1.dev0/output_plugins/xmpp.py +179 -0
  92. elasticpot-2.0.1.dev0/setup.cfg +7 -0
  93. elasticpot-2.0.1.dev0/setup.py +303 -0
@@ -0,0 +1,154 @@
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.1]
9
+
10
+ ### Added in version 2.0.1
11
+
12
+ * Nothing so far
13
+
14
+ ### Changed in version 2.0.1
15
+
16
+ * Increased the version number
17
+
18
+ ## [2.0.0]
19
+
20
+ ### Added in version 2.0.0
21
+
22
+ * Made the project installable from PyPI
23
+ * `.gitlab-ci.yml` file to scan for secrets
24
+
25
+ ### Changed in version 2.0.0
26
+
27
+ * Increased the version number
28
+ * Got rid of `getlist()`
29
+ * Fixed bugs in the Discord, PostgreSQL, Slack, and Telegram output plugins
30
+ * Better Python 2.x/3.x compatibility
31
+ * Completely rewritten `Dockerfile`, uses hardened images
32
+ * Fixed a typo in `protocol.py`
33
+
34
+ ## [1.0.7]
35
+
36
+ ### Added in version 1.0.7
37
+
38
+ * Blacklist of networks, connections whom whose IP addresses won't be logged
39
+ * Error checking when trying to obtain the external IP address of the honeypot
40
+ * Added a script for testing the honeypot
41
+ * Output plugins for
42
+ * Datadog
43
+ * Discord
44
+ * Kafka
45
+ * NLCV-BAS honeypot data aggregation API
46
+ * Slack
47
+ * Socket
48
+ * Telegram
49
+ * XMPP
50
+
51
+ ### Changed in version 1.0.7
52
+
53
+ * Updated `requirements.txt` to require a non-vulnerable version of Twisted
54
+ * The MySQL plugin uses a database named `elasticpot` by default
55
+ * Use 0 instead of 'NULL' in the MySQL and SQLite3 plugins
56
+ * Fixed a typo in the Docker section of the installation documentation
57
+ * Got rid of the deprecated function `utcfromtimestamp`
58
+
59
+ ## [1.0.6]
60
+
61
+ ### Added in version 1.0.6
62
+
63
+ * syslog output plugin (works on Linux machines only)
64
+
65
+ ### Changed in version 1.0.6
66
+
67
+ * Fixed a link in the file `README.md`
68
+ * Changed the version number in the `Dockerfile`
69
+ * Fixed a couple of bugs in the Influx 2.0 plugin
70
+ * Improved the dependency for the PostgreSQL plugin
71
+ * Fixed an error in the MySQL plugin's error handler
72
+ * Fixed a typo in the change log (yes, again)
73
+
74
+ ## [1.0.5]
75
+
76
+ ### Added in version 1.0.5
77
+
78
+ * PostgreSQL output plugin (with documentation)
79
+ * Documentation for the SQLite3 output plugin
80
+ * Handling some additional Elasticsearch queries
81
+
82
+ ### Changed in version 1.0.5
83
+
84
+ * Fixed a typo in the change log
85
+
86
+ ## [1.0.4]
87
+
88
+ ### Added in version 1.0.4
89
+
90
+ * CouchDB output plugin
91
+ * SQLite3 output plugin
92
+ * Elasticsearch output plugin (ironic, I know)
93
+ * Handling some additional Elasticsearch queries
94
+
95
+ ### Changed in version 1.0.4
96
+
97
+ * The MongoDB plugin was using the MySQL `geoip` setting. Fixed.
98
+ * Made the reading of username- and password-related settings using `raw=True`
99
+ * Minor fixes
100
+
101
+ ## [1.0.3]
102
+
103
+ ### Added in version 1.0.3
104
+
105
+ * MongoDB output plugin
106
+ * Redis database output plugin
107
+ * Rethink database output plugin (not tested!)
108
+ * Influx database (versions 1.7 and earlier only) output plugin (not tested!)
109
+ * Influx 2.0 database (requires Python 3; not tested)
110
+ * Support for the `report_public_ip` config file option
111
+
112
+ ### Changed in version 1.0.3
113
+
114
+ * Minor fixes
115
+ * Fixed a JSON serialization bug when running under Python 3
116
+ * Optimized the MySQL output plugin a bit
117
+ * Improved the settings of future plugins
118
+
119
+ ## [1.0.2]
120
+
121
+ ### Added in version 1.0.2
122
+
123
+ * Text output plugin
124
+ * HPFeeds output plugin
125
+
126
+ ## [1.0.1]
127
+
128
+ ### Added in version 1.0.1
129
+
130
+ * Ability to specify a directory for the response files via the config file or a command-line option
131
+ * Updated the documentation
132
+
133
+ ### Changed in version 1.0.1
134
+
135
+ * Fixed a bug when handling a query containing the substring `alias`
136
+
137
+ ## [1.0.0]
138
+
139
+ ### Added in version 1.0.0
140
+
141
+ * Initial release
142
+ * Implemented the honeypot using the Twisted framework
143
+ * A script for starting, stopping, and restarting the honeypot
144
+ * Config file support
145
+ * Various command-line options
146
+ * HEAD requests are now logged too
147
+ * Output plugin support
148
+ * Output plugin for JSON
149
+ * Output plugin for MySQL
150
+ * Log rotation
151
+ * Emulation of multiple Elasticsearch requests
152
+ * Data-driven responses stored in files
153
+ * Make the script compatible with Python 3.x
154
+ * Rewrote the documentation