Giter VIP home page Giter VIP logo

funceble's Introduction

A script to check domains or IP accessibilities.

The main idea was to create a script that can check if domain or a list of domains are/is ACTIVE or INACTIVE. And, in between, create a hosts file based on the results.

Issues

For all issues/bugs and others, please report here.

Version

Current Version: 1.2.2

Usage

funceble

Usage: ./funceble [ -a ] [ -ex ] [ --help ] [ -h ] [ -ip ] [ -q ] [ -n ] [ -p ] [ --split ]

       {[ -d domain-name.me ]} || {[ -f listOfDomainInAFile ]}

  --all                      -a              Output all information on screen (Must be before -d or -f)
  --domain                   -d              Domain to analyze
  --file                     -f              File with a list of domains
  --execution                -ex             Show the execution time (Must be before -d or -f)
  --help                                     Print this screen
                             -ip             Change the ip to print in host file (Must be before -d or -f)
  --host                     -h              Activate the generation of host (Must be before -d or -f)
  --quiet                    -q              Activate quiet mode (Must be before -d or -f)
  --percentage               -p              Show the percentage of the results (Must be before -d or -f)
  --noFiles                  -n              Deactivate the production of output files (Must be before -d or -f)
  --split                                    Split output files (Must be before -d or -f)

tool

Usage: ./tool [ -d ] [ -h ]

       {[ -i ]} || {[ -p ]} || {[ -u ]}

  --debug                    -d              Activate the debug mode with the installation (Must be before -u or -i)
  --help                                     Print this screen
  --installation             -i              Execute the installation script
  --production               -p              Prepare the repository for production
  --update                   -u              Update the script

Status

  • ACTIVE
    • whois return the date of expiration
    • nslookup don't return "server can't find domain-name.me: NXDOMAIN"
  • INACTIVE
    • whois don't return anything
    • nslookup return "server can't find domain-name.me: NXDOMAIN"
  • INVALID
    • Domain extension has an invalid format or is unregistered in IANA Root Zone Database.

How to contribute?

To contribute, you have to send a new Pull Request after you forked and edited the script(s).

DO NOT FORGET

  • To sign your commit(s) with 'Signed-off by: FirstName LastName ' AND/OR simply sign your commit(s) with PGP. Please read more here.
  • All contributions/modifications must be done under the dev branch.

Special Thanks

Thank you guys for your awesome lists which helped (and still help) me build this script. ๐Ÿ˜„ ๐Ÿ‘

Contributors


Hosts files

What is a hosts file?

A hosts file, named hosts (with no file extension), is a plain-text file used by all operating systems to map hostnames to IP addresses.

In most operating systems, the hosts file is preferential to DNS. Therefore if a domain name is resolved by the hosts file, the request never leaves your computer.

Having a smart hosts file goes a long way towards blocking malware, adware, ransomware, porn and other nuisance websites.

A hosts file like this causes any lookups to any of the listed domains to resolve back to your localhost so it prevents any outgoing connections to the listed domains.

Recommendations

I'd personally recommend using Steven's hosts or Pi-Hole which are in my opinion the best out there.

funceble's People

Contributors

funilrys avatar

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.