Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Creation of hosts file #9

Open
pascalwhoop opened this issue Jul 19, 2018 · 2 comments
Open

Proposal: Creation of hosts file #9

pascalwhoop opened this issue Jul 19, 2018 · 2 comments

Comments

@pascalwhoop
Copy link

Hello,
I am proposing an (automated) creation of a "hosts" file from the hosts listed. This can then be used by NW admins in academic institutions to point their entire network to an information page that informs the user that they just navigated to a potential scam website. This of course only works for those institutions that handle their own DNS servers or use something like pi-hole

I started on this just now

cat _data/*.csv | grep -oe "http[^,]*" | sed "s/,.*//" | sed "s/http[s]*:\/\///" | sed "s/\/.*//" > _    data/hosts

creates a list but unfortunately, not a good one, because the CSV files are not homogenous enough. I guess doing this in python should be no problem but I wanted to kick off a discussion first

@katrinleinweber
Copy link

katrinleinweber commented Aug 7, 2018

Such a host file could also be subscribed by uBlock users, so they can personally block those hosts in their browsers, so +1 for this idea!

@pascalwhoop
Copy link
Author

@katrinleinweber I have triggered a discussion with a very popular hosts file maintainer StevenBlack/hosts#720

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants