Skip to content

suspiciousRaccoon/WhoIs-python-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WhoIs Python Script

This is a simple Python script that can be used from the command line to quickly check the registration status of multiple domains listed in a text file.

Installation

  1. Clone the repository
git clone https://github.com/suspiciousRaccoon/WhoIs-python-script
  1. Install dependencies
pip install -r requirements.txt

Usage

1.Run the script with the following command:

python whois_script.py -i path/to/text/input_file.txt

Replace path/to/text/input_file.txt with the path to your input text file containing domains to check. The path must contain the text file itself. Ensure that each domain is listed on a separate line, with no additional content or formatting.

2.The script will create two output files:

  • 'registered.txt' - Contains registered domains.
  • 'not_registered.txt' - Contains unregistered domains.

By default, these output files will be created in the same directory as the script file. You can also specify custom output file paths using the optional -r and -n arguments.

python whois_script.py -i path/to/text/input_file.txt -r path/to/registered_output/ -n path/to/not_registered_output/

Replace path/to/registered_output/ and path/to/not_registered_output/ with your desired output paths

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages