-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reduce code duplication + bug fixes #11
Conversation
* removed duplicate code * added new base class for http servers * moved html template code to files * removed unused code * some refacoring
honeypots/pop3_server.py
Outdated
@@ -65,8 +60,8 @@ def processCommand(self, command: bytes, *args): | |||
"server": "pop3_server", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be _q_s.NAME
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also in line 107
return string.decode() | ||
else: | ||
return str(string) | ||
|
||
def connectionMade(self): | ||
_q_s.logs.info( | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
server should be _q_s.NAME
based on #10 (should be merged first)