Some update

This commit is contained in:
Sefinek 2025-03-21 10:24:23 +01:00
parent 54e36e8867
commit f0df723587
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
"name": "cf-waf-to-abuseipdb",
"version": "1.6.0",
"description": "Node.js script for automatically reporting incidents to AbuseIPDB using data obtained from Cloudflare WAF.",
"homepage": "https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB",
"homepage": "https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB#readme",
"bugs": {
"url": "https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB/issues"
},

View file

@ -1,7 +1,7 @@
const { MAIN } = require('../config.js').CONFIG;
const { version, homepage } = require('../package.json');
const { version } = require('../package.json');
const UserAgent = `Mozilla/5.0 (compatible; Cloudflare-WAF-To-AbuseIPDB/${version}; +${homepage})`;
const UserAgent = `Mozilla/5.0 (compatible; Cloudflare-WAF-To-AbuseIPDB/${version}; +https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB)`;
const CLOUDFLARE = {
'User-Agent': UserAgent,