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
#!/usr/bin/python | |
from subprocess import Popen, PIPE | |
import smtplib | |
from socket import gaierror | |
import string | |
# This script attepts to retrieve the IP address of a specified interface. | |
# If successful it then emails the retrieved IP to a specified email address | |
# FILL OUT THE VALUES BETWEEN THE COMMENT BLOCKS |