Merge branch 'master' of github.com:lissy93/web-check into FEAT/astroify

This commit is contained in:
Alicia Sykes
2024-06-16 21:18:41 +01:00
8 changed files with 414 additions and 376 deletions

View File

@ -91,6 +91,14 @@ const firewallHandler = async (url) => {
return hasWaf('IBM WebSphere DataPower');
}
if (headers['server'] && headers['server'].includes('QRATOR')) {
return hasWaf('QRATOR WAF');
}
if (headers['server'] && headers['server'].includes('ddos-guard')) {
return hasWaf('DDoS-Guard WAF');
}
return {
hasWaf: false,
}