Skip to content

Commit

Permalink
Merge pull request #143 from n0a/patch-2
Browse files Browse the repository at this point in the history
Update firewall.js, add ddos-guard WAF
  • Loading branch information
Lissy93 authored May 18, 2024
2 parents a59c335 + 7125eef commit c30e3a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/firewall.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ const handler = async (url) => {
return hasWaf('QRATOR WAF');
}

if (headers['server'] && headers['server'].includes('ddos-guard')) {
return hasWaf('DDoS-Guard WAF');
}

return {
hasWaf: false,
}
Expand Down

0 comments on commit c30e3a0

Please sign in to comment.