Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-04 00:24:38 +00:00
parent a44c60008a
commit 2bbe099b4f
7 changed files with 76 additions and 4 deletions

View File

@@ -34,6 +34,6 @@ source: https://github.com/tldr-pages/tldr.git
`axel {{[-4|--ipv4]}} {{url}}`
- Limit output to stdout and use a custom user-agent when downloading:
- Limit output to `stdout` and use a custom user-agent when downloading:
`axel {{[-q|--quiet]}} {{[-U|--user-agent]}} {{"Mozilla/5.0"}} {{url}}`

34
tldr/gixy-next Normal file
View File

@@ -0,0 +1,34 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# gixy-next
> Analyze NGINX configuration files for security and performance misconfigurations.
> An actively maintained fork of `gixy`.
> More information: <https://gixy.io/usage/>.
- Analyze `nginx` configuration (default path: `/etc/nginx/nginx.conf`):
`gixy {{path/to/nginx.conf}}`
- Analyze a rendered configuration dump via `stdin` (`-`):
`cat {{path/to/nginx-dump.conf}} | gixy -`
- Run only specific checks (comma-separated):
`gixy --tests {{http_splitting,ssrf,version_disclosure}} {{path/to/nginx.conf}}`
- Skip specific checks (comma-separated):
`gixy --skips {{low_keepalive_requests,worker_rlimit_nofile_vs_connections}} {{path/to/nginx.conf}}`
- Only report issues at a given severity or higher:
`gixy {{-l|-ll|-lll}} {{path/to/nginx.conf}}`
- Output as uncolored text or machine-readable JSON:
`gixy {{[-f|--format]}} {{text|json}} {{path/to/nginx.conf}}`

12
tldr/impacket-rdp_check Normal file
View File

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

View File

@@ -9,7 +9,7 @@ source: https://github.com/tldr-pages/tldr.git
> Lzip uses a simplified form of the "Lempel-Ziv-Markovchain-Algorithm" (LZMA) stream format and provides 3-factor integrity checking to maximize interoperability and optimize safety.
> More information: <https://www.nongnu.org/lzip/manual/lzip_manual.html#Invoking-lzip>.
- Archive a file, replacing it with with a compressed version:
- Archive a file, replacing it with a compressed version:
`lzip {{path/to/file}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# nix
> A powerful package manager that makes package management reliable, reproducible, and declarative.
> `nix` is experimental and requires enabling experimental features.
> Some features of `nix` (`nix command`, `flakes`, etc) are experimental and require enabling experimental features.
> Some subcommands such as `build`, `develop`, `flake`, `registry`, `profile`, `search`, `repl`, `store`, `edit`, `why-depends`, etc. have their own usage documentation.
> See also: `nix classic`.
> More information: <https://nix.dev/manual/nix/stable/command-ref/new-cli/nix>.

26
tldr/rdp_check.py Normal file
View File

@@ -0,0 +1,26 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# rdp_check.py
> Test whether an account is valid on the target host using the RDP protocol (no full login, just authentication check).
> Part of the Impacket suite.
> More information: <https://github.com/fortra/impacket>.
- Check if credentials are valid on a target (password prompted if omitted):
`rdp_check.py {{domain}}/{{username}}@{{target}}`
- Check credentials using NTLM hashes:
`rdp_check.py -hashes {{LM_Hash}}:{{NT_Hash}} {{domain}}/{{username}}@{{target}}`
- Check credentials with explicit password:
`rdp_check.py {{domain}}/{{username}}:{{password}}@{{target}}`
- Check credentials for a local account on the target (no domain):
`rdp_check.py {{username}}:{{password}}@{{target}}`

View File

@@ -18,4 +18,4 @@ source: https://github.com/tldr-pages/tldr.git
- Display help:
`xml {{[esc|escape]}} --help`
`xml {{[unesc|unescape]}} --help`