ghoulmaster Posted August 24, 2010 Share Posted August 24, 2010 ok so i just saw this weeks hak5 and i saw how darren went threw dyndns because he had a static ip and i HATE signing up for those then downloading the app to keep my ip in sync with the dns that i registered. So i was already experimenting what i could get dropbox to do from a previous hak5 episode about watching your computer using dropbox. so i created these two scripts so i always have my external ip wherever i go. if you put this script in your dropbox folder and run it from there it will write your ip to ip.txt (it will rewrite it everytime and create it if not there) #!/usr/bin/python import urllib import time #Coder: ghoulmaster while 1: ip = urllib.urlopen("http://www.whatismyip.com/automation/n09230945.asp").read() file = open('ip.txt', 'w') file.write(ip) file.close time.wait(2400) now this one is much more useful if you dont have dropbox say on the machine your working on or your mobile phone. this script texts you your ip. #!/usr/bin/python import urllib import smtplib import time #Coder: ghoulmaster #Note: DO NOT DELETE THE ' MARKS THE PROGRAM WILL NOT WORK!! Also i made this script modified for SPEED (to the best of my #current abilites) so if you join another network then this script will fail or if you get kicked offline you will need to #reconnect then re-run this script ip = urllib.urlopen("http://www.whatismyip.com/automation/n09230945.asp").read() gmail_User = '<Gmail Username here (no @gmail)>' gmail_Pass = '<Gmail Password here>' gmail_User2 = gmail_User + '@gmail' Phone_Number = '<Phone number here with @vtext.com or whatever your carrier is>' Send = smtplib.SMTP("smtp.gmail.com:587") Send.starttls() Send.login(gmail_User, gmail_Pass) while 1: ip = urllib.urlopen("http://www.whatismyip.com/automation/n09230945.asp").read() msg = """\ From: %s To: %s Subject: External IP %s """ % (gmail_User2, Phone_Number, ip) Send.sendmail(gmail_User2, Phone_Number, msg) time.time(2400) if anyone has any question just ask here Quote Link to comment Share on other sites More sharing options...
Infiltrator Posted September 20, 2010 Share Posted September 20, 2010 (edited) Buy an ADSL modem that supports Dynamic DNS, that way you don't have to worry about install any DynDNs application on your computer. It's all done at the modem level for you. Edited September 20, 2010 by Infiltrator Quote Link to comment Share on other sites More sharing options...
misfitsman805 Posted September 20, 2010 Share Posted September 20, 2010 Buy an ADSL modem that supports Dynamic DNS, that way you don't have to worry about install any DynDNs application on your computer. It's all done at the modem level for you. Or a Router that supports it like mine does. Netgear WNR3500. Quote Link to comment Share on other sites More sharing options...
MRGRIM Posted September 20, 2010 Share Posted September 20, 2010 I use Zoneedit rather than dyndns, however I run a router with dd-wrt and that sync's my IP whenever it changes Quote Link to comment Share on other sites More sharing options...
Guest Deleted_Account Posted September 20, 2010 Share Posted September 20, 2010 Router with Dynamic DNS support. Plan and simple I mean Come on my 2005 trendnet router supports it :) Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted September 20, 2010 Share Posted September 20, 2010 Most routers do, If it doesn't honestly what is the big deal using their client to keep your stuff working? Stop Whining lol. Quote Link to comment Share on other sites More sharing options...
Infiltrator Posted September 30, 2010 Share Posted September 30, 2010 Most routers do, If it doesn't honestly what is the big deal using their client to keep your stuff working? Stop Whining lol. Well the more crap your install on the computer, the more it becomes vulnerable. And more time you have to spend on patching up or updating software. Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted September 30, 2010 Share Posted September 30, 2010 Well the more crap your install on the computer, the more it becomes vulnerable. And more time you have to spend on patching up or updating software. It's a very simple app. I doubt it is exploitable. And as mentioned before, every router has some sort of DNS auto update built in... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.