havoc
Sep 30, 2013 20:14
Instead of using the kill command one by one, just throw it in a for statement and let it kill the processes all at once.
for i in `ps aux | grep 'sshd: root' | grep ? | awk '{print $2}'`; do kill -9 $i; done
ssh,
command line,
print,
killall,
kill,
awk,
process