repo
stringlengths
6
47
file_url
stringlengths
77
269
file_path
stringlengths
5
186
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-07 08:35:43
2026-01-07 08:55:24
truncated
bool
2 classes
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/ienumconnectionpoints/v0/v0.go
msrpc/dcom/mqac/ienumconnectionpoints/v0/v0.go
package ienumconnectionpoints import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" iunknown "github.com/oiweiwei/go-msrpc...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqtransaction/v0/server.go
msrpc/dcom/mqac/imsmqtransaction/v0/server.go
package imsmqtransaction import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" idispatch "github.com/oiweiwei/go-msrpc/msrpc/dcom/oaut/idispatch/v0" ndr "github.com/oiwe...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqtransaction/v0/v0.go
msrpc/dcom/mqac/imsmqtransaction/v0/v0.go
package imsmqtransaction import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" oaut "github.com/oiweiwei/go-msrpc/msrpc/dc...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqqueueinfo4/v0/server.go
msrpc/dcom/mqac/imsmqqueueinfo4/v0/server.go
package imsmqqueueinfo4 import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" idispatch "github.com/oiweiwei/go-msrpc/msrpc/dcom/oaut/idispatch/v0" ndr "github.com/oiwei...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqqueueinfo4/v0/v0.go
msrpc/dcom/mqac/imsmqqueueinfo4/v0/v0.go
package imsmqqueueinfo4 import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" mqac "github.com/oiweiwei/go-msrpc/msrpc/dco...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqqueue/v0/server.go
msrpc/dcom/mqac/imsmqqueue/v0/server.go
package imsmqqueue import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" idispatch "github.com/oiweiwei/go-msrpc/msrpc/dcom/oaut/idispatch/v0" ndr "github.com/oiweiwei/g...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqqueue/v0/v0.go
msrpc/dcom/mqac/imsmqqueue/v0/v0.go
package imsmqqueue import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" mqac "github.com/oiweiwei/go-msrpc/msrpc/dcom/mqa...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqapplication3/v0/server.go
msrpc/dcom/mqac/imsmqapplication3/v0/server.go
package imsmqapplication3 import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" imsmqapplication2 "github.com/oiweiwei/go-msrpc/msrpc/dcom/mqac/imsmqapplication2/v0" ndr...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqapplication3/v0/v0.go
msrpc/dcom/mqac/imsmqapplication3/v0/v0.go
package imsmqapplication3 import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" imsmqapplication2 "github.com/oiweiwei/go-...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqprivateevent/v0/server.go
msrpc/dcom/mqac/imsmqprivateevent/v0/server.go
package imsmqprivateevent import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" idispatch "github.com/oiweiwei/go-msrpc/msrpc/dcom/oaut/idispatch/v0" ndr "github.com/oiw...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqprivateevent/v0/v0.go
msrpc/dcom/mqac/imsmqprivateevent/v0/v0.go
package imsmqprivateevent import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" mqac "github.com/oiweiwei/go-msrpc/msrpc/d...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/iconnectionpoint/v0/server.go
msrpc/dcom/mqac/iconnectionpoint/v0/server.go
package iconnectionpoint import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" iunknown "github.com/oiweiwei/go-msrpc/msrpc/dcom/iunknown/v0" ndr "github.com/oiweiwei/go...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/iconnectionpoint/v0/v0.go
msrpc/dcom/mqac/iconnectionpoint/v0/v0.go
package iconnectionpoint import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" iunknown "github.com/oiweiwei/go-msrpc/msrp...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/client/client.go
msrpc/dcom/mqac/client/client.go
package mqac import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" dcom_client "github.com/oiweiwei/go-msrpc/msrpc/dcom/cl...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqtransactiondispenser2/v0/server.go
msrpc/dcom/mqac/imsmqtransactiondispenser2/v0/server.go
package imsmqtransactiondispenser2 import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" idispatch "github.com/oiweiwei/go-msrpc/msrpc/dcom/oaut/idispatch/v0" ndr "githu...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqtransactiondispenser2/v0/v0.go
msrpc/dcom/mqac/imsmqtransactiondispenser2/v0/v0.go
package imsmqtransactiondispenser2 import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" mqac "github.com/oiweiwei/go-msrp...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqtransactiondispenser3/v0/server.go
msrpc/dcom/mqac/imsmqtransactiondispenser3/v0/server.go
package imsmqtransactiondispenser3 import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" idispatch "github.com/oiweiwei/go-msrpc/msrpc/dcom/oaut/idispatch/v0" ndr "githu...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqtransactiondispenser3/v0/v0.go
msrpc/dcom/mqac/imsmqtransactiondispenser3/v0/v0.go
package imsmqtransactiondispenser3 import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" mqac "github.com/oiweiwei/go-msrp...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqqueueinfos/v0/server.go
msrpc/dcom/mqac/imsmqqueueinfos/v0/server.go
package imsmqqueueinfos import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" idispatch "github.com/oiweiwei/go-msrpc/msrpc/dcom/oaut/idispatch/v0" ndr "github.com/oiwei...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqqueueinfos/v0/v0.go
msrpc/dcom/mqac/imsmqqueueinfos/v0/v0.go
package imsmqqueueinfos import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" mqac "github.com/oiweiwei/go-msrpc/msrpc/dco...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqmessage3/v0/server.go
msrpc/dcom/mqac/imsmqmessage3/v0/server.go
package imsmqmessage3 import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" idispatch "github.com/oiweiwei/go-msrpc/msrpc/dcom/oaut/idispatch/v0" ndr "github.com/oiweiwe...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqmessage3/v0/v0.go
msrpc/dcom/mqac/imsmqmessage3/v0/v0.go
package imsmqmessage3 import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" mqac "github.com/oiweiwei/go-msrpc/msrpc/dcom/...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqmessage4/v0/server.go
msrpc/dcom/mqac/imsmqmessage4/v0/server.go
package imsmqmessage4 import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" idispatch "github.com/oiweiwei/go-msrpc/msrpc/dcom/oaut/idispatch/v0" ndr "github.com/oiweiwe...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqmessage4/v0/v0.go
msrpc/dcom/mqac/imsmqmessage4/v0/v0.go
package imsmqmessage4 import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" mqac "github.com/oiweiwei/go-msrpc/msrpc/dcom/...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqtransactiondispenser/v0/server.go
msrpc/dcom/mqac/imsmqtransactiondispenser/v0/server.go
package imsmqtransactiondispenser import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" idispatch "github.com/oiweiwei/go-msrpc/msrpc/dcom/oaut/idispatch/v0" ndr "github...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqtransactiondispenser/v0/v0.go
msrpc/dcom/mqac/imsmqtransactiondispenser/v0/v0.go
package imsmqtransactiondispenser import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" mqac "github.com/oiweiwei/go-msrpc...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqdestination/v0/server.go
msrpc/dcom/mqac/imsmqdestination/v0/server.go
package imsmqdestination import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" idispatch "github.com/oiweiwei/go-msrpc/msrpc/dcom/oaut/idispatch/v0" ndr "github.com/oiwe...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqdestination/v0/v0.go
msrpc/dcom/mqac/imsmqdestination/v0/v0.go
package imsmqdestination import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" oaut "github.com/oiweiwei/go-msrpc/msrpc/dc...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqqueueinfo/v0/server.go
msrpc/dcom/mqac/imsmqqueueinfo/v0/server.go
package imsmqqueueinfo import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" idispatch "github.com/oiweiwei/go-msrpc/msrpc/dcom/oaut/idispatch/v0" ndr "github.com/oiweiw...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/mqac/imsmqqueueinfo/v0/v0.go
msrpc/dcom/mqac/imsmqqueueinfo/v0/v0.go
package imsmqqueueinfo import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" mqac "github.com/oiweiwei/go-msrpc/msrpc/dcom...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/csra/csra.go
msrpc/dcom/csra/csra.go
// The csra package implements the CSRA client protocol. // // # Introduction // // The Certificate Services Remote Administration Protocol consists of a set of Distributed // Component Object Model (DCOM) interfaces, as specified in [MS-DCOM], that allow administrative // tools to configure the state and policy of a c...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/csra/cert_trans_blob.go
msrpc/dcom/csra/cert_trans_blob.go
package csra import ( "context" "encoding/binary" "fmt" "github.com/oiweiwei/go-msrpc/msrpc/dtyp" "github.com/oiweiwei/go-msrpc/ndr" ) type ColumnType uint32 var ( ColumnTypeSignedInteger ColumnType = 0x00000001 ColumnTypeTimestamp ColumnType = 0x00000002 ColumnTypeBinary ColumnType = 0x00000003 ...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/csra/icertadmind2/v0/server.go
msrpc/dcom/csra/icertadmind2/v0/server.go
package icertadmind2 import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" icertadmind "github.com/oiweiwei/go-msrpc/msrpc/dcom/csra/icertadmind/v0" ndr "github.com/oiwe...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/csra/icertadmind2/v0/v0.go
msrpc/dcom/csra/icertadmind2/v0/v0.go
package icertadmind2 import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" csra "github.com/oiweiwei/go-msrpc/msrpc/dcom/c...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/csra/icertadmind/v0/server.go
msrpc/dcom/csra/icertadmind/v0/server.go
package icertadmind import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" iunknown "github.com/oiweiwei/go-msrpc/msrpc/dcom/iunknown/v0" ndr "github.com/oiweiwei/go-msrp...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/csra/icertadmind/v0/v0.go
msrpc/dcom/csra/icertadmind/v0/v0.go
package icertadmind import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" csra "github.com/oiweiwei/go-msrpc/msrpc/dcom/cs...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/dcom/csra/client/client.go
msrpc/dcom/csra/client/client.go
package csra import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dcom "github.com/oiweiwei/go-msrpc/msrpc/dcom" dcom_client "github.com/oiweiwei/go-msrpc/msrpc/dcom/cl...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/nrpc/nrpc.go
msrpc/nrpc/nrpc.go
// The nrpc package implements the NRPC client protocol. // // # Introduction // // The Netlogon Remote Protocol is a remote procedure call (RPC) interface that is used // for user and machine authentication on domain-based networks. The Netlogon Remote // Protocol RPC interface is also used to replicate the database f...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/nrpc/logon/v1/v1_secure_channel.go
msrpc/nrpc/logon/v1/v1_secure_channel.go
//go:generate go run ./gen/main.go -o v1_secure_channel_wrappers.zz.go package logon import ( "bytes" "context" "crypto/rand" "fmt" "time" "github.com/oiweiwei/go-msrpc/dcerpc" "github.com/oiweiwei/go-msrpc/ssp/gssapi" "github.com/oiweiwei/go-msrpc/ssp/netlogon" ) type LogonSecureChannelClient interface { ...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/nrpc/logon/v1/server.go
msrpc/nrpc/logon/v1/server.go
package logon import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" ndr "github.com/oiweiwei/go-msrpc/ndr" ) var ( _ = context.Background _ = fmt.Errorf _ = utf16.Enc...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/nrpc/logon/v1/v1_secure_channel_wrappers.zz.go
msrpc/nrpc/logon/v1/v1_secure_channel_wrappers.zz.go
package logon import ( "context" "fmt" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" ) func (o *xxx_SecureChannelClient) AccountDeltas(ctx context.Context, in *AccountDeltasRequest, opts ...dcerpc.CallOption) (*AccountDeltasResponse, error) { if in == nil { in = &AccountDeltasRequest{} } if err := o.SetAuth...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/nrpc/logon/v1/v1.go
msrpc/nrpc/logon/v1/v1.go
package logon import ( "context" "fmt" "strings" "unicode/utf16" dcerpc "github.com/oiweiwei/go-msrpc/dcerpc" errors "github.com/oiweiwei/go-msrpc/dcerpc/errors" uuid "github.com/oiweiwei/go-msrpc/midl/uuid" dtyp "github.com/oiweiwei/go-msrpc/msrpc/dtyp" ndr "github.com/oiweiwei/go-msrpc/ndr" ) var ( _ = c...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/msrpc/nrpc/logon/v1/gen/main.go
msrpc/nrpc/logon/v1/gen/main.go
//go:build ignore package main import ( "bytes" "flag" "fmt" "go/format" "os" "reflect" "text/template" "github.com/oiweiwei/go-msrpc/msrpc/nrpc/logon/v1" ) var o string func init() { flag.StringVar(&o, "o", "", "output") flag.Parse() } func main() { cli := reflect.TypeOf(logon.SecureChannel_T) var ...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/ndr20.go
ndr/ndr20.go
package ndr // ndr20.go module contains the implementation of the Network // Data Representation 2.0 (NDR2.0). import ( "context" "fmt" ) type opaque struct{} // Opaque is an NDR option that is used to indicate that // implicit NDR data, like size labels, non-encapsulated switches, // pointer values must be omitt...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/buffer.go
ndr/buffer.go
package ndr import ( "encoding/binary" "io" go_math "math" "sync" "github.com/oiweiwei/go-msrpc/ndr/math" ) // ChunkedBuffer interface is aimed to provide an interface // for reading the data input chunk by chunk thus enabling // capabilities for reusing the same buffer within single // network exchange involvi...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/ndr.go
ndr/ndr.go
// package ndr implements the NDR encoding. package ndr import ( "context" "io" ) // The NDR operation. type Operation interface { // The operation number. OpNum() int // The operation name. OpName() string // The function to marshal the request parameters. MarshalNDRRequest(context.Context, Writer) error //...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/ndr_strings.go
ndr/ndr_strings.go
package ndr import ( "context" "strings" "unicode/utf16" ) func MultiSzLen(s []string) uint64 { l := uint64(len(s)) + 1 for i := range s { l += UTF16Len(s[i]) } return l } // UTF16NLen function ... func UTF16NLen(s string) uint64 { l := len(s) for _, r := range s { if r == 0x0000 { l-- // null-ter...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/ndr_data_representation.go
ndr/ndr_data_representation.go
package ndr import ( "encoding/binary" "github.com/oiweiwei/go-msrpc/ndr/math" ) // The NDR data representation. type DataRepresentation uint32 var ( // The default data representation (ASCII, FloatIEEE, LittleEndian). DefaultDataRepresentation = DataRepresentation(CharASCII | FloatingPointIEEE | ByteOrderLittl...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/hooks.go
ndr/hooks.go
package ndr import "context" // BeforePreparePayloadHook is an interface that defines a hook to be called before // preparing the payload. type BeforePreparePayloadHook interface { BeforePreparePayload(context.Context) error } // AfterPreparePayloadHook is an interface that defines a hook to be called after // prep...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/ndr64.go
ndr/ndr64.go
package ndr import ( "context" "fmt" ) // NDR64 function returns the NDR64 Marshaler/Unmarshaler. func NDR64(buf []byte, opts ...any) NDR { return &ndr64{ ndr20: NDR20(buf, opts...).(*ndr20), } } type ndr64 struct { *ndr20 } func (w *ndr64) WithBytes(b []byte) NDR { return &ndr64{ ndr20: w.ndr20.WithBytes...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/ndr_type_serialization_v1.go
ndr/ndr_type_serialization_v1.go
package ndr import ( "context" ) type CommonHeaderV1 struct { Version uint8 Endianness uint8 CommonHeaderLength uint16 Filler []byte } func (c *CommonHeaderV1) UnmarshalNDR(ctx context.Context, r Reader) error { r.ReadData(&c.Version) r.ReadData(&c.Endianness) r.ReadData(&c.Com...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/math/cray.go
ndr/math/cray.go
package math // Cray machine architecture defines only a double-precision floating-point format. // However, because Cray machines may be required to handle single-precision // floating-point values (for instance, if single-precision values are specified // in an interface definition), NDR defines a single-precision f...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/math/vax.go
ndr/math/vax.go
package math /* VAX Single-precision (F) Floating-point Format +----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+ | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | +----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+ | ...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/math/ibm_test.go
ndr/math/ibm_test.go
package math import ( "github.com/stretchr/testify/assert" "testing" ) const ( cDelta32 = float32(1e-6) cDelta64 = float64(1e-6) ) func TestIBMHexfloat32(t *testing.T) { var ( ret float32 ) for _, testCase := range []float32{ -118.625, 0.1526, 25.34, 25.33, 234566.23, -0.1752, 0.001525, 0....
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/math/vax_test.go
ndr/math/vax_test.go
package math import ( "github.com/stretchr/testify/assert" "testing" ) func TestVaxFFloat32(t *testing.T) { var ( ret float32 ) // source for the test data : https://pubs.usgs.gov/of/2005/1424/ for _, testCase := range []struct { V float32 Ret uint32 }{ {1.000000, 0x00004080}, {-1.000000, 0x0000...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/math/ibm.go
ndr/math/ibm.go
package math import ( "math/bits" ) /* IBM Hexadecimal Single-precision Floating-point Format +----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+ | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | +----+----+----+----+----+----+----+----+----+----+---...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/math/ieee.go
ndr/math/ieee.go
package math import ( "math" ) var ( Float32bits = math.Float32bits Float32frombits = math.Float32frombits Float64bits = math.Float64bits Float64frombits = math.Float64frombits ) const ( IEEE32Excess = 127 IEEE64Excess = 1023 IEEE32Mantissa = 0x007fffff IEEE64Mantissa = 0x000fffffffffffff IEEE32S...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/math/math.go
ndr/math/math.go
package math type FloatFormat interface { Float32bits(float32) uint32 Float32frombits(uint32) float32 Float64bits(float64) uint64 Float64frombits(uint64) float64 } type floatFormat struct { float32bits func(float32) uint32 float32frombits func(uint32) float32 float64bits func(float64) uint64 float64fr...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/ndr/math/cray_test.go
ndr/math/cray_test.go
package math import ( "github.com/stretchr/testify/assert" "testing" ) func TestCrayFloat32(t *testing.T) { var ( ret float32 ) for _, testCase := range []float32{ -118.625, 0.1526, 25.34, 25.33, 234566.23, -0.1752, 0.001525, 0.00023, 0.000215, 0.000015, 123.45, 1e3, 1e-45, } { r...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/dnsp.go
examples/dnsp.go
//go:build exclude // dnsp.go script dumps and print all zones (including cache) from the dns server. package main import ( "context" "flag" "fmt" "os" "strings" "github.com/oiweiwei/go-msrpc/dcerpc" "github.com/oiweiwei/go-msrpc/ndr" "github.com/oiweiwei/go-msrpc/ssp" "github.com/oiweiwei/go-msrpc/ssp/cre...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/wmio.go
examples/wmio.go
//go:build exclude // This example generates the MOF file from the wmio binary data. package main /* for f in data/*.dump; do go run wmio.go -f "$f" > "${f/dump/mof}" && clang-format -i "${f/dump/mof}"; done */ import ( "encoding/hex" "encoding/json" "flag" "fmt" "os" "path/filepath" "runtime" "sort" "stri...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/wmiexec.go
examples/wmiexec.go
//go:build ignore // wmiexec.go is a sample for executing arbitrary WMI class method on the remote machine, examples: // (1) enumerate sub keys on the remote machine, where 2147483650 is HKEY_LOCAL_MACHINE // (see https://learn.microsoft.com/en-us/previous-versions/windows/desktop/regprov/enumkey-method-in-class-stdr...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/wmic_using_client_set.go
examples/wmic_using_client_set.go
//go:build ignore // wmic_using_client_set.go performs the fast wmi queries using optimized wco smart enumeration // performing only one bind per connection. package main import ( "context" "encoding/json" "flag" "fmt" "io" "net" "os" "time" "github.com/rs/zerolog" "github.com/oiweiwei/go-msrpc/ssp" "git...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/rrp.go
examples/rrp.go
//go:build exclude // rrp.go script dumps the windows registry keys on the remote machine (very slowly). // NOTE that SMB cannot use security other than WithInsecure() and WithSeal(). package main import ( "context" "encoding/binary" "encoding/hex" "fmt" "os" "strings" "github.com/oiweiwei/go-msrpc/dcerpc" "...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/epm.go
examples/epm.go
//go:build exclude // epm.go script dumps all interfaces registered on the remote server and also // maps particular endpoints using Map method. package main import ( "context" "encoding/binary" "flag" "fmt" "log" "os" "runtime/pprof" "strings" "github.com/oiweiwei/go-msrpc/dcerpc" "github.com/oiweiwei/go-...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/netlogon.go
examples/netlogon.go
//go:build exclude package main // netlogon.go script gets the domain info from the remote server. import ( "context" "encoding/json" "fmt" "os" "github.com/oiweiwei/go-msrpc/dcerpc" "github.com/oiweiwei/go-msrpc/msrpc/epm/epm/v3" "github.com/oiweiwei/go-msrpc/msrpc/nrpc/logon/v1" "github.com/rs/zerolog" "...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/dcom_urlmon_htafile_exec.go
examples/dcom_urlmon_htafile_exec.go
//go:build exclude // Script to execute HTA file (HTML application) on a remote machine. package main import ( "context" "encoding/binary" "errors" "flag" "fmt" "net" "os" "github.com/oiweiwei/go-msrpc/dcerpc" "github.com/oiweiwei/go-msrpc/midl/uuid" "github.com/oiweiwei/go-msrpc/msrpc/dcom/urlmon" "gith...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/srvsvc_enum_shares.go
examples/srvsvc_enum_shares.go
//go:build exclude package main import ( "context" "encoding/json" "fmt" "os" "github.com/rs/zerolog" "github.com/oiweiwei/go-msrpc/dcerpc" "github.com/oiweiwei/go-msrpc/smb2" "github.com/oiweiwei/go-msrpc/ssp" "github.com/oiweiwei/go-msrpc/ssp/credential" "github.com/oiweiwei/go-msrpc/ssp/gssapi" "gith...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/wmic.go
examples/wmic.go
//go:build ignore // wmic.go performs the fast wmi queries using optimized wco smart enumeration. package main import ( "context" "encoding/json" "flag" "fmt" "io" "net" "os" "time" "github.com/rs/zerolog" "github.com/oiweiwei/go-msrpc/ssp" "github.com/oiweiwei/go-msrpc/ssp/credential" "github.com/oiwei...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/even6.go
examples/even6.go
//go:build exclude // even6.go runs various eventlog6 commands. dump will dump the event log, // chan will list the log channels, publ will list the log publishers and meta will print // all the templates for the given publisher. // // useful links: https://docs.nxlog.co/integrate/windows-eventlog.html package main i...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samr_enumerate_domains.go
examples/samr_enumerate_domains.go
//go:build exclude package main import ( "context" "encoding/json" "errors" "fmt" "io" "os" "time" "github.com/rs/zerolog" "github.com/oiweiwei/go-msrpc/dcerpc" "github.com/oiweiwei/go-msrpc/ssp" "github.com/oiweiwei/go-msrpc/ssp/credential" "github.com/oiweiwei/go-msrpc/ssp/gssapi" "github.com/oiweiw...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/drsr_secrets_dump.go
examples/drsr_secrets_dump.go
//go:build exclude // drsr is a sample for dumping the user credentials using directory service replication: // example: go run drsr.go -names User1,Admin1,COMPUTER1$ package main import ( "context" "encoding/asn1" "encoding/hex" "encoding/json" "flag" "fmt" "net" "os" "strings" "github.com/oiweiwei/go-m...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/netlogon_sec_channel.go
examples/netlogon_sec_channel.go
//go:build exclude // netlogon_sec_channel.go script establishes the secure channel and validates credentials // provided via creds parameter. (specify creds as --creds 'DOMAIN\username%password'). // // NOTE: MACHINE_ACCOUNT_USERNAME, and MACHINE_ACCOUNT_PASSWORD are machine account password acquired while joining //...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samples_with_config/dnsp.go
examples/samples_with_config/dnsp.go
//go:build exclude // dnsp.go script dumps and print all zones (including cache) from the dns server. package main import ( "context" "flag" "fmt" "os" "strings" "github.com/oiweiwei/go-msrpc/dcerpc" "github.com/oiweiwei/go-msrpc/ndr" "github.com/oiweiwei/go-msrpc/ssp/gssapi" config "github.com/oiweiwei/g...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samples_with_config/wmio.go
examples/samples_with_config/wmio.go
//go:build exclude // This example generates the MOF file from the wmio binary data. package main /* for f in data/*.dump; do go run wmio.go -f "$f" > "${f/dump/mof}" && clang-format -i "${f/dump/mof}"; done */ import ( "encoding/hex" "encoding/json" "flag" "fmt" "os" "path/filepath" "runtime" "sort" "stri...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samples_with_config/mgmt.go
examples/samples_with_config/mgmt.go
package main import ( "context" "flag" "fmt" "os" config "github.com/oiweiwei/go-msrpc/config" config_flag "github.com/oiweiwei/go-msrpc/config/flag" "github.com/oiweiwei/go-msrpc/dcerpc" "github.com/oiweiwei/go-msrpc/msrpc/mgmt/mgmt/v1" "github.com/oiweiwei/go-msrpc/msrpc/well_known" "github.com/oiweiwei/g...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samples_with_config/wmiexec.go
examples/samples_with_config/wmiexec.go
//go:build ignore // wmiexec.go is a sample for executing arbitrary WMI class method on the remote machine, examples: // (1) enumerate sub keys on the remote machine, where 2147483650 is HKEY_LOCAL_MACHINE // (see https://learn.microsoft.com/en-us/previous-versions/windows/desktop/regprov/enumkey-method-in-class-stdr...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samples_with_config/wmic_using_client_set.go
examples/samples_with_config/wmic_using_client_set.go
//go:build ignore // wmic_using_client_set.go performs the fast wmi queries using optimized wco smart enumeration // performing only one bind per connection. package main import ( "context" "flag" "fmt" "os" "time" "github.com/oiweiwei/go-msrpc/dcerpc" "github.com/oiweiwei/go-msrpc/ssp/gssapi" config "gith...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samples_with_config/rrp.go
examples/samples_with_config/rrp.go
//go:build exclude // rrp.go script dumps the windows registry keys on the remote machine (very slowly). // NOTE that SMB cannot use security other than WithInsecure() and WithSeal(). package main import ( "context" "encoding/hex" "flag" "fmt" "os" "strings" "github.com/oiweiwei/go-msrpc/dcerpc" config "git...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samples_with_config/epm.go
examples/samples_with_config/epm.go
//go:build exclude // epm.go script dumps all interfaces registered on the remote server and also // maps particular endpoints using Map method. package main import ( "context" "encoding/binary" "flag" "fmt" "os" "regexp" "strings" "github.com/oiweiwei/go-msrpc/midl/uuid" "github.com/oiweiwei/go-msrpc/dcer...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samples_with_config/netlogon.go
examples/samples_with_config/netlogon.go
//go:build exclude package main // netlogon.go script gets the domain info from the remote server. import ( "context" "flag" "fmt" "os" "github.com/oiweiwei/go-msrpc/dcerpc" "github.com/oiweiwei/go-msrpc/ssp/gssapi" config "github.com/oiweiwei/go-msrpc/config" config_flag "github.com/oiweiwei/go-msrpc/conf...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samples_with_config/srvsvc_enum_shares.go
examples/samples_with_config/srvsvc_enum_shares.go
//go:build exclude package main import ( "context" "flag" "fmt" "os" "github.com/oiweiwei/go-msrpc/dcerpc" "github.com/oiweiwei/go-msrpc/ssp/gssapi" config "github.com/oiweiwei/go-msrpc/config" config_flag "github.com/oiweiwei/go-msrpc/config/flag" "github.com/oiweiwei/go-msrpc/msrpc/srvs/srvsvc/v3" _ ...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samples_with_config/wmic.go
examples/samples_with_config/wmic.go
//go:build ignore // wmic.go performs the fast wmi queries using optimized wco smart enumeration. package main import ( "context" "flag" "fmt" "os" "runtime" "time" "github.com/oiweiwei/go-msrpc/dcerpc" "github.com/oiweiwei/go-msrpc/ssp/gssapi" config "github.com/oiweiwei/go-msrpc/config" config_flag "gi...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samples_with_config/even6.go
examples/samples_with_config/even6.go
//go:build exclude // even6.go runs various eventlog6 commands. dump will dump the event log, // chan will list the log channels, publ will list the log publishers and meta will print // all the templates for the given publisher. // // useful links: https://docs.nxlog.co/integrate/windows-eventlog.html package main i...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samples_with_config/samr_enumerate_domains.go
examples/samples_with_config/samr_enumerate_domains.go
//go:build exclude package main import ( "context" "errors" "flag" "fmt" "os" "time" "github.com/oiweiwei/go-msrpc/dcerpc" "github.com/oiweiwei/go-msrpc/ssp/gssapi" config "github.com/oiweiwei/go-msrpc/config" config_flag "github.com/oiweiwei/go-msrpc/config/flag" "github.com/oiweiwei/go-msrpc/msrpc/dty...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samples_with_config/drsr_secrets_dump.go
examples/samples_with_config/drsr_secrets_dump.go
//go:build exclude // drsr is a sample for dumping the user credentials using directory service replication: // example: go run drsr.go -names User1,Admin1,COMPUTER1$ package main import ( "context" "encoding/asn1" "encoding/hex" "flag" "fmt" "os" "github.com/oiweiwei/go-msrpc/midl/uuid" "github.com/oiwei...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samples_with_config/netlogon_sec_channel.go
examples/samples_with_config/netlogon_sec_channel.go
//go:build exclude // netlogon_sec_channel.go script establishes the secure channel and validates credentials // provided via creds parameter. (specify creds as --creds 'DOMAIN\username%password'). // // NOTE: MACHINE_ACCOUNT_USERNAME, and MACHINE_ACCOUNT_PASSWORD are machine account password acquired while joining //...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/samples_with_config/csra_enum_certdb.go
examples/samples_with_config/csra_enum_certdb.go
//go:build ignore // csra_enum_certdb.go performs enumeration of certificate database tables using CSRA interface. // Usage: // // go run csra_enum_certdb.go username%password@ncacn_ip_tcp:dc01.msad.local[privacy] --count=10 --table=req --authority=msad-DC01-CA-1 package main import ( "context" "errors" "flag" "f...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/helpers/nt_hash.go
examples/helpers/nt_hash.go
package main import ( "encoding/binary" "encoding/hex" "flag" "fmt" "unicode/utf16" "golang.org/x/crypto/md4" ) var ( data string ) func init() { flag.StringVar(&data, "d", "input string", "") flag.Parse() } func main() { h := md4.New() binary.Write(h, binary.LittleEndian, utf16.Encode(([]rune)(data))) ...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/helpers/pac.go
examples/helpers/pac.go
package main import ( "bytes" "encoding/base64" "encoding/hex" "encoding/json" "flag" "fmt" "io" "log" "os" "strings" "github.com/oiweiwei/go-msrpc/msrpc/pac" ) var ( format string input string ) func init() { flag.StringVar(&format, "format", "base64", "input format") flag.StringVar(&input, "input"...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/examples/common/common.go
examples/common/common.go
package common import "encoding/json" var J = func(data any) string { b, _ := json.MarshalIndent(data, "", " "); return string(b) }
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/config/config.go
config/config.go
package config import ( "context" "encoding/json" "fmt" "html/template" "net" "os" "strconv" "strings" "time" krb5_config "github.com/oiweiwei/gokrb5.fork/v9/config" "github.com/oiweiwei/gokrb5.fork/v9/iana/etypeID" zerolog "github.com/rs/zerolog" "github.com/oiweiwei/go-msrpc/dcerpc" "github.com/oiwei...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/config/flag/command_line.go
config/flag/command_line.go
package command_line import ( "flag" "os" "github.com/oiweiwei/go-msrpc/config" ) func BindFlags(c *config.Config, flagSet *flag.FlagSet) { flagSet.BoolVar(&c.Debug, "debug", c.Debug, "enable debug output") flagSet.StringVar(&c.Server, "server", c.Server, "server to connect to") flagSet.StringVar(&c.Domain, ...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/text/encoding/utf16le/utf16le.go
text/encoding/utf16le/utf16le.go
package utf16le import ( "golang.org/x/text/encoding" "golang.org/x/text/encoding/unicode" ) var UTF16LE = unicode.UTF16(unicode.LittleEndian, unicode.IgnoreBOM) type UTF16LECodec struct { encoding.Encoding } func NewEncoding() *UTF16LECodec { return &UTF16LECodec{UTF16LE} } func (c *UTF16LECodec) Encode(s str...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/text/encoding/oem/ebcdic.go
text/encoding/oem/ebcdic.go
package oem import ( "github.com/indece-official/go-ebcdic" ) type EBCDIC struct { CodePage int } func (e EBCDIC) Encode(s string) ([]byte, error) { return ebcdic.Encode(s, e.CodePage) } func (e EBCDIC) Decode(b []byte) (string, error) { return ebcdic.Decode(b, e.CodePage) }
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/text/encoding/oem/maketables.go
text/encoding/oem/maketables.go
//go:build ignore package main import ( "bufio" "bytes" "errors" "flag" "fmt" "io" "net/http" "os" "strconv" "strings" "go/format" ) var ( file string ) func init() { flag.StringVar(&file, "o", "", "output") flag.Parse() } var tables = []struct { name string source string }{ { "cp437_DOSLatin...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/text/encoding/oem/charmap.go
text/encoding/oem/charmap.go
package oem import "golang.org/x/text/encoding" type Charmap struct { charmap encoding.Encoding } func (e Charmap) Encode(s string) ([]byte, error) { return e.charmap.NewEncoder().Bytes([]byte(s)) } func (e Charmap) Decode(b []byte) (string, error) { b, err := e.charmap.NewDecoder().Bytes(b) return string(b), e...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/text/encoding/oem/ascii.go
text/encoding/oem/ascii.go
package oem import "unicode" type ascii struct{} const ( asciiReplacementChar = 0x1A ) func (ascii) Encode(s string) ([]byte, error) { runes := []rune(s) b := make([]byte, len(runes)) for i := 0; i < len(b); i++ { if runes[i] > unicode.MaxASCII { b[i] = asciiReplacementChar } else { b[i] = byte(runes[...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/text/encoding/oem/tables.go
text/encoding/oem/tables.go
// Code generated by maketables.go. DO NOT EDIT. package oem // cp437_DOSLatinUS var cp437_DOSLatinUS = [256]rune{ 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, 0x0018, 0x...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
true
oiweiwei/go-msrpc
https://github.com/oiweiwei/go-msrpc/blob/6f89ec8889c9e3408ffdc71c45f01e61ce95ce78/text/encoding/oem/oem.go
text/encoding/oem/oem.go
//go:generate go run ./maketables.go -o tables.go package oem // package oem privdes the set of original equipment manufacturer (OEM) // encoders/decoders. import ( "context" "sync" "golang.org/x/text/encoding/charmap" "golang.org/x/text/encoding/japanese" "golang.org/x/text/encoding/korean" "golang.org/x/tex...
go
MIT
6f89ec8889c9e3408ffdc71c45f01e61ce95ce78
2026-01-07T09:45:59.650381Z
false