mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Manage Docker containers and images.
|
||||
> Some subcommands such as `docker run` have their own usage documentation.
|
||||
> More information: <https://docs.docker.com/engine/reference/commandline/cli/>.
|
||||
> More information: <https://docs.docker.com/reference/cli/docker/>.
|
||||
|
||||
- List all Docker containers (running and stopped):
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Update configuration of Docker containers.
|
||||
> This command is not supported for Windows containers.
|
||||
> More information: <https://docs.docker.com/engine/reference/commandline/update/>.
|
||||
> More information: <https://docs.docker.com/reference/cli/docker/container/update/>.
|
||||
|
||||
- Update restart policy to apply when a specific container exits:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# docker volume
|
||||
|
||||
> Manage Docker volumes.
|
||||
> More information: <https://docs.docker.com/engine/reference/commandline/volume/>.
|
||||
> More information: <https://docs.docker.com/reference/cli/docker/volume/>.
|
||||
|
||||
- Create a volume:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Manage Linode accounts.
|
||||
> See also: `linode-cli`.
|
||||
> More information: <https://www.linode.com/docs/products/tools/cli/guides/account/>.
|
||||
> More information: <https://techdocs.akamai.com/cloud-computing/docs/cli-commands-for-account-management>.
|
||||
|
||||
- View account:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Manage Linode Domains and DNS configuration.
|
||||
> See also: `linode-cli`.
|
||||
> More information: <https://www.linode.com/docs/products/tools/cli/guides/domains/>.
|
||||
> More information: <https://techdocs.akamai.com/cloud-computing/docs/cli-commands-for-the-dns-manager>.
|
||||
|
||||
- List all managed domains:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Manage Linode instances.
|
||||
> See also: `linode-cli`.
|
||||
> More information: <https://www.linode.com/docs/products/tools/cli/guides/linode-instances/>.
|
||||
> More information: <https://techdocs.akamai.com/cloud-computing/docs/cli-commands-for-compute-instances>.
|
||||
|
||||
- List all Linodes:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Manage Linode Kubernetes Engine (LKE) clusters.
|
||||
> See also: `linode-cli`.
|
||||
> More information: <https://www.linode.com/docs/products/tools/cli/guides/linode-kubernetes-engine/>.
|
||||
> More information: <https://techdocs.akamai.com/cloud-computing/docs/cli-commands-for-lke>.
|
||||
|
||||
- List all LKE clusters:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Manage Linode NodeBalancers.
|
||||
> See also: `linode-cli`.
|
||||
> More information: <https://www.linode.com/docs/products/tools/cli/guides/nodebalancers/>.
|
||||
> More information: <https://techdocs.akamai.com/cloud-computing/docs/cli-commands-for-nodebalancers>.
|
||||
|
||||
- List all NodeBalancers:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Manage Linode Object Storage.
|
||||
> See also: `linode-cli`.
|
||||
> More information: <https://www.linode.com/docs/products/tools/cli/guides/object-storage/>.
|
||||
> More information: <https://techdocs.akamai.com/cloud-computing/docs/cli-commands-for-object-storage>.
|
||||
|
||||
- List all Object Storage buckets:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Manage Linode Volumes.
|
||||
> See also: `linode-cli`.
|
||||
> More information: <https://www.linode.com/docs/products/tools/cli/guides/block-storage-volumes/>.
|
||||
> More information: <https://techdocs.akamai.com/cloud-computing/docs/cli-commands-for-block-storage-volumes>.
|
||||
|
||||
- List current Volumes:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# raspi-config
|
||||
|
||||
> An `ncurses` terminal GUI to config a Raspberry Pi.
|
||||
> More information: <https://www.raspberrypi.org/documentation/computers/configuration.html>.
|
||||
> More information: <https://www.raspberrypi.com/documentation/computers/configuration.html>.
|
||||
|
||||
- Start `raspi-config`:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# rpi-otp-private-key
|
||||
|
||||
> Display the One-Time Programmable (OTP) private key of a Raspberry Pi.
|
||||
> More information: <https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#key-programming-script-rpi-otp-private-key>.
|
||||
> More information: <https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#program-a-key-into-otp-with-rpi-otp-private-key>.
|
||||
|
||||
- Read the OTP private key:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# vcgencmd
|
||||
|
||||
> Print system information for a Raspberry Pi.
|
||||
> More information: <https://www.raspberrypi.org/documentation/computers/os.html#vcgencmd>.
|
||||
> More information: <https://www.raspberrypi.com/documentation/computers/os.html#vcgencmd>.
|
||||
|
||||
- List all available commands:
|
||||
|
||||
|
||||
13
tldr/netdiscover
Normal file
13
tldr/netdiscover
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# netdiscover
|
||||
|
||||
> Network scanner used to find live hosts on a network.
|
||||
> More information: <https://github.com/netdiscover-scanner/netdiscover>.
|
||||
|
||||
- Scan the IP range on the network interface for active hosts:
|
||||
|
||||
`netdiscover -r {{172.16.6.0/23}} -i {{ens244}}`
|
||||
25
tldr/nettacker
Normal file
25
tldr/nettacker
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# nettacker
|
||||
|
||||
> Automate information gathering, vulnerability scanning and eventually generate a report.
|
||||
> More information: <https://nettacker.readthedocs.io/en/latest/Home/>.
|
||||
|
||||
- List all available modules:
|
||||
|
||||
`nettacker --show-all-modules`
|
||||
|
||||
- Run a port scan on targets:
|
||||
|
||||
`nettacker {{-m|--modules}} port_scan {{-i|--targets}} {{192.168.0.1/24,owasp.org,scanme.org,...}}`
|
||||
|
||||
- Run a port scan on specific ports and targets listed in a file (newline separated):
|
||||
|
||||
`nettacker {{-m|--modules}} port_scan {{-g|--ports}} {{22,80,443,...}} {{-l|--targets-list}} {{path/to/targets.txt}}`
|
||||
|
||||
- Run ping test before scan and then run multiple scan types on target:
|
||||
|
||||
`nettacker --ping-before-scan {{-m|--modules}} {{port_scan,subdomain_scan,waf_scan,...}} {{-g|--ports}} {{80,443}} {{-i|--targets}} {{owasp.org}}`
|
||||
@@ -15,16 +15,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Show only the subdomains found:
|
||||
|
||||
`subfinder --silent -d {{example.com}}`
|
||||
`subfinder -silent -d {{example.com}}`
|
||||
|
||||
- Use a brute-force attack to find subdomains:
|
||||
|
||||
`subfinder -d {{example.com}} -b`
|
||||
|
||||
- Remove wildcard subdomains:
|
||||
- Show only active subdomains:
|
||||
|
||||
`subfinder -nW -d {{example.com}}`
|
||||
|
||||
- Use all sources for enumeration:
|
||||
|
||||
`subfinder -all -d {{example.com}}`
|
||||
|
||||
- Use a given comma-separated list of [r]esolvers:
|
||||
|
||||
`subfinder -r {{8.8.8.8,1.1.1.1,...}} -d {{example.com}}`
|
||||
|
||||
Reference in New Issue
Block a user