Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-20 00:20:58 +00:00
parent 846fc1563d
commit a360d4dc45
153 changed files with 493 additions and 434 deletions

View File

@@ -11,11 +11,11 @@ source: https://github.com/tldr-pages/tldr.git
- Listen for input on the specified port and write it to the specified file:
`ncat -l {{port}} > {{path/to/file}}`
`ncat {{[-l|--listen]}} {{port}} > {{path/to/file}}`
- Accept multiple connections and keep ncat open after they have been closed:
`ncat -lk {{port}}`
`ncat {{[-lk|--listen --keep-open]}} {{port}}`
- Write output of specified file to the specified host on the specified port:
@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
- Accept multiple incoming connections on an encrypted channel evading detection of traffic content:
`ncat --ssl -k -l {{port}}`
`ncat --ssl {{[-k|--keep-open]}} {{[-l|--listen]}} {{port}}`
- Connect to an open `ncat` connection over SSL:
@@ -31,4 +31,4 @@ source: https://github.com/tldr-pages/tldr.git
- Check connectivity to a remote host on a particular port with timeout:
`ncat -w {{seconds}} -vz {{host}} {{port}}`
`ncat {{[-w|--wait]}} {{seconds}} {{[-vz|--verbose -z]}} {{host}} {{port}}`