This commit is contained in:
Michel Oosterhof 2018-07-28 19:56:37 +04:00
parent 482abffa3b
commit 4d0d3194d7
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@ class HoneyPotBaseProtocol(insults.TerminalProtocol, TimeoutMixin):
except:
self.clientIP = self.realClientIP
# Source IP of server in user visible reports (can be fake or real)
if CONFIG.has_option('honeypot', 'internet_facing_ip'):
self.kippoIP = CONFIG.get('honeypot', 'internet_facing_ip')
else:
@ -138,6 +139,7 @@ class HoneyPotBaseProtocol(insults.TerminalProtocol, TimeoutMixin):
self.user = None
self.environ = None
def txtcmd(self, txt):
"""
"""