diff --git a/python/meterpreter/ext_server_stdapi.py b/python/meterpreter/ext_server_stdapi.py index 87037681..2444cef2 100644 --- a/python/meterpreter/ext_server_stdapi.py +++ b/python/meterpreter/ext_server_stdapi.py @@ -665,15 +665,9 @@ def get_stat_buffer(path): rdev = 0 if hasattr(si, 'st_rdev'): rdev = si.st_rdev - blksize = 0 - if hasattr(si, 'st_blksize'): - blksize = si.st_blksize - blocks = 0 - if hasattr(si, 'st_blocks'): - blocks = si.st_blocks - st_buf = struct.pack('