lets use mdaxfr.poy for faster processing

This commit is contained in:
Dionysus 2024-11-30 01:55:36 -05:00
parent 45c6f9da26
commit 11b125eb2b
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -18,9 +18,19 @@ jobs:
# Full git history needed to track changes # Full git history needed to track changes
fetch-depth: 0 fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install dnspython
- name: Set up environment - name: Set up environment
run: | run: |
chmod +x ./mdaxfr chmod +x ./extras/mdaxfr.py
mkdir -p axfrout mkdir -p axfrout
- name: Run AXFR scan - name: Run AXFR scan
@ -28,7 +38,9 @@ jobs:
curl -s 'https://data.iana.org/TLD/tlds-alpha-by-domain.txt' | \ curl -s 'https://data.iana.org/TLD/tlds-alpha-by-domain.txt' | \
tail -n +2 | \ tail -n +2 | \
tr '[:upper:]' '[:lower:]' | \ tr '[:upper:]' '[:lower:]' | \
./mdaxfr while read domain; do
python ./extras/mdaxfr.py -d "$domain"
done
- name: Configure Git - name: Configure Git
run: | run: |