mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 05:54:21 +01:00
bytes
This commit is contained in:
@@ -382,7 +382,7 @@ class HoneyPotShell(object):
|
||||
|
||||
# Example: [root@svr03 ~]# (More of a "CentOS" feel)
|
||||
# Example: root@svr03:~# (More of a "Debian" feel)
|
||||
prompt = self.protocol.user.username.encode()+'@'+self.protocol.hostname.encode()+':'+cwd.encode()
|
||||
prompt = self.protocol.user.username.encode()+b'@'+self.protocol.hostname.encode()+b':'+cwd.encode()
|
||||
if not self.protocol.user.uid:
|
||||
prompt += b'# ' # "Root" user
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user