Datelistinator is a simple and flexible CLI tool written in Python that generates a list of dates between two given dates in a user-defined format.
It is designed as a helper tool for authorized security testing, such as creating date-based wordlists commonly used in password audits and labs.
- Accepts date input in DD-MM-YYYY format
- Generates dates between a given range (inclusive)
- Supports custom output formats using
strftime - Clean command-line interface using
argparse - Input validation with meaningful error messages
- Python 3.x
(No external libraries required)
Clone the repository:
git clone https://github.com/RohanTheProgrammer/datelistinator.git
cd datelistinatorMake the script executable (optional):
chmod +x datelistinator.pypython3 datelistinator.py -i 01-01-2000 -l 05-01-2000This generates a file named datelist.txt with dates in the default format (DDMMYY).
Use the -f flag to specify any valid strftime format:
python3 datelistinator.py -i 01-01-2000 -l 05-01-2000 -f "%Y%m%d"Output:
20000101
20000102
20000103
20000104
20000105
python3 datelistinator.py -i 01-01-2000 -l 31-12-2000 -o dates.txt-
Input dates:
DD-MM-YYYYExample:01-01-2001 -
Output format: Any valid Python
strftimeformat Examples:%d%m%y→010101%d%m%Y→01012001%Y%m%d→20010101
Use the help flag to see all options:
python3 datelistinator.py --helpThis tool is intended for:
- Generating date-based wordlists
- Password auditing (authorized only)
- Cybersecurity labs and CTFs
- Learning and practicing Python CLI development
Rohan
Self-taught cybersecurity student
GitHub: RohanTheProgrammer