daily pastebin goal
14%
SHARE
TWEET

IP-Email Send

Typhoon Aug 31st, 2015 (edited) 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. IPADDRESS=$(/sbin/ifconfig)
  2. IPv6=$(sudo sleep 5 && sudo /sbin/ifconfig tun)
  3. /usr/bin/sendEmail -f ipinfo@MyHostName.sk -t MyMail@gmail.com \
  4. -u IP Adresa R-Pi@256 -m "${IPADDRESS}" "\n\n" IPv6 Tunel : "\n\n ${IPv6}" \
  5. -s smtp.websupport.sk \
  6. -o tls=no \
  7. -xu ipinfo@MyHostName.sk -xp MyPass
  8.  
  9. exit
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top