mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 22:14:19 +01:00
Switch from uuid1 to uuid4. uuid4 does not leak ip address
This commit is contained in:
@@ -54,7 +54,7 @@ class DBLogger(dblog.DBLogger):
|
||||
d.addErrback(self.sqlerror)
|
||||
|
||||
def createSession(self, peerIP, peerPort, hostIP, hostPort):
|
||||
sid = uuid.uuid1().hex
|
||||
sid = uuid.uuid4().hex
|
||||
self.createSessionWhenever(sid, peerIP, hostIP)
|
||||
return sid
|
||||
|
||||
|
||||
Reference in New Issue
Block a user