mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-28 22:54:12 +00:00
Update cheatsheets
This commit is contained in:
42
tldr/rpcmap.py
Normal file
42
tldr/rpcmap.py
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user