https://github.com/gwen001/dnsexpire
Test domain expiration dates.
https://github.com/gwen001/dnsexpire
bugbounty dns domains pentesting php python security-tools subdomains
Last synced: 7 months ago
JSON representation
Test domain expiration dates.
- Host: GitHub
- URL: https://github.com/gwen001/dnsexpire
- Owner: gwen001
- License: mit
- Created: 2016-03-20T20:03:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-02T08:18:15.000Z (almost 3 years ago)
- Last Synced: 2025-03-31T20:12:13.680Z (8 months ago)
- Topics: bugbounty, dns, domains, pentesting, php, python, security-tools, subdomains
- Language: PHP
- Homepage:
- Size: 282 KB
- Stars: 12
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
dnsexpire
PHP tool to test CNAME expiration date of a subdomain list.
---
## Install
```
git clone https://github.com/gwen001/dnsexpire
```
## Usage
```
Usage: php dnsexpire.php [OPTIONS] -f
Options:
-a set alert for result output, default=30 days
-f subdomains list source file
-h print this help
Examples:
php dnsexpire.php -f example.com
php dnsexpire.php -a 10 -f dns.txt
```
## Note
`dnsexpire.py` is the Python version of the script.
It's much faster but not sure how reliable it is.
```
$ python3 dnsexpire.py -o
```
```
usage: dnsexpire.py [-h] [-a] [-o HOST] [-t THREADS] [-v VERBOSE]
options:
-h, --help show this help message and exit
-a, --all also test dead hosts and non alias
-o HOST, --host HOST set host, can be a file or single host
-t THREADS, --threads THREADS
threads, default 10
-v VERBOSE, --verbose VERBOSE
display output, can be: 0=everything, 1=only alias, 2=only possible vulnerable, default 1
```
---

---
Feel free to [open an issue](/../../issues/) if you have any problem with the script.