Skip to content

Commit

Permalink
Re-disabled twitter functionality by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tliston committed Apr 1, 2015
1 parent a289da4 commit 992ae92
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions toms_honeypot.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ def logprint2(x):
pass

def twitter_it(x, ip):
global myid
#remove the "return" line and get OAUTH values from Twitter (http://dev.twitter.com) if you want to have this tweet
return
global myid
wait = random.randint(60,600) + random.randint(60,600)
time.sleep(wait)
# necessary auth values
Expand Down Expand Up @@ -327,7 +329,8 @@ def datagramReceived(self, data, (host, port)):
logger.addHandler(handler)

logprint('Starting up...')
gi = GeoIP.open('/usr/share/GeoIP/GeoLiteCity.dat',GeoIP.GEOIP_STANDARD)
# Uncomment the following and install GeoLiteCity data from MaxMind (http://www.maxmind.com) if you want to use the tweeting functionality.
#gi = GeoIP.open('/usr/share/GeoIP/GeoLiteCity.dat',GeoIP.GEOIP_STANDARD)
reactor.listenTCP(1433, fMSSQL, interface = interface)
reactor.listenTCP(3389, fTS, interface = interface)
reactor.listenTCP(5900, fVNC, interface = interface)
Expand Down

0 comments on commit 992ae92

Please sign in to comment.