mirror of https://github.com/cowrie/cowrie.git
Fix timestamp issue when gen'ing fs (Issue #83)
This commit is contained in:
parent
3fbf21dc5c
commit
9d5930e109
|
@ -26,7 +26,7 @@ def recurse(root, tree, count = 0):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
entry = [name, T_FILE, s.st_uid, s.st_gid, s.st_size, s.st_mode, \
|
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]):
|
if S_ISLNK(s[ST_MODE]):
|
||||||
entry[A_TYPE] = T_LINK
|
entry[A_TYPE] = T_LINK
|
||||||
|
|
Loading…
Reference in New Issue