There was an error while loading. Please reload this page.
1 parent cdcbbfa commit 7b13f6aCopy full SHA for 7b13f6a
hack_the_box/atom/send-payload.py
@@ -80,7 +80,7 @@ def main():
80
print("Payload saved at: " + payload_path)
81
82
#get size of payload
83
- size = subprocess.call('stat -c%s "' + payload_path + '"')
+ size = os.path.getsize(Path(payload_path))
84
print("Size: " + str(size))
85
86
if __name__ == '__main__':
0 commit comments