mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-08 08:57:25 +00:00
Update cheatsheets
This commit is contained in:
@@ -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}}`
|
||||
|
||||
Reference in New Issue
Block a user