1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 14:14:17 +02:00

rpcmap.py: add page

This commit is contained in:
Machiavelli 2025-04-07 17:45:33 +02:00
parent b60d8441f0
commit afac178270

37
pages/common/rpcmap.py.md Normal file
View file

@ -0,0 +1,37 @@
# rpcmap.py
> Lookup listening MSRPC interfaces using a string binding (e.g., `ncacn_ip_tcp:host[port]`).
> Part of the Impacket suite.
> More information: <https://github.com/fortra/impacket>.
- Connect to an MSRPC interface using a string binding (e.g., `ncacn_ip_tcp:host[port]`):
`rpcmap.py {{stringbinding}}`
- Bruteforce UUIDs even if the MGMT interface is available:
`rpcmap.py -brute-uuids {{stringbinding}}`
- Bruteforce operation numbers (opnums) for discovered UUIDs:
`rpcmap.py -brute-opnums {{stringbinding}}`
- Bruteforce major versions of found UUIDs:
`rpcmap.py -brute-versions {{stringbinding}}`
- Specify a target IP address manually:
`rpcmap.py -target-ip {{ip_address}} {{stringbinding}}`
- Authenticate to the RPC interface with username and password:
`rpcmap.py -auth-rpc {{[domain/]username[:password]}} {{stringbinding}}`
- Authenticate using NTLM hashes for RPC:
`rpcmap.py -hashes-rpc {{LMHASH:NTHASH}} {{stringbinding}}`
- Enable debug output for verbose information:
`rpcmap.py -debug {{stringbinding}}`