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

View File

@@ -6,27 +6,31 @@ source: https://github.com/tldr-pages/tldr.git
# fastfetch
> Display information about your operating system, software and hardware.
> More information: <https://github.com/LinusDierheimer/fastfetch>.
> More information: <https://manned.org/fastfetch>.
- Display system information:
`fastfetch`
- Fetch a specific structure:
- Display full system information with all the modules enabled:
`fastfetch --structure {{structure}}`
`fastfetch {{[-c|--config]}} all`
- Load a custom configuration file:
`fastfetch --load-config {{path/to/config_file}}`
`fastfetch {{[-c|--config]}} {{path/to/config_file}}`
- Fetch a specific structure:
`fastfetch {{[-s|--structure]}} {{structure}}`
- Use a specific logo:
`fastfetch --logo {{logo}}`
`fastfetch {{[-l|--logo]}} {{logo}}`
- Display system information without a logo:
`fastfetch --logo none`
`fastfetch {{[-l|--logo]}} none`
- Use a specific color for the keys and title:

13
tldr/impacket-rpcdump Normal file
View File

@@ -0,0 +1,13 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# impacket-rpcdump
> This command is an alias of `rpcdump.py`.
> More information: <https://github.com/fortra/impacket>.
- View documentation for the original command:
`tldr rpcdump.py`

13
tldr/impacket-rpcmap Normal file
View File

@@ -0,0 +1,13 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# impacket-rpcmap
> This command is an alias of `rpcmap.py`.
> More information: <https://github.com/fortra/impacket>.
- View documentation for the original command:
`tldr rpcmap.py`

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}}`

42
tldr/rpcmap.py Normal file
View 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}}`