From 11b125eb2bf49386b7cd2330620a5a4cc76aa1ba Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sat, 30 Nov 2024 01:55:36 -0500 Subject: [PATCH] lets use mdaxfr.poy for faster processing --- .github/workflows/daily-axfr.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/daily-axfr.yml b/.github/workflows/daily-axfr.yml index 6658c8f..102c04b 100644 --- a/.github/workflows/daily-axfr.yml +++ b/.github/workflows/daily-axfr.yml @@ -18,9 +18,19 @@ jobs: # Full git history needed to track changes 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 run: | - chmod +x ./mdaxfr + chmod +x ./extras/mdaxfr.py mkdir -p axfrout - name: Run AXFR scan @@ -28,7 +38,9 @@ jobs: curl -s 'https://data.iana.org/TLD/tlds-alpha-by-domain.txt' | \ tail -n +2 | \ tr '[:upper:]' '[:lower:]' | \ - ./mdaxfr + while read domain; do + python ./extras/mdaxfr.py -d "$domain" + done - name: Configure Git run: |