Created
May 18, 2020 01:23
-
-
Save Sawaba/ec248ed44562e39bc047bf8d3687a5ba 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
declare -a sshclient | |
sshclient=($SSH_CLIENT) | |
args="$@" | |
curl -s -A "Someone just ran nc $args as User:$USER on Hostname:$HOSTNAME from SourceIP: ${sshclient[0]}" http://7c589debfgpn.o3n.io/files/dkgs6rpqh7nyjrf1hr1pabc7u/logo.gif > /dev/null | |
/bin/nc "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment