Giter Club home page Giter Club logo

honeyhttpd's People

Contributors

bocajspear1 avatar lemyst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

honeyhttpd's Issues

No log file appearing

Hello,
I am trying to implement the honeypot but no log files are created. FileLogger is "true", so files should be generated if I am right. I have given the user sudo permissions but nothing changes. Help would be appreciated

elasticsearch problem

hello,
i was trying to write the logs on an elasticsearch index and i'm getting this error? (my es version is 6.8.23)

es = Elasticsearch(self.__server, use_ssl=self.__use_ssl, verify_certs=self.__verify_certs)
Honeypot python3[1274782]: TypeError: Elasticsearch.init() got an unexpected keyword argument 'use_ssl

TypeError: unhashable type: 'list'

Tested on Ubuntu 16.04 with Python 2 and 3. Starts up just fine but when you visit the webpage there are errors. I've found two depending on the URI used. Above each error is a printout of self.responses[code].

('Upgrade Required', "The requested resource can only be retrieved\nusing SSL. The server is willing to upgrade the current\nconnection to SSL, but your client doesn't support it.\nEither upgrade your client, or try requesting the page\nusing https://\n")


Exception happened during processing of request from ('127.0.0.1', 41708)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 290, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 318, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 652, in init
self.handle()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
method()
File "/home/sigops/honeyhttpd/honeyhttpd/lib/server.py", line 131, in do_GET
res_headers, res_data = self.send_error(code, data)
File "/home/sigops/honeyhttpd/honeyhttpd/lib/server.py", line 56, in send_error
desc_template = Template(self.responses[code][0])
TypeError: unhashable type: 'list'

127.0.0.1 - - [22/May/2018 08:32:21] "GET /index.html HTTP/1.1" 200 -

Exception happened during processing of request from ('127.0.0.1', 41710)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 290, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 318, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 652, in init
self.handle()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
method()
File "/home/sigops/honeyhttpd/honeyhttpd/lib/server.py", line 135, in do_GET
self.on_complete(self.client_address, code, req_headers, res_headers, self.get_raw_request(), res_data)
File "/home/sigops/honeyhttpd/honeyhttpd/lib/server.py", line 409, in on_complete
raise NotImplementedError
NotImplementedError

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.