This basic script uses the whois command line function to make calls to any supported TLDs
whois
command line application
The script expects at least a domain provided by the --domain
command, this can be a list separated by spaces.
You also need to provide a list of sections you want to query, this is done through the --section
parameter, again can be a list (space separated) in the format field=value
to identify sections you want.
Finally you will need to provide a list of fields you want to list out from those sections, done throught he --fields
parameter.
-
To see a list of fields you can list run a
whois
command -
Basic example on running the command:
python3 run.py --domains ed-moore.net eddyswebdesign.com google.com github.com --sections contact=technical contact=administrative --fields name phone address