https://github.com/90r1ll4/gotldwizard
Gotldwizard is a Go package that helps to change the top-level domain (TLD) of a given domain name. This package provides a command-line interface to change TLDs for one or multiple domain names in a single command.
https://github.com/90r1ll4/gotldwizard
bounty-hunting-tools bug cobra go tld
Last synced: 12 days ago
JSON representation
Gotldwizard is a Go package that helps to change the top-level domain (TLD) of a given domain name. This package provides a command-line interface to change TLDs for one or multiple domain names in a single command.
- Host: GitHub
- URL: https://github.com/90r1ll4/gotldwizard
- Owner: 90r1ll4
- License: mit
- Created: 2023-03-26T08:49:33.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-28T09:13:58.000Z (about 3 years ago)
- Last Synced: 2025-12-18T13:19:59.284Z (6 months ago)
- Topics: bounty-hunting-tools, bug, cobra, go, tld
- Language: Go
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gotldwizard
Gotldwizard is a Go package that helps to change the top-level domain (TLD) of a given domain name. This package provides a command-line interface to change TLDs for one or multiple domain names in a single command.
# Using Gotldwizard
## Installation
To install Gotldwizard, use the following command:
```bash
go install github.com/90r1ll4/gotldwizard
```
## Usage
Gotldwizard provides a command-line interface to change TLDs for one or multiple domain names in a single command. The following are the available commands and their respective options:
```bash
# _______ ______ _ _ _ _____ ______ _______ ______ ______ #
# | | | \ | | | | ____/ |_____| |_____/ | \ #
# | |_____ |_____/ |__|__| __|__ /_____ | | | \_ |_____/ #
# #
By:- Ashwin (@90r1ll4)
Swapping out the TLD, you can modify the domain name's extension to better suit your needs.
Usage:
tldwizard [command]
Available Commands:
domain Domain Mode
help Help about any command
Flags:
-h, --help help for tldwizard
--httpx Use httpx for the output domains
-v, --version version for tldwizard
Use "tldwizard [command] --help" for more information about a command.
```
To see subcommands add `command -h`
```
# _______ ______ _ _ _ _____ ______ _______ ______ ______ #
# | | | \ | | | | ____/ |_____| |_____/ | \ #
# | |_____ |_____/ |__|__| __|__ /_____ | | | \_ |_____/ #
# #
By:- Ashwin (@90r1ll4)
Domain Mode
Usage:
tldwizard domain [flags]
Aliases:
domain, dom
Flags:
-l, --domainList string domain name list
-d, --domainName string domain name
-h, --help help for domain
-o, --output string output file name or path
-t, --tld string TLD(Top Level Domain) to add[com,in,tech]
-T, --tldList string TLD (Top Level Domain) list to add
Global Flags:
--httpx Use httpx for the output domains
```
To build use command `go build` to get genrate binary file.
For an overview of all commands use the following command:
```bash
gotldwizard domain [-d DOMAIN_NAME | -l DOMAIN_LIST] [-t TLD | -T TLD_LIST] [-o OUTPUT_FILE]
```
- `domain`: This command is used to choose the domain mode.
- `-d DOMAIN_NAME`: This flag is used to specify a single domain name to change its TLD.
- `-l DOMAIN_LIST`: This flag is used to specify a list of domain names to change their TLDs.
- `-t TLD`: This flag is used to specify a TLD to add to the domain name(s).
- `-T TLD_LIST`: This flag is used to specify a list of TLDs to add to the domain name(s).
- `-o OUTPUT_FILE`: This flag is used to specify an output file name or path.
## Examples
### To change the TLD of a single domain name, use the following command:
```bash
gotldwizard domain -d example.com -t in,nl
```
This will change the TLD of `example.com` to `in` and `n;`.
```
example.com
example.in
example.nl
```
### To change the TLD of multiple domain names, use the following command:
```bash
gotldwizard domain -l domains.txt -t tech
```
This will change the TLD of all the domain names listed in `domains.txt` to `tech`.
```bash
example.com
example.nl
example.tech
example.com
example.nl
example.tech
```
To store the output in file use `-o FILENAME`
### Using `httpx` Flag
```bash
gotldwizard domain -d example.in -t com,org --httpx
# _______ ______ _ _ _ _____ ______ _______ ______ ______ #
# | | | \ | | | | ____/ |_____| |_____/ | \ #
# | |_____ |_____/ |__|__| __|__ /_____ | | | \_ |_____/ #
# #
By:- Ashwin (@90r1ll4)
https://example.org
https://example.com
```
**NOTE:** Gotldwizard should be used responsibly and with permission from the target owner.