Skip to content

Instantly share code, notes, and snippets.

@Zobber
Created April 6, 2020 15:37
Show Gist options
  • Save Zobber/cae8cad56bf6d9667fc197a965a33d81 to your computer and use it in GitHub Desktop.
Save Zobber/cae8cad56bf6d9667fc197a965a33d81 to your computer and use it in GitHub Desktop.
#nmap -sS -p- -v --open -Pn -n -T5 192.168.1.50-135| stdbuf -oL ag on |ag 192| stdbuf -oL awk '{print $6,$4}' OFS=, | sed '1i IP,Puertos' > red ; cat red |......group_by(.Puertos)[] | {(.[0].Puertos): [.[] | .IP]}' | tr -d '"[]' | egrep -v '{|}' | colout ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment