windows-server-2012 – 如何确定SMB客户端是否已从我的Windows
有没有办法从我的
Windows 2012 Server中找到客户端是否建立了
signed communication?
Net Session给出了基本的细节,但没有说明签名. C:&;net session a.b.c.d User name Administrator Computer a.b.c.d Guest logon No Client type Sess time 00:08:02 Idle time 00:07:50 Share name Type # Opens -------------------------------------- test Disk 0 The command completed successfully. 是否有任何Powershell cmdlet或任何提供此类信息的管理工具或命令?提前致谢. 编辑1: PS C:UsersAdministrator> Get-SmbConnection | Select-Object -Property * ContinuouslyAvailable : False Credential : domainadministrator Dialect : 3.00 Encrypted : False NumOpens : 3 ServerName : server1 ShareName : test UserName : SERVER1Administrator PSComputerName : CimClass : ROOT/Microsoft/Windows/SMB:MSFT_SmbConnection CimInstanceProperties : {ContinuouslyAvailable,Credential,Dialect,Encrypted...} CimSystemProperties : Microsoft.Management.Infrastructure.CimSystemProperties
截至撰写本文时,确切知道这一点的唯一方法是观察通过Wireshark或网络监视器协商的网络连接.
现在,没有任何内容通过API,WMI类等公开这些数据. Get-SMBConnection Powershell cmdlet将在未来为您提供此信息,但不是今天. cmdlet只是MSFT_SmbConnection WMI类的包装器. Get-WmiObject -Namespace 'RootMicrosoftWindowsSMB' MSFT_SmbConnection 返回完全相同的信息.如果您为该WMI类读取the MSDN documentation,您将看到除了您今天看到的Encrypted属性之外,该文档还列出了Signed属性. class MSFT_SmbConnection { string ServerName; string ShareName; string UserName; uint32 SmbInstance; string Credential; uint64 NumOpens; string Dialect; boolean ContinuouslyAvailable; boolean Encrypted; boolean EnableLoadBalanceScaleOut; boolean Signed; // ^_^ *trollface* }; 然后文档继续说:
Windows 10预览是它首次显示的时间.所以你有它. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- 使用MinGW在Windows上编译小型Gcc项目
- iis – 启动本地azure项目时,调试器无法连接
- 如何使我的.net,WPF,WinForms等应用程序在ARM驱动的Windows
- Windows软件部署和修补工具
- 禁止远程修改注册表
- windows-server-2008 – 事件36887 schannel收到以下致命警
- microsoft-forefront-2010 – Forefront UAG与Server 2012直
- Windows 10 + kali Linux 双系统安装教程(详细版)
- windows – 有谁知道powershell证书提供程序路径如何映射到
- windows – 为同一DC中的机器添加路径
- Windows – Git Push To Remote Server使用Cygwi
- 是否可以在Windows中执行Objective-C程序?
- .net – 在Windows CE 6.0和Windows Mobile 6.1下
- windows-server-2003 – 写读错误,Raid1恢复?
- windows环境下pgsql的安装与使用
- Windows-runtime – WinRT中的MAX_PATH
- Windows 分层窗口 桌面上透明 Direct3D
- windows-10 – 无法连接虚拟设备sata0:1,因为主
- Windows安装Vue开发环境
- 如何截取屏幕截图并将其保存为Windows上的JPEG?