mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 06:53:19 +00:00
Update cheatsheets
This commit is contained in:
11
tldr/chisel
11
tldr/chisel
@@ -5,7 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# chisel
|
||||
|
||||
> Create TCP tunnels. Includes both client and server.
|
||||
> Create TCP/UDP tunnels, transported over HTTP, secured via SSH.
|
||||
> Includes both client and server in the same `chisel` executable.
|
||||
> More information: <https://github.com/jpillora/chisel>.
|
||||
|
||||
- Run a Chisel server:
|
||||
@@ -31,3 +32,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Connect to a Chisel server using username and password authentication:
|
||||
|
||||
`chisel client --auth {{username}}:{{password}} {{server_ip}}:{{server_port}} {{local_port}}:{{remote_server}}:{{remote_port}}`
|
||||
|
||||
- Initialize a Chisel server in reverse mode on a specific port, also enabling SOCKS5 proxy (on port 1080) functionality:
|
||||
|
||||
`chisel server -p {{server_port}} --reverse --socks5`
|
||||
|
||||
- Connect to a Chisel server at specific IP and port, creating a reverse tunnel mapped to a local SOCKS proxy:
|
||||
|
||||
`chisel client {{server_ip}}:{{server_port}} R:socks`
|
||||
|
||||
14
tldr/pi1toppm
Normal file
14
tldr/pi1toppm
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pi1toppm
|
||||
|
||||
> Convert an Atari Degas PI1 image to a PPM image.
|
||||
> See also: `ppmtopi1`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pi1toppm.html>.
|
||||
|
||||
- Convert an Atari Degas PI1 image into PPM image:
|
||||
|
||||
`pi1toppm {{path/to/atari_image.pi1}} > {{path/to/image.ppm}}`
|
||||
14
tldr/ppmtopi1
Normal file
14
tldr/ppmtopi1
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# ppmtopi1
|
||||
|
||||
> Convert a PPM image to an Atari Degas PI1 image.
|
||||
> See also: `pi1toppm`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/ppmtopi1.html>.
|
||||
|
||||
- Convert a PPM image into an Atari Degas PI1 image:
|
||||
|
||||
`ppmtopi1 {{path/to/image.ppm}} > {{path/to/output_image.pi1}}`
|
||||
Reference in New Issue
Block a user