home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prototype arp-recon
[khome.git]
/
home
/
lib
/
login_functions.sh
diff --git
a/home/lib/login_functions.sh
b/home/lib/login_functions.sh
index
4ed67ba
..
894ec7f
100644
(file)
--- a/
home/lib/login_functions.sh
+++ b/
home/lib/login_functions.sh
@@
-667,10
+667,10
@@
status() {
echo "${indent_unit}<->"
echo "${indent_unit}<->"
- printf '%sTCP
:
' "${indent_unit}${indent_unit}"
+ printf '%sTCP
\t
' "${indent_unit}${indent_unit}"
sudo -n netstat -tnp \
| awk 'NR > 2 && $6 == "ESTABLISHED" {print $7}' \
sudo -n netstat -tnp \
| awk 'NR > 2 && $6 == "ESTABLISHED" {print $7}' \
- | awk
-F/ '{print $2
}' \
+ | awk
'{sub("^[0-9]+/", ""); print
}' \
| sort -u \
| xargs \
| column -t
| sort -u \
| xargs \
| column -t
This page took
0.026374 seconds
and
4
git commands to generate.