Skip to content

Commit

Permalink
add domain
Browse files Browse the repository at this point in the history
  • Loading branch information
bieberg0n committed May 6, 2016
1 parent 01b487e commit 3cdbe14
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
11 changes: 11 additions & 0 deletions ad.txt
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@
.admin.hotkeys.com
.admin.inq.com
.adm.jjj8.cn
.admob.com
.ad.mo.doubleclick.net
.admonkey.dapper.net
.ad.moscowtimes.ru
Expand Down Expand Up @@ -1101,6 +1102,7 @@
.ads.adxpose.mpire.akadns.net
.ads.affiliates.match.com
.ads.aftonbladet.se
.adsage.com
.ads.ahds.ac.uk
.ads.ah-ha.com
.ads.aintitcool.com
Expand Down Expand Up @@ -4891,6 +4893,7 @@
.documents-signature.com
.dogpile.112.2o7.net
.d.oix.com
.domob.cn
.donotwatch.org
.dontblockme.modaco.com
.dontwatch.us
Expand Down Expand Up @@ -7145,6 +7148,7 @@
.lexapro.3.p2l.info
.lexapro.4.p2l.info
.lg.brandreachsys.com
.l.google.com
.lh.secure.yahoo.com
.liapentruromania.ro
.liberty.gedads.com
Expand Down Expand Up @@ -8052,6 +8056,7 @@
.mngiyrkdr.112.2o7.net
.mo.5.p2l.info
.mob.adwhirl.com
.mobclix.com
.mobile9.us.intellitxt.com
.mobileads.msn.com
.mobile.juicyads.com
Expand Down Expand Up @@ -8762,6 +8767,7 @@
.opentable.tt.omtrdc.net
.openx2.fotoflexer.com
.openx.adfactor.nl
.openx.com
.openx.coolconcepts.nl
.openx.shinyads.com
.openx.xenium.pl
Expand Down Expand Up @@ -8798,6 +8804,8 @@
.ourtoolbar.com
.ousns.net
.outerinfo.com
.outfit7-affirmations.appspot.com
.outfit7.com
.outlets-online.pl
.out.popads.net
.out.true-counter.com
Expand Down Expand Up @@ -9378,6 +9386,7 @@
.publishers.brokertraffic.com
.publishing.kalooga.com
.pub.mop.com
.pubsage.com
.pub.sapo.pt
.pub.sheknows.com
.pubs.hiddennetwork.com
Expand Down Expand Up @@ -9770,6 +9779,7 @@
.safe.hyperpaysys.com
.safenyplanet.in
.s.agava.ru
.sagetouch.com
.sa.jumptap.com
.salesforce.122.2o7.net
.salesforcecom.tt.omtrdc.net
Expand Down Expand Up @@ -10155,6 +10165,7 @@
.sm7.sitemeter.com
.sm8.sitemeter.com
.sm9.sitemeter.com
.smaato.net
.smartadserver
.smartadserver.com
.smart.besonders.ru
Expand Down
15 changes: 7 additions & 8 deletions bjdns.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,6 @@ def eva(queue, server, i):
'[cache]', name, ip, '({})'.format(i) )
server.sendto(make_data(data, ip), client)

# elif [ 1 for x in google if name.endswith(x) or name == x[1:] ]:
elif inlist(name, google):
ip = google_ip
print( client[0],
'[{}]'.format(time.strftime('%Y-%m-%d %H:%M:%S')),
'[google]', name, ip, '({})'.format(i) )
server.sendto(make_data(data, ip), client)

# elif [ 1 for x in ad if name.endswith(x) or name == x[1:] ]:
elif inlist(name, ad):
ip = '127.0.0.1'
Expand All @@ -119,6 +111,13 @@ def eva(queue, server, i):
'[ad]', name, ip, '({})'.format(i) )
server.sendto(make_data(data, ip), client)

# elif [ 1 for x in google if name.endswith(x) or name == x[1:] ]:
elif inlist(name, google):
ip = google_ip
print( client[0],
'[{}]'.format(time.strftime('%Y-%m-%d %H:%M:%S')),
'[google]', name, ip, '({})'.format(i) )
server.sendto(make_data(data, ip), client)

# elif [ 1 for x in cdn_list if name.endswith(x) or name == x[1:] ]:
elif inlist(name, cdn_list):
Expand Down
1 change: 0 additions & 1 deletion google.txt
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@
.googletagservices.com
.googleusercontent.cn
.googleusercontent.com
.googlevideo.com
.googlewave.com
.gstatic.cn
.gstatic.com
Expand Down

0 comments on commit 3cdbe14

Please sign in to comment.