mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
31 lines
931 B
Python
31 lines
931 B
Python
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# rpcdump.py
|
|
|
|
> Dump remote RPC endpoints information via the Endpoint Mapper.
|
|
> Part of the Impacket suite.
|
|
> More information: <https://github.com/fortra/impacket>.
|
|
|
|
- Dump RPC endpoints using username and password:
|
|
|
|
`rpcdump.py {{domain}}/{{username}}:{{password}}@{{target}}`
|
|
|
|
- Dump RPC endpoints using NTLM hashes:
|
|
|
|
`rpcdump.py -hashes {{LMHASH}}:{{NTHASH}} {{domain}}/{{username}}:{{password}}@{{target}}`
|
|
|
|
- Specify a target IP address explicitly (useful if the target name is a NetBIOS name):
|
|
|
|
`rpcdump.py -target-ip {{target_ip}} {{domain}}/{{username}}:{{password}}@{{target}}`
|
|
|
|
- Connect to a specific port (default is 135 for RPC Endpoint Mapper):
|
|
|
|
`rpcdump.py -port {{port_number}} {{domain}}/{{username}}:{{password}}@{{target}}`
|
|
|
|
- Enable debug output:
|
|
|
|
`rpcdump.py -debug {{domain}}/{{username}}:{{password}}@{{target}}`
|