mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-02-19 21:34:31 +01:00
Fix userdb to support passwords containing the ':' character
git-svn-id: https://kippo.googlecode.com/svn/trunk@197 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
@@ -30,7 +30,7 @@ class UserDB:
|
||||
if not line:
|
||||
continue
|
||||
|
||||
(login, uid_str, passwd) = string.split(line, ':')
|
||||
(login, uid_str, passwd) = line.split(':', 2)
|
||||
|
||||
uid = 0
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user