From 709df2c6e18ec2fa6647fdaaa4d9f9e2cb7920f8 Mon Sep 17 00:00:00 2001 From: requin Date: Mon, 31 Oct 2022 17:31:16 +0100 Subject: [PATCH] add hostname on smbv2 scan result --- tools/RunFinger.py | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/tools/RunFinger.py b/tools/RunFinger.py index 869928f..d0a6474 100755 --- a/tools/RunFinger.py +++ b/tools/RunFinger.py @@ -104,7 +104,7 @@ def ParseNegotiateSMB2Ans(data): if data[4:8] == b"\xfeSMB": return True else: - return False + return False def SMB2SigningMandatory(data): global SMB2signing @@ -130,8 +130,8 @@ def WorkstationFingerPrint(data): def GetOsBuildNumber(data): ProductBuild = struct.unpack("