mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-02-23 07:14:24 +01:00
"IPv4Address.__getitem__ is deprecated. Use attributes instead." (yvesf)
git-svn-id: https://kippo.googlecode.com/svn/trunk@93 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
@@ -139,7 +139,7 @@ class HoneyPotProtocol(recvline.HistoricRecvLine):
|
||||
|
||||
# You are in a maze of twisty little passages, all alike
|
||||
p = self.terminal.transport.session.conn.transport.transport.getPeer()
|
||||
self.clientIP = p[1]
|
||||
self.clientIP = p.host
|
||||
self.logintime = time.time()
|
||||
|
||||
def connectionLost(self, reason):
|
||||
|
||||
Reference in New Issue
Block a user