mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-20 15:34:22 +01:00
Fix for something I don't remember
git-svn-id: https://kippo.googlecode.com/svn/trunk@164 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
@@ -96,6 +96,8 @@ class HoneyPotFilesystem(object):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
def getfile(self, path):
|
def getfile(self, path):
|
||||||
|
if path == '/':
|
||||||
|
return self.fs
|
||||||
pieces = path.strip('/').split('/')
|
pieces = path.strip('/').split('/')
|
||||||
p = self.fs
|
p = self.fs
|
||||||
while 1:
|
while 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user