mirror of
https://github.com/cowrie/cowrie.git
synced 2025-07-01 18:07:27 -04:00
tabs to spaces
This commit is contained in:
@ -47,8 +47,8 @@ class CowrieServer:
|
|||||||
multiple Cowrie connections
|
multiple Cowrie connections
|
||||||
"""
|
"""
|
||||||
def __init__(self, cfg):
|
def __init__(self, cfg):
|
||||||
self.cfg = cfg
|
self.cfg = cfg
|
||||||
self.avatars = []
|
self.avatars = []
|
||||||
self.hostname = self.cfg.get('honeypot', 'hostname')
|
self.hostname = self.cfg.get('honeypot', 'hostname')
|
||||||
pckl = pickle.load(file(cfg.get('honeypot', 'filesystem_file'), 'rb'))
|
pckl = pickle.load(file(cfg.get('honeypot', 'filesystem_file'), 'rb'))
|
||||||
self.fs = fs.HoneyPotFilesystem(pckl,self.cfg)
|
self.fs = fs.HoneyPotFilesystem(pckl,self.cfg)
|
||||||
|
|||||||
Reference in New Issue
Block a user