{"id":36872138,"url":"https://github.com/oiweiwei/go-msrpc","last_synced_at":"2026-01-16T17:45:04.452Z","repository":{"id":237332848,"uuid":"794195308","full_name":"oiweiwei/go-msrpc","owner":"oiweiwei","description":"The DCE/RPC / MS-RPC Codegen/Client for Go","archived":false,"fork":false,"pushed_at":"2025-12-14T19:00:56.000Z","size":28093,"stargazers_count":134,"open_issues_count":3,"forks_count":20,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-12-17T06:28:44.369Z","etag":null,"topics":["binxml","dcerpc","dcom","eventlog","golang","impacket","kerberos","linux","midl","mof","msrpc","ndr","netlogon","ntlm","winreg","wmi"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oiweiwei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-30T16:32:29.000Z","updated_at":"2025-12-14T19:01:00.000Z","dependencies_parsed_at":"2025-10-06T18:24:47.563Z","dependency_job_id":"66ed0a2e-5ffa-4662-b353-8a9dd8512b0f","html_url":"https://github.com/oiweiwei/go-msrpc","commit_stats":null,"previous_names":["oiweiwei/go-msrpc"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/oiweiwei/go-msrpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oiweiwei%2Fgo-msrpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oiweiwei%2Fgo-msrpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oiweiwei%2Fgo-msrpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oiweiwei%2Fgo-msrpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oiweiwei","download_url":"https://codeload.github.com/oiweiwei/go-msrpc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oiweiwei%2Fgo-msrpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28340416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["binxml","dcerpc","dcom","eventlog","golang","impacket","kerberos","linux","midl","mof","msrpc","ndr","netlogon","ntlm","winreg","wmi"],"created_at":"2026-01-12T15:02:26.529Z","updated_at":"2026-01-12T15:02:26.592Z","avatar_url":"https://github.com/oiweiwei.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MS-RPC IDL Parser/Codegen for Go / MS-RPC/DCOM Client\n\nThe IDL parser for the [Microsoft Extension](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-rpce/290c38b1-92fe-4229-91e6-4fc376610c15) of the [C706: DCE/RPC 1.1](http://www.dcerpc.org/documentation/).\n\nThe client stub generator for many [MSRPC](./msrpc) / [DCOM](./msrpc/dcom) services including (but not limited to - see complete list below)\n[Netlogon](./msrpc/nrpc), [Windows Registry](./msrpc/rrp), [Eventlog](./msrpc/even6), [DCOM (OXID resolver)](./msrpc/dcom), [WMI](./msrpc/dcom/wmi) ([query](./examples/wmic.go) and [method exec](./examples/wmiexec.go)) support.\n\n## Usage\n\n### Codegen\n\nFor codegeneration, run `make all` to regenerate all sources, or `make nrpc.go` to regenerate specific IDL.\n\nTo onboard new file (example.idl), add it to corresponding folder (`idl/`, or for DCOM `idl/dcom/`), update Makefile `all` target with `all.go` file.\n\n### Examples\n\nSee [examples/samples_with_config](./examples/samples_with_config) and [msrpc](./msrpc/doc.go) package documentation.\n\n```sh\n# run using string binding extension.\ngo run examples/samples_with_config/dnsp.go Administrator%P@ssw0rd@ncacn_ip_tcp:dc01.msad.local[privacy,spnego,krb5]\n\ngo run examples/samples_with_config/wmic.go Administrator%P@ssw0rd@ncacn_ip_tcp:dc01.msad.local[privacy,spnego,krb5] \\\n    --query \"SELECT * FROM Win32_ComputerSystem\"\n\n# same as above, but using command-line args\ngo run examples/samples_with_config/dnsp.go \\\n    --username=Administrator \\\n    --domain=MSAD.LOCAL \\\n    --password=P@ssw0rd \\\n    --auth-level=privacy \\\n    --auth-spnego \\\n    --auth-type=krb5 \\\n    --server=dc01.msad.local\n```\n\n### Examples (Old)\n\nSee [examples](./examples) and [dcerpc](./dcerpc/doc.go) package documentation.\n\nExamples rely on following environment variables:\n\n| Name | Description | Example |\n| ---- | ----------- | ------- |\n| **USERNAME** | The Domain\\Username | `\"MSAD2.COM\\User\"` |\n| **PASSWORD** | The password | `\"password\"` |\n| **PASSWORD_MD4** | The password hash (use [go run examples/helpers/nt_hash.go -d $PASSWORD](./examples/helpers/nt_hash.go) to generate the hash) | `\"f077ca4b7d73486a45e75dcdd74cd5bd\"` |\n| **WORKSTATION** | The workstation name | `\"Ubuntu\"` |\n| **SERVER** | The server FQDN or IP | `\"192.168.0.22\"` |\n| **SERVER_NAME** | The server NetBIOS name | `\"WIN2019\"` |\n| **SERVER_HOST** | The server FQDN | `\"my-server.win2019.com\"` |\n| **SAM_USERNAME** | The machine account name (see [examples/netlogon_sec_channel.go](./examples/netlogon_sec_channel.go)) | `\"COMPUTER$\"` |\n| **SAM_PASSWORD** | The machine account password (see [examples/netlogon_sec_channel.go](./examples/netlogon_sec_channel.go)) | `\"password\"` |\n| **SAM_WORKSTATION** | The machine account workstation name | `\"COMPUTER\"` |\n| **TARGET** | The target name (SPN) for kerberos. | `\"host/my-server.win2019.com\"` |\n| **KRB5_CONFIG** | The kerberos config path. | `\"/path/to/krb5.conf\"` |\n\n## Features\n\n### Connection-oriented DCE/RPC v5 client implementation\n\nThe library implements the CO RPC v5 (`dcerpc` package) with following features:\n\n * Transfer Syntax NDR2.0 and NDR64\n\n * CO transport over Named Pipe (SMB2/3) and TCP.\n\n * Connection Multiplexing: multiple clients over single connection\n\n * Multiple Connection per Association Group: ability to use context handles\n   from one connection on another, flexibility in arranging the\n   clients-per-connection-per-association\n\n * Verification Trailer: ability to add verification trailer to the request\n   payload\n\n * Kerberos, Netlogon, NTLM, SPNEGO Authentication\n\n * Endpoint mapper / string binding support\n\n * DCOM basic support\n\n * Eventlog BinXML parser\n\n * WMIO object unmarshaler / marshaler.\n\n### MS-RPCE Extensions\n\nThe library implements some of the extensions defined in MS-RPCE document:\n\n * Security Context Multiplexing: ability to create multiple security contexts\n   over the same logical connection.\n\n * Bind-time Feature Negotiation: (actually not a feature).\n\n * Header Signing: (legacy thing)\n\n * NDR64\n\n### GSS-API / SSP Client Side\n\nThe library contains the GSS-API interface definitions. (`ssp/gssapi`)\n\nThe library contains the `ssp` package which has an implementation for the\nvarious security service providers, like Kerberos, NTLM, Netlogon (Secure Channel),\nSPNEGO.\n\nThe kerberos implementation is based on the [jcmturner/gokrb5 fork](https://github.com/oiweiwei/gokrb5.fork/tree/master/v9).\nAny changes or feature requests should be addressed there.\n\n * GSSAPI interface implementation including Wrap/GetMic-Ex-methods defined in Microsoft\n   documentation\n\n * Kerberos:\n\n    * Supported Encryption Types:\n\n        * RC4-HMAC\n\n        * DES-CBC-MD5\n\n        * DES-CBC-CRC\n\n        * AES128-CTS-HMAC-SHA1\n\n        * AES256-CTS-HMAC-SHA1\n\n    * DCE Style AP Request and AP Reply\n\n    * Mutual and Non-mutual Authn\n\n * NTLM\n\n    * Supported Versions: NTLMv1, NTLMv2\n\n * Netlogon:\n\n    * Supported Encryption Types:\n\n        * RC4-HMAC\n\n        * AES-SHA2\n\n * SPNEGO:\n\n    * Supported Mech List MIC\n\n    * Supported NegTokenInit2\n\n### SMB2 Client\n\nThe SMB2 client implementation is based on the [hirochachacha/go-smb2 fork](https://github.com/oiweiwei/go-smb2.fork).\nAny changes or feature requests should be addressed there.\n\nThe set of changes includes:\n\n  * SMB2 Force-Encryption Support\n\n  * Integration with ssp/gssapi for Kerberos/NTLM authentication.\n\n  * Fix for `NT_STATUS_PENDING` error\n\n  * Keying material export (Application Key, Session Key)\n\n## Generated Stubs\n\n| Code | Description | Package |\n| ------- | -------- | ------- |\n| [MS-ADTS](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-adts) | Active Directory Technical Specification: Claims | [github.com/oiweiwei/go-msrpc/msrpc/adts](./msrpc/adts) |\n| [MS-BKRP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-bkrp) | BackupKey Remote Protocol | [github.com/oiweiwei/msrpc/bkrp](./msrpc/bkrp) |\n| [MS-BPAU](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-bpau) | Background Intelligent Transfer Service (BITS) Peer-Caching: Peer Authentication Protocol | [github.com/oiweiwei/msrpc/bpau](./msrpc/bpau) |\n| [MS-BRWSA](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-brwsa) | Common Internet File System (CIFS) Browser Auxiliary Protocol | [github.com/oiweiwei/msrpc/brwsa](./msrpc/brwsa) |\n| [MS-CAPR](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-capr) | Central Access Policy Identifier (ID) Retrieval Protocol | [github.com/oiweiwei/msrpc/capr](./msrpc/capr) |\n| [MS-CMPO](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-cmpo) | MSDTC Connection Manager: OleTx Transports Protocol | [github.com/oiweiwei/msrpc/cmpo](./msrpc/cmpo) |\n| [MS-CMRP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-cmrp) | Failover Cluster: Management API (ClusAPI) Protocol | [github.com/oiweiwei/msrpc/cmrp](./msrpc/cmrp) |\n| [MS-DFSNM](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-dfsnm) | Distributed File System (DFS): Namespace Management Protocol | [github.com/oiweiwei/msrpc/dfsnm](./msrpc/dfsnm) |\n| [MS-DHCPM](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-dhcpm) | Microsoft Dynamic Host Configuration Protocol (DHCP) Server Management Protocol | [github.com/oiweiwei/msrpc/dhcpm](./msrpc/dhcpm) |\n| [MS-DLTM](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-dltm) | Distributed Link Tracking: Central Manager Protocol | [github.com/oiweiwei/msrpc/dltm](./msrpc/dltm) |\n| [MS-DLTW](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-dltw) | Distributed Link Tracking: Workstation Protocol | [github.com/oiweiwei/msrpc/dltw](./msrpc/dltw) |\n| [MS-DNSP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-dnsp) | Domain Name Service (DNS) Server Management ProtocolDomain Name Service (DNS) Server Management Protocol | [github.com/oiweiwei/msrpc/dnsp](./msrpc/dnsp) |\n| [MS-DRSR](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-drsr) | Directory Replication Service (DRS) Remote Protocol | [github.com/oiweiwei/msrpc/drsr](./msrpc/drsr) |\n| [MS-DSSP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-dssp) | Directory Services Setup Remote Protocol | [github.com/oiweiwei/msrpc/dssp](./msrpc/dssp) |\n| [MS-DTYP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-dtyp) | Windows Data Types | [github.com/oiweiwei/msrpc/dtyp](./msrpc/dtyp) |\n| [MS-EERR](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-eerr) | ExtendedError Remote Data Structure | [github.com/oiweiwei/msrpc/eerr](./msrpc/eerr) |\n| [MS-EFSR](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-efsr) | Encrypting File System Remote (EFSRPC) Protocol | [github.com/oiweiwei/msrpc/efsr](./msrpc/efsr) |\n| [MS-ERREF](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-erref) | Windows Error Codes | [github.com/oiweiwei/msrpc/erref](./msrpc/erref) |\n| [MS-EVEN6-BINXML](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-even6/c73573ae-1c90-43a2-a65f-ad7501155956) | BinXml encodes an XML document so that the original XML text can be correctly reproduced from the encoding. | [github.com/oiweiwei/msrpc/binxml](./msrpc/binxml) |\n| [MS-EVEN6](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-even6) | EventLog Remoting Protocol Version 6.0 | [github.com/oiweiwei/msrpc/even6](./msrpc/even6) |\n| [MS-EVEN](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-even) | EventLog Remoting Protocol | [github.com/oiweiwei/msrpc/even](./msrpc/even) |\n| [MS-FASP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fasp) | Firewall and Advanced Security Protocol | [github.com/oiweiwei/msrpc/fasp](./msrpc/fasp) |\n| [MS-FAX](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fax) | Fax Server and Client Remote Protocol | [github.com/oiweiwei/msrpc/fax](./msrpc/fax) |\n| [MS-FRS1](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-frs1) | File Replication Service (FRS) Remote Protocol | [github.com/oiweiwei/msrpc/frs1](./msrpc/frs1) |\n| [MS-FSR2](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-frs2) | File Replication Service (FRS) Remote Protocol Version 2 | [github.com/oiweiwei/msrpc/frs2](./msrpc/frs2) |\n| [MS-ICPR](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-icpr) | ICertPassage Remote Protocol | [github.com/oiweiwei/msrpc/icpr](./msrpc/icpr) |\n| [MS-IRP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-irp) | Internet Information Services (IIS) Inetinfo Remote Protocol | [github.com/oiweiwei/msrpc/irp](./msrpc/irp) |\n| [MS-LREC](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-lrec) | Live Remote Event Capture (LREC) Protocol | [github.com/oiweiwei/msrpc/lrec](./msrpc/lrec) |\n| [MS-LSAD](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-lsad) | Local Security Authority (Domain Policy) Remote Protocol | [github.com/oiweiwei/msrpc/lsad](./msrpc/lsad) |\n| [MS-LSAT](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-lsat) | Local Security Authority (Translation Methods) Remote Protocol | [github.com/oiweiwei/msrpc/lsat](./msrpc/lsat) |\n| [MS-MQDS](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-mqds) | Message Queuing (MSMQ): Directory Service Protocol | [github.com/oiweiwei/msrpc/mqds](./msrpc/mqds) |\n| [MS-MQMP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-mqmp) | Message Queuing (MSMQ): Queue Manager Client Protocol | [github.com/oiweiwei/msrpc/mqmp](./msrpc/mqmp) |\n| [MS-MQMQ](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-mqmq) | Message Queuing (MSMQ): Data Structures | [github.com/oiweiwei/msrpc/mqmq](./msrpc/mqmq) |\n| [MS-MQMR](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-mqmr) | Message Queuing (MSMQ): Queue Manager Management Protocol | [github.com/oiweiwei/msrpc/mqmr](./msrpc/mqmr) |\n| [MS-MQQP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-mqqp) | Message Queuing (MSMQ): Queue Manager to Queue Manager Protocol | [github.com/oiweiwei/msrpc/mqqp](./msrpc/mqqp) |\n| [MS-MQRR](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-mqrr) | Message Queuing (MSMQ): Queue Manager Remote Read Protocol | [github.com/oiweiwei/msrpc/mqrr](./msrpc/mqrr) |\n| [MS-MSRP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-msrp) | Messenger Service Remote Protocol | [github.com/oiweiwei/msrpc/msrp](./msrpc/msrp) |\n| [MS-NEGOEX](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-negoex) | SPNEGO Extended Negotiation (NEGOEX) Security Mechanism | [github.com/oiweiwei/msrpc/negoex](./msrpc/negoex) |\n| [MS-NRPC-SECCHANNEL](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-nrpc/fb50db72-7f71-478d-a180-12eb0ca3b36b) | Secure Channel Establishment and Maintenance | [github.com/oiweiwei/msrpc/nrpc](./msrpc/nrpc) |\n| [MS-NRPC](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-nrpc) | Netlogon Remote Protocol | [github.com/oiweiwei/msrpc/nrpc](./msrpc/nrpc) |\n| [MS-NSPI](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-nspi) | Name Service Provider Interface (NSPI) Protocol | [github.com/oiweiwei/msrpc/nspi](./msrpc/nspi) |\n| [MS-OXABREF](https://learn.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxabref) | Address Book Name Service Provider Interface (NSPI) Referral Protocol |\n| [MS-OXCRPC](https://learn.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxcrpc) | Wire Format Protocol | [github.com/oiweiwei/msrpc/oxcrpc](./msrpc/oxcrpc) |\n| [MS-OXNSPI](https://learn.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxnspi) | Name Service Provider Interface (NSPI) Protocol | [github.com/oiweiwei/msrpc/nspi](./msrpc/nspi) |\n| [MS-PAC](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pac) | Privilege Attribute Certificate Data Structure | [github.com/oiweiwei/msrpc/pac](./msrpc/pac) |\n| [MS-PAN](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pan) | Print System Asynchronous Notification Protocol | [github.com/oiweiwei/msrpc/pan](./msrpc/pan) |\n| [MS-PAR](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-par) | Print System Asynchronous Remote Protocol | [github.com/oiweiwei/msrpc/par](./msrpc/par) |\n| [MS-PCQ](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pcq) | Performance Counter Query Protocol | [github.com/oiweiwei/msrpc/pcq](./msrpc/pcq) |\n| [MS-RAA](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-raa) | Remote Authorization API Protocol | [github.com/oiweiwei/msrpc/raa](./msrpc/raa) |\n| [MS-RAIW](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-raiw) | Remote Administrative Interface: WINS | [github.com/oiweiwei/msrpc/raiw](./msrpc/raiw) |\n| [MS-RPCE-EPM](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rpce) [C706-EPM](https://pubs.opengroup.org/onlinepubs/9629399/apdxo.htm#tagcjh_35) | Endpoint Mapper | [github.com/oiweiwei/msrpc/epm](./msrpc/epm) |\n| [MS-RPCL](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rpcl) | Remote Procedure Call Location Services Extensions | [github.com/oiweiwei/msrpc/rpcl](./msrpc/rpcl) |\n| [MS-RPRN](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rprn) | Print System Remote Protocol | [github.com/oiweiwei/msrpc/rprn](./msrpc/rprn) |\n| [MS-RRP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rrp) | Windows Remote Registry Protocol | [github.com/oiweiwei/msrpc/rrp](./msrpc/rrp) |\n| [MS-RSP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rsp) | Remote Shutdown Protocol | [github.com/oiweiwei/msrpc/rsp](./msrpc/rsp) |\n| [MS-SAMR](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-samr) | Security Account Manager (SAM) Remote Protocol (Client-to-Server) | [github.com/oiweiwei/msrpc/samr](./msrpc/samr) |\n| [MS-SCH](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-tsch) | Task Scheduler Service Remoting Protocol | [github.com/oiweiwei/msrpc/sch](./msrpc/sch) |\n| [MS-SCMR](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-scmr) | Service Control Manager Remote Protocol | [github.com/oiweiwei/msrpc/scmr](./msrpc/scmr) |\n| [MS-SRVS](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-srvs) | Server Service Remote Protocol | [github.com/oiweiwei/msrpc/srvs](./msrpc/srvs) |\n| [MS-SSP](https://learn.microsoft.com/en-us/openspecs/sharepoint_protocols/ms-ssp) | Single Sign-On Protocol | [github.com/oiweiwei/msrpc/ssp](./msrpc/ssp) |\n| [MS-SWN](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-swn) | Service Witness Protocol | [github.com/oiweiwei/msrpc/swn](./msrpc/swn) |\n| [MS-TRP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-trp) | Telephony Remote Protocol | [github.com/oiweiwei/msrpc/trp](./msrpc/trp) |\n| [MS-TSCH](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-tsch) | Task Scheduler Service Remoting Protocol | [github.com/oiweiwei/msrpc/tsch](./msrpc/tsch) |\n| [MS-TSGU](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-tsgu) | Terminal Services Gateway Server Protocol | [github.com/oiweiwei/msrpc/tsgu](./msrpc/tsgu) |\n| [MS-W32T](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-w32t) | W32Time Remote Protocol | [github.com/oiweiwei/msrpc/w32t](./msrpc/w32t) |\n| [MS-WDSC](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-wdsc) | Windows Deployment Services Control Protocol | [github.com/oiweiwei/msrpc/wdsc](./msrpc/wdsc) |\n| [MS-WKST](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-wkst) | Workstation Service Remote Protocol | [github.com/oiweiwei/msrpc/wkst](./msrpc/wkst) |\n\n### Generated DCOM Stubs\n\n| Code | Description | Package |\n| ------- | -------- | ------- |\n| [MC-CCFG](https://learn.microsoft.com/en-us/openspecs/windows_protocols/mc-ccfg) | Server Cluster: Configuration (ClusCfg) Protocol | [github.com/oiweiwei/msrpc/ccfg](./msrpc/dcom/ccfg) |\n| [MC-IISA](https://learn.microsoft.com/en-us/openspecs/windows_protocols/mc-iisa) | Internet Information Services (IIS) Application Host COM Protocol | [github.com/oiweiwei/msrpc/iisa](./msrpc/dcom/iisa) |\n| [MC-MQAC](https://learn.microsoft.com/en-us/openspecs/windows_protocols/mc-mqac) | Message Queuing (MSMQ): ActiveX Client Protocol | [github.com/oiweiwei/msrpc/mqac](./msrpc/dcom/mqac) |\n| [MS-ADTG](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-adtg) | Remote Data Services (RDS) Transport Protocol | [github.com/oiweiwei/msrpc/adtg](./msrpc/dcom/adtg) |\n| [MS-COMA](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-coma) | Component Object Model Plus (COM+) Remote Administration Protocol | [github.com/oiweiwei/msrpc/coma](./msrpc/dcom/coma) |\n| [MS-COMEV](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-comev) | Component Object Model Plus (COM+) Event System Protocol | [github.com/oiweiwei/msrpc/comev](./msrpc/dcom/comev) |\n| [MS-COMT](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-comt) | Component Object Model Plus (COM+) Tracker Service Protocol | [github.com/oiweiwei/msrpc/comt](./msrpc/dcom/comt) |\n| [MS-COM](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-com) | Component Object Model Plus (COM+) Protocol | [github.com/oiweiwei/msrpc/com](./msrpc/dcom/com) |\n| [MS-CSRA](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-csra) | Certificate Services Remote Administration Protocol | [github.com/oiweiwei/msrpc/csra](./msrpc/dcom/csra) |\n| [MS-CSVP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-csvp) | Failover Cluster: Setup and Validation Protocol (ClusPrep) | [github.com/oiweiwei/msrpc/csvp](./msrpc/dcom/csvp) |\n| [MS-DCOM](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-dcom) | Distributed Component Object Model (DCOM) Remote Protocol | [github.com/oiweiwei/msrpc/dcom](./msrpc/dcom) |\n| [MS-DFSRH](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-dfsrh) | DFS Replication Helper Protocol | [github.com/oiweiwei/msrpc/dfsrh](./msrpc/dcom/dfsrh) |\n| [MS-DMRP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-dmrp) | Disk Management Remote Protocol | [github.com/oiweiwei/msrpc/dmrp](./msrpc/dcom/dmrp) |\n| [MS-FSRM](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fsrm) | File Server Resource Manager Protocol | [github.com/oiweiwei/msrpc/fsrm](./msrpc/dcom/fsrm) |\n| [MS-IISS](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-iiss) | Internet Information Services (IIS) ServiceControl Protocol | [github.com/oiweiwei/msrpc/iiss](./msrpc/dcom/iiss) |\n| [MS-IMSA](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-imsa) | Internet Information Services (IIS) IMSAdminBaseW Remote Protocol | [github.com/oiweiwei/msrpc/imsa](./msrpc/dcom/imsa) |\n| [MS-IOI](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-ioi) | IManagedObject Interface Protocol | [github.com/oiweiwei/msrpc/ioi](./msrpc/dcom/ioi) |\n| [MS-OAUT](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-oaut) | OLE Automation Protocol | [github.com/oiweiwei/msrpc/oaut](./msrpc/dcom/oaut) |\n| [MS-OCSPA](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-ocspa) | Microsoft OCSP Administration Protocol | [github.com/oiweiwei/msrpc/ocspa](./msrpc/dcom/ocspa) |\n| [MS-PLA](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-pla) | Performance Logs and Alerts Protocol | [github.com/oiweiwei/msrpc/pla](./msrpc/dcom/pla) |\n| [MS-RAI](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rai) | Remote Assistance Initiation Protocol | [github.com/oiweiwei/msrpc/rai](./msrpc/dcom/rai) |\n| [MS-RDPESC](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpesc) | Remote Desktop Protocol: Smart Card Virtual Channel Extension | [github.com/oiweiwei/msrpc/rdpesc](./msrpc/dcom/rdpesc) |\n| [MS-RRASM](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rrasm) | Routing and Remote Access Server (RRAS) Management Protocol | [github.com/oiweiwei/msrpc/rrasm](./msrpc/dcom/rrasm) |\n| [MS-RSMP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rsmp) | Removable Storage Manager (RSM) Remote Protocol | [github.com/oiweiwei/msrpc/rsmp](./msrpc/dcom/rsmp) |\n| [MS-SCMP](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-scmp) | Shadow Copy Management Protocol | [github.com/oiweiwei/msrpc/scmp](./msrpc/dcom/scmp) |\n| [MS-TPMVSC](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-tpmvsc) | Trusted Platform Module (TPM) Virtual Smart Card Remote Protocol | [github.com/oiweiwei/msrpc/tpmvsc](./msrpc/dcom/tpmvsc) |\n| [MS-UAMG](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-uamg) | Update Agent Management Protocol | [github.com/oiweiwei/msrpc/uamg](./msrpc/dcom/uamg) |\n| [MS-VDS](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-vds) | Virtual Disk Service (VDS) Protocol | [github.com/oiweiwei/msrpc/vds](./msrpc/dcom/vds) |\n| [MS-WCCE](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-wcce) | Windows Client Certificate Enrollment Protocol | [github.com/oiweiwei/msrpc/wcce](./msrpc/dcom/wcce) |\n| [MS-WMIO](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-wmio) | Windows Management Instrumentation Encoding Version 1.0 Protocol | [github.com/oiweiwei/msrpc/wmio](./msrpc/dcom/wmio) |\n| [MS-WMI](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-wmi) | Windows Management Instrumentation Remote Protocol | [github.com/oiweiwei/msrpc/wmi](./msrpc/dcom/wmi) |\n| [MS-WSRM](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-wsrm) | Windows System Resource Manager (WSRM) Protocol | [github.com/oiweiwei/msrpc/wsrm](./msrpc/dcom/wsrm) |\n\n### Documentation\n\nThe codegen package also generates the documentation for the generated code\npulled from the MSDN portal. (it can be quite inaccurate with determining\ngeneral comment boundaries vs actual field descriptions, so inaccurate can\nbe an HTML on MSDN side).\n\n### Naming\n\nThe `codegen/go_names` contains the ad-hoc naming engine, which sometimes\nquite sucks (so does the overall naming convention in IDL documents, seriously,\nhow much time the average microsoft developer saves by writing `para` instead of `param`),\nbut for most of the situations, provide a way to generate the\nnames that comply with golang naming convention and give more intuition behind\nthis or that field.\n\n### Generated Stubs\n\n## MIDL Implementation Limitations\n\n * L.0001: `#define` statements are applicable only for constant declaration;\n\n * L.0002: `cpp_quote` contents are limited only for constant declaration;\n\n * L.0005: `int const` declaration is not supported.\n\n * L.0006: `wchar_t`, `status_error_t` are predefined.\n\n# TODO\n\n * Testing (I don't have much time)\n\n * Handle reserved arguments/structure fields used for `switch_is` and `size_is` statements.\n\n * Derive the type from field name, like `^f[A-Z]` -\u003e `boolean`.\n\n * Callbacks Support / Server-Side Support\n\n * Static strings\n\n * Investigate: Association Group ID is not shared across several named pipe connections. (each NP requires dedicated connection).\n\n * Convenient way to combine SPNEGO and NTLM/KRB5 within connection option.\n\n# Open Questions\n\n * Why IObjectExporter does not support NDR64?\n\n * Why server returns indistinguishable pointers for NDR64?\n\n * Why SMB2 does not support certain auth levels (ie Winreg supports only Insecure and Privacy)?\n\n# References\n\nWithout these projects, it would be absolutely impossible to implement go-msrpc.\n\n * [Samba](https://www.samba.org/)\n\n * [Impacket](https://github.com/fortra/impacket)\n\n * [go-smb2](https://github.com/hirochachacha/go-smb2)\n\n * [go-krb5](https://github.com/jcmturner/gokrb5)\n\n# Collaboration\n\nDon't hesitate to raise an issues (and only then raise a PR), the project is quite raw,\nand I don't have much time, so, a lot of errors and issues are yet to discover.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foiweiwei%2Fgo-msrpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foiweiwei%2Fgo-msrpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foiweiwei%2Fgo-msrpc/lists"}