A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.
awesomeawesome-listbsdcheatsheetsdevopsguidelineshackinghackshowtoslinuxlistsmanualsone-linerspentestersresourcessearch-enginessecuritysecurity-researcherssysops
add new netstat one-liner - signed-off-by: trimstray <[email protected]>
trimstray3d1c7ed8b791
diff --git a/README.md b/README.mdindex 6d3e3cd..6b0597b 100644--- a/README.md+++ b/README.md@@ -3184,6 +3184,12 @@ sort | uniq -c | awk '{ printf("%s\t%s\t",$2,$1) ; for (i = 0; i < $1; i++) {priwatch "netstat -plan | grep :443 | awk {'print \$5'} | cut -d: -f 1 | sort | uniq -c | sort -nk 1"```+###### Grab banners from local IPv4 listening ports++```bash+netstat -nlt | grep 'tcp ' | grep -Eo "[1-9][0-9]*" | xargs -I {} sh -c "echo "" | nc -v -n -w1 127.0.0.1 {}"+```+___##### Tool: [rsync](https://en.wikipedia.org/wiki/Rsync)