diff --git a/tldr/docker b/tldr/docker index fc198a1d..2b3e5196 100644 --- a/tldr/docker +++ b/tldr/docker @@ -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: . +> More information: . - List all Docker containers (running and stopped): diff --git a/tldr/docker-update b/tldr/docker-update index 35f6145e..c28ebe79 100644 --- a/tldr/docker-update +++ b/tldr/docker-update @@ -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: . +> More information: . - Update restart policy to apply when a specific container exits: diff --git a/tldr/docker-volume b/tldr/docker-volume index df2e069d..242e04db 100644 --- a/tldr/docker-volume +++ b/tldr/docker-volume @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # docker volume > Manage Docker volumes. -> More information: . +> More information: . - Create a volume: diff --git a/tldr/linode-cli-account b/tldr/linode-cli-account index bf9ef6a7..8f9780b2 100644 --- a/tldr/linode-cli-account +++ b/tldr/linode-cli-account @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Manage Linode accounts. > See also: `linode-cli`. -> More information: . +> More information: . - View account: diff --git a/tldr/linode-cli-domains b/tldr/linode-cli-domains index 733302ab..8eadc540 100644 --- a/tldr/linode-cli-domains +++ b/tldr/linode-cli-domains @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Manage Linode Domains and DNS configuration. > See also: `linode-cli`. -> More information: . +> More information: . - List all managed domains: diff --git a/tldr/linode-cli-linodes b/tldr/linode-cli-linodes index 3d9256ae..5d020f4a 100644 --- a/tldr/linode-cli-linodes +++ b/tldr/linode-cli-linodes @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Manage Linode instances. > See also: `linode-cli`. -> More information: . +> More information: . - List all Linodes: diff --git a/tldr/linode-cli-lke b/tldr/linode-cli-lke index 6412f175..e3e09de7 100644 --- a/tldr/linode-cli-lke +++ b/tldr/linode-cli-lke @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Manage Linode Kubernetes Engine (LKE) clusters. > See also: `linode-cli`. -> More information: . +> More information: . - List all LKE clusters: diff --git a/tldr/linode-cli-nodebalancers b/tldr/linode-cli-nodebalancers index 8d3e874f..0f400ea9 100644 --- a/tldr/linode-cli-nodebalancers +++ b/tldr/linode-cli-nodebalancers @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Manage Linode NodeBalancers. > See also: `linode-cli`. -> More information: . +> More information: . - List all NodeBalancers: diff --git a/tldr/linode-cli-object-storage b/tldr/linode-cli-object-storage index fb8fba8c..f0d536f9 100644 --- a/tldr/linode-cli-object-storage +++ b/tldr/linode-cli-object-storage @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Manage Linode Object Storage. > See also: `linode-cli`. -> More information: . +> More information: . - List all Object Storage buckets: diff --git a/tldr/linode-cli-volumes b/tldr/linode-cli-volumes index 0fc85a66..1ec13632 100644 --- a/tldr/linode-cli-volumes +++ b/tldr/linode-cli-volumes @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Manage Linode Volumes. > See also: `linode-cli`. -> More information: . +> More information: . - List current Volumes: diff --git a/tldr/linux/raspi-config b/tldr/linux/raspi-config index ca99a841..88173fc0 100644 --- a/tldr/linux/raspi-config +++ b/tldr/linux/raspi-config @@ -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: . +> More information: . - Start `raspi-config`: diff --git a/tldr/linux/rpi-otp-private-key b/tldr/linux/rpi-otp-private-key index c7280802..1a8fe958 100644 --- a/tldr/linux/rpi-otp-private-key +++ b/tldr/linux/rpi-otp-private-key @@ -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: . +> More information: . - Read the OTP private key: diff --git a/tldr/linux/vcgencmd b/tldr/linux/vcgencmd index dcb5109d..c6b655ae 100644 --- a/tldr/linux/vcgencmd +++ b/tldr/linux/vcgencmd @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # vcgencmd > Print system information for a Raspberry Pi. -> More information: . +> More information: . - List all available commands: diff --git a/tldr/netdiscover b/tldr/netdiscover new file mode 100644 index 00000000..8524be33 --- /dev/null +++ b/tldr/netdiscover @@ -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: . + +- Scan the IP range on the network interface for active hosts: + +`netdiscover -r {{172.16.6.0/23}} -i {{ens244}}` diff --git a/tldr/nettacker b/tldr/nettacker new file mode 100644 index 00000000..53ca150d --- /dev/null +++ b/tldr/nettacker @@ -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: . + +- 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}}` diff --git a/tldr/subfinder b/tldr/subfinder index 5bb9c6c7..f6c160ad 100644 --- a/tldr/subfinder +++ b/tldr/subfinder @@ -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}}`