mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-01-06 07:44:28 +01:00
Fix timestamp issue when gen'ing fs (Issue #83)
This commit is contained in:
@@ -26,7 +26,7 @@ def recurse(root, tree, count = 0):
|
||||
continue
|
||||
|
||||
entry = [name, T_FILE, s.st_uid, s.st_gid, s.st_size, s.st_mode, \
|
||||
int(s.st_ctime), [], None, None]
|
||||
int(s.st_mtime), [], None, None]
|
||||
|
||||
if S_ISLNK(s[ST_MODE]):
|
||||
entry[A_TYPE] = T_LINK
|
||||
|
||||
Reference in New Issue
Block a user