From 80aa96429410c13a26cb0618217ff8f4f0ba8c42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Notin?= Date: Mon, 4 Feb 2019 11:46:08 +0100 Subject: [PATCH] FindSMB2UPTime: properly deal with servers not disclosing their boot time --- tools/FindSMB2UPTime.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/FindSMB2UPTime.py b/tools/FindSMB2UPTime.py index c39cce5..d912cca 100755 --- a/tools/FindSMB2UPTime.py +++ b/tools/FindSMB2UPTime.py @@ -25,12 +25,18 @@ from packets import SMBHeaderReq, SMB2NegoReq, SMB2NegoDataReq def GetBootTime(data): Filetime = int(struct.unpack('