go-smb2:用Go编写的SMB23客户端库

时间:2024-05-08 12:31:02
【文件属性】:

文件名称:go-smb2:用Go编写的SMB23客户端库

文件大小:161KB

文件格式:ZIP

更新时间:2024-05-08 12:31:02

go golang smb smb2 Go

smb2 描述 SMB2 / 3客户端实施。 安装 go get github.com/hirochachacha/go-smb2 文献资料 例子 列出共享名称 package main import ( "fmt" "net" "github.com/hirochachacha/go-smb2" ) func main () { conn , err := net . Dial ( "tcp" , "SERVERNAME:445" ) if err != nil { panic ( err ) } defer conn . Close () d := & smb2. Dialer { Initiator : & smb2. NTLMInitiator { User : "USERNAME" , Password : "PASSWORD" ,


【文件预览】:
go-smb2-master
----.travis.yml(337B)
----feature.go(433B)
----kdf_test.go(293B)
----deprecated.go(292B)
----kdf.go(383B)
----initiator.go(2KB)
----smb2.go(804B)
----internal()
--------erref()
--------ntlm()
--------spnego()
--------smb2()
--------utf16le()
--------crypto()
--------msrpc()
----spnego.go(2KB)
----session.go(9KB)
----transport.go(1KB)
----credit.go(1KB)
----example_test.go(892B)
----smb2_test.go(16KB)
----tree_conn.go(2KB)
----errors.go(1KB)
----client_test.go(699B)
----LICENSE(1KB)
----client.go(46KB)
----all.go(4KB)
----path_test.go(1KB)
----.gitignore(373B)
----sign_test.go(1KB)
----.travis()
--------client_conf.json(297B)
--------smb.conf(77B)
----conn.go(16KB)
----go.sum(897B)
----README.md(3KB)
----path.go(2KB)
----go.mod(154B)

网友评论