Giter Club home page Giter Club logo

hostsy's Introduction

HostsY

GitHub All Releases GitHub last commit (branch)

Simple hosts file compiler for Windows. Inspired by Steven Black's hosts repository.

Revamped C# version in HostsZ

Minimum Requirement: .NET v4.5

Auto Parameters (requires admin privileges):

Required:

  • -auto
    • Initializes Auto Generate State
    • Directly replaces the hosts file in C:\Windows\System32\drivers\etc
    • Requires a Data folder beside the app
      • Required: source.txt for the host sources
      • Optional: black.txt for domain blacklist
      • Optional: white.txt for domain whitelist
      • Optional: loopback.txt for domain loopbacks
HostsY.exe
Data
----\black.txt
----\source.txt
----\white.txt
----\loopback.txt
Possible loopbacks:
0.0.0.0
broadcasthost
ip6-allhosts
ip6-allnodes
ip6-allrouters
ip6-localhost
ip6-localnet
ip6-loopback
ip6-mcastprefix
local
localhost
localhost.localdomain


Optional:

  • -sort
    • Sorts the Domains (ascending; source-wise)
  • -tab
    • Uses tab instead of spaces between Target IP and Domain Name
  • -logs
    • Generate generation logs; auto-generates a logs.txt inside the Data folder
  • -dpl
    • Indicates that it will generate <2~9> number of domains per line (e.g. -dpl4) to reduce the file size
  • -zip
    • Generates a zipped hosts file inside the Data folder

Check HostY_host for the generated files

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.