From 6bbe7e270aba5fd1890bd30707542c2df13da5d9 Mon Sep 17 00:00:00 2001 From: Adrien MALINGREY Date: Tue, 22 Oct 2024 15:55:40 +0200 Subject: [PATCH] return to bin.pack --- smb-shares-size.nse | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smb-shares-size.nse b/smb-shares-size.nse index 3e08504..68fc3c0 100644 --- a/smb-shares-size.nse +++ b/smb-shares-size.nse @@ -28,7 +28,7 @@ local stdnse = require "stdnse" local smb = require "smb" local smb2 = require "smb2" local msrpc = require "msrpc" -local string = require "string" +local bin = require "bin" action = function(host) local status, shares, extra @@ -76,7 +76,7 @@ function get_share_info(host, share) stdnse.debug1("SMB: Getting information for share: %s", path) - local status, err = send_transaction2(smbstate, TRANS2_QUERY_FS_INFORMATION, string.pack("