Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-10 00:18:48 +00:00
parent 1581eedcdb
commit 99092db1f1
5 changed files with 108 additions and 6 deletions

30
tldr/rpcdump.py Normal file
View File

@@ -0,0 +1,30 @@
---
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}}`