Update cheatsheets

This commit is contained in:
ivuorinen
2024-09-30 00:17:49 +00:00
parent 862ca9db69
commit 3b917fb090
16 changed files with 57 additions and 19 deletions

View File

@@ -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):

View File

@@ -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:

View File

@@ -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:

View File

@@ -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:

View File

@@ -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:

View File

@@ -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:

View File

@@ -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:

View File

@@ -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:

View File

@@ -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:

View File

@@ -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:

View File

@@ -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`:

View File

@@ -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:

View File

@@ -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
View 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
View 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}}`

View File

@@ -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}}`