mdaxfr

- Mass DNS AXFR
git clone git://git.acid.vegas/mdaxfr.git
Log | Files | Refs | Archive | README | LICENSE

commit 11b125eb2bf49386b7cd2330620a5a4cc76aa1ba
parent 45c6f9da265e70d2f35cceb441b0a38b525b21de
Author: acidvegas <acid.vegas@acid.vegas>
Date: Sat, 30 Nov 2024 01:55:36 -0500

lets use mdaxfr.poy for faster processing

Diffstat:
M.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
@@ -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: |