Created
October 29, 2017 23:03
-
-
Save RGBD/c1036121bce4ba59391a4176ca9b5b2a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
message() { | |
date -Is | |
hostname | |
whoami | |
who | |
ip addr | |
} | |
while true; do | |
message | nc -l -p 8000 -N | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment