当前位置:   article > 正文

smbexec的使用(c$共享)_smb sessionerror: status_bad_network_name({network

smb sessionerror: status_bad_network_name({network name not found} the speci

目录

Impacket中的smbexec.py


smbexec可以通过文件共享在运程系统中执行命令。对方主机需要开启 c$ 共享,依赖于445端口。

如果对方没开启445端口,则报如下错:

[-] [Errno Connection error (xx.xx.xx.xx:445)] [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝 试失败。

如果对方开启了445端口,但是没有开启C$共享,则报如下错:

[-] SMB SessionError: STATUS_BAD_NETWORK_NAME({Network Name Not Found} The specified share name cannot be found on the remote server.)

本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/小小林熬夜学编程/article/detail/182595
推荐阅读
相关标签
  

闽ICP备14008679号