cramppet/regulator
cramppet/regulator has 390 GitHub stars and 47 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-17 23:17 UTC. Last push 2023-02-18.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
Automated learning of regexes for DNS discovery
학습README.md
OriginalProject REGULATOR: Automated learning of regexes for DNS discovery
I had a lot of fun making this and I hope this project will change the way you see subdomain enumeration. The method explored here is highly effective and efficient.
With this said, it's not a silver bullet. Not every DNS zone performs well with this method. It fails when there are no latent text structures in the hostnames (ie. they are seemingly random) or you have limited observational data.
This project was developed primarily to showcase the power of regular language
ranking via the dank (https://github.com/cramppet/dank) library. I wanted to
show that the concept of ranking and using regexes as templates for fuzzing can
work very well.
For more information see the blog post here: https://cramppet.github.io/regulator/index.html
Install
- clone the repository
- install the dependencies
pip3 install -r requirements.txt
Usage
- Run your subdomain enumeration tool of choice
- Supply the hostnames found to REGULATOR:
python3 main.py -t <target.com> -f <hosts-file> -o <output-file>
Example
python3 main.py -t adobe.com -f adobe.subs -o adobe.brutepuredns resolve adobe.brute --write adobe.valid
Be advised that the discovered hosts will overlap with your original input data. If you want the subdomains that were not previously found by the subdomain enumeration tool, use the following command:
comm -23 <(sort -u adobe.valid) <(sort -u adobe.subs) > adobe.final