Skip to content

Commit

Permalink
Update findredundant.yml
Browse files Browse the repository at this point in the history
Use curl instead of wget
  • Loading branch information
Chocolate4U committed Sep 26, 2023
1 parent 563fb5c commit e5d34d3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/findredundant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,26 @@ jobs:
- name: Install PowerShell 7.3
run: |
wget https://github.com/PowerShell/PowerShell/releases/download/v7.3.7/powershell_7.3.7-1.deb_amd64.deb
curl -sSLO https://github.com/PowerShell/PowerShell/releases/download/v7.3.7/powershell_7.3.7-1.deb_amd64.deb
sudo dpkg -i powershell_7.3.7-1.deb_amd64.deb
- name: Get Check-domains script
run: wget https://raw.githubusercontent.com/Chocolate4U/Domain-Health-Checker/main/Check-domains.ps1
- name: Get Check-Domains script
run: curl -sSLO https://raw.githubusercontent.com/Chocolate4U/Domain-Health-Checker/main/Check-Domains.ps1

- name: Get domains
run: curl -sSL https://github.com/bootmortis/iran-hosted-domains/releases/latest/download/domains.txt | grep -Ev ".+\.ir$" | sort -u > domains.txt

- name: Check Domains with Cloudflare
shell: pwsh
run: |
.\Check-domains.ps1 -Mode DOH -DOHServer Cloudflare -Http3 -Concurrency 100 -Quiet
.\Check-Domains.ps1 -Mode DOH -DOHServer Cloudflare -Http3 -Concurrency 100 -Quiet
New-Item -Name "Cloudflare" -ItemType "directory"
Move-Item -Path "./Results-DOH.csv" -Destination "./Cloudflare"
- name: Check Domains with Google
shell: pwsh
run: |
.\Check-domains.ps1 -Mode DOH -DOHServer Google -Http3 -Concurrency 100 -Quiet
.\Check-Domains.ps1 -Mode DOH -DOHServer Google -Http3 -Concurrency 100 -Quiet
New-Item -Name "Google" -ItemType "directory"
Move-Item -Path "./Results-DOH.csv" -Destination "./Google"
Expand Down

0 comments on commit e5d34d3

Please sign in to comment.