0x4d31 / honeyku Goto Github PK
View Code? Open in Web Editor NEWA Heroku-based web honeypot that can be used to create and monitor fake HTTP endpoints (i.e. honeytokens).
License: GNU General Public License v3.0
A Heroku-based web honeypot that can be used to create and monitor fake HTTP endpoints (i.e. honeytokens).
License: GNU General Public License v3.0
i got the following error message:
remote: An error occurred while installing jinja2==2.10.1! Will try again. remote: Installing initially–failed dependencies… remote: Collecting jinja2==2.10.1 remote: Using cached https://files.pythonhosted.org/packages/1d/e7/fd8b501e7a6dfe492a433deb7b9d833d39ca74916fa8bc63dd1a4947a671/Jinja2-2.10.1-py2.py3-none-any.whl remote: remote: THESE PACKAGES DO NOT MATCH THE HASHES FROM Pipfile.lock!. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them. remote: jinja2==2.10.1 from https://files.pythonhosted.org/packages/1d/e7/fd8b501e7a6dfe492a433deb7b9d833d39ca74916fa8bc63dd1a4947a671/Jinja2-2.10.1-py2.py3-none-any.whl#sha256=14dd6caf1527abb21f08f86c784eac40853ba93edb79552aa1e4b8aef1b61c7b (from -r /tmp/pipenv-csi7bksj-requirements/pipenv-2d3741ik-requirement.txt (line 1)): remote: Expected sha256 74c935a1b8bb9a3947c50a54766a969d4846290e1e788ea44c1392163723c3bd remote: Expected or f84be1bb0040caca4cea721fcbbbbd61f9be9464ca236387158b0feea01914a4 remote: Got 14dd6caf1527abb21f08f86c784eac40853ba93edb79552aa1e4b8aef1b61c7b remote: remote: You are using pip version 9.0.2, however version 19.1.1 is available. remote: You should consider upgrading via the 'pip install --upgrade pip' command. remote: remote: ! Push rejected, failed to compile Python app. remote: remote: ! Push failed remote: Verifying deploy... remote:
how can i resolve it?
I deploy this honeypot in a docker https://hub.docker.com/r/dickeyxxx/heroku-cli/
docker pull dickeyxxx/heroku-cli:latest
I get an error when I try and load it on heroku. Any pointers? (edit: I have not changed anything in config.json
)
Full error message:
2019-01-08T20:37:06.280527+00:00 app[web.1]: [2019-01-08 20:37:06,275] ERROR in app: Exception on / [GET]
2019-01-08T20:37:06.280552+00:00 app[web.1]: Traceback (most recent call last):
2019-01-08T20:37:06.280555+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app
2019-01-08T20:37:06.280557+00:00 app[web.1]: response = self.full_dispatch_request()
2019-01-08T20:37:06.280559+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
2019-01-08T20:37:06.280561+00:00 app[web.1]: rv = self.handle_user_exception(e)
2019-01-08T20:37:06.280563+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1718, in handle_user_exception
2019-01-08T20:37:06.280565+00:00 app[web.1]: reraise(exc_type, exc_value, tb)
2019-01-08T20:37:06.280566+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise
2019-01-08T20:37:06.280568+00:00 app[web.1]: raise value
2019-01-08T20:37:06.280570+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
2019-01-08T20:37:06.280571+00:00 app[web.1]: rv = self.dispatch_request()
2019-01-08T20:37:06.280573+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
2019-01-08T20:37:06.280574+00:00 app[web.1]: return self.view_functions[rule.endpoint](**req.view_args)
2019-01-08T20:37:06.280576+00:00 app[web.1]: File "/app/honeyku.py", line 51, in catch_all
2019-01-08T20:37:06.280579+00:00 app[web.1]: if request.path in config['traps'] and request.path != "/favicon.ico":
2019-01-08T20:37:06.282093+00:00 app[web.1]: TypeError: 'NoneType' object is not subscriptable
2019-01-08T20:37:06.285941+00:00 app[web.1]: 10.45.34.88 - - [08/Jan/2019:20:37:06 +0000] "GET / HTTP/1.1" 500 291 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.