A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.
awesomeawesome-listbsdcheatsheetsdevopsguidelineshackinghackshowtoslinuxlistsmanualsone-linerspentestersresourcessearch-enginessecuritysecurity-researcherssysops
added 'certbot' one-liners - signed-off-by: trimstray <[email protected]>
trimstrayfd10e017ac6b
diff --git a/README.md b/README.mdindex 52f85b6..6a0320b 100644--- a/README.md+++ b/README.md@@ -972,6 +972,7 @@ Linux Security Expert</b></a> - trainings, howtos, checklists, security tools an* [rsync](#tool-rsync)* [host](#tool-host)* [dig](#tool-dig)+ * [certbot](#tool-certbot)* [network-other](#tool-network-other)- **[Programming](#programming)*** [awk](#tool-awk)@@ -1241,7 +1242,7 @@ find </path/to/dir> -xdev -samefile filenamefind . -type f -exec stat --format '%Y :%y %n' "{}" \; | sort -nr | cut -d: -f2- | head```-###### Recursively find/replace of a string with awk or sed+###### Recursively find/replace of a string with sed```bashfind . -not -path '*/\.git*' -type f -print0 | xargs -0 sed -i 's/foo/bar/g'@@ -2595,6 +2596,28 @@ dig -x 172.217.16.14 +short___+##### Tool: [certbot](https://certbot.eff.org/)++###### Generate multidomain certificate++```bash+certbot certonly -d example.com -d www.example.com+```++###### Generate wildcard certificate++```bash+certbot certonly --manual --preferred-challenges=dns -d example.com -d *.example.com+```++###### Generate certificate with 4096 bit private key++```bash+certbot certonly -d example.com -d www.example.com --rsa-key-size 4096+```++___+##### Tool: [network-other](https://github.com/trimstray/the-book-of-secret-knowledge#tool-network-other)###### Get all subnets for specific AS (Autonomous system)