diff --git a/README.md b/README.md
index 5901c0b..bb493c0 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ Also, take a look at [sefinek/UFW-AbuseIPDB-Reporter](https://github.com/sefinek
## 📃 Information
-If you want to make changes to the script from this repository, please kindly [fork](https://github.com/sefinek/Node-Cloudflare-WAF-AbuseIPDB/fork) it first.
+If you want to make changes to the script from this repository, please kindly [fork](https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB/fork) it first.
## 🌌 Example Report
@@ -31,7 +31,7 @@ Ray ID: 8c53354d5c885c4d
Rule ID: badscore
UA: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Safari/537.36
-Report generated by Node-Cloudflare-WAF-AbuseIPDB https://github.com/sefinek/Node-Cloudflare-WAF-AbuseIPDB
+Report generated by Cloudflare-WAF-To-AbuseIPDB https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB
```
@@ -42,7 +42,7 @@ Report generated by Node-Cloudflare-WAF-AbuseIPDB https://github.com/sefinek/Nod
## 📥 Installation
1. Clone the repository.
```bash
- git clone https://github.com/sefinek/Node-Cloudflare-WAF-AbuseIPDB.git
+ git clone https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB.git
```
2. Install dependencies.
```bash
@@ -92,7 +92,7 @@ Visit [www.abuseipdb.com/account/api](https://www.abuseipdb.com/account/api).
## 😉 Issues and Pull requests
-If you need help or have any questions, feel free to create a new [Issue](https://github.com/sefinek/Node-Cloudflare-WAF-AbuseIPDB/issues). If you'd like to contribute to the project, go ahead and open a [Pull request](https://github.com/sefinek/Node-Cloudflare-WAF-AbuseIPDB/pulls). Thank you!
+If you need help or have any questions, feel free to create a new [Issue](https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB/issues). If you'd like to contribute to the project, go ahead and open a [Pull request](https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB/pulls). Thank you!
## 💕 Credits
diff --git a/package-lock.json b/package-lock.json
index a4fa39c..c8ae254 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "waf-to-abuseipdb",
- "version": "1.1.8",
+ "version": "1.1.9",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "waf-to-abuseipdb",
- "version": "1.1.8",
+ "version": "1.1.9",
"license": "MIT",
"dependencies": {
"axios": "^1.7.7",
diff --git a/package.json b/package.json
index 790edaa..b37e54e 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "waf-to-abuseipdb",
- "version": "1.1.8",
- "description": "A Node.js project that enables automatic reporting of incidents detected by Cloudflare WAF to the AbuseIPDB database.",
+ "version": "1.1.9",
+ "description": "A Node.js project that automates the reporting of incidents detected by Cloudflare WAF to the AbuseIPDB database.",
"keywords": [
"abuseipdb",
"cloudflare",
@@ -11,13 +11,13 @@
"abuseipdb-reporting",
"node-abuseipdb"
],
- "homepage": "https://github.com/sefinek/Node-Cloudflare-WAF-AbuseIPDB#readme",
+ "homepage": "https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB",
"bugs": {
- "url": "https://github.com/sefinek/Node-Cloudflare-WAF-AbuseIPDB/issues"
+ "url": "https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB/issues"
},
"repository": {
"type": "git",
- "url": "git+https://github.com/sefinek/Node-Cloudflare-WAF-AbuseIPDB.git"
+ "url": "git+https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB.git"
},
"license": "MIT",
"author": "Sefinek (https://sefinek.net)",
diff --git a/scripts/generateComment.js b/scripts/generateComment.js
index 75dc3c4..df17d68 100644
--- a/scripts/generateComment.js
+++ b/scripts/generateComment.js
@@ -19,5 +19,5 @@ module.exports = it => {
return `Triggered Cloudflare WAF (${it.source}) from ${it.clientCountryName}.
${reportLines.join('\n')}
-Report generated by Node-Cloudflare-WAF-AbuseIPDB https://github.com/sefinek/Node-Cloudflare-WAF-AbuseIPDB`;
+Report generated by Cloudflare-WAF-To-AbuseIPDB https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB`;
};
\ No newline at end of file
diff --git a/scripts/headers.js b/scripts/headers.js
index b05d35b..7317a5b 100644
--- a/scripts/headers.js
+++ b/scripts/headers.js
@@ -14,4 +14,4 @@ const ABUSEIPDB = {
'Key': process.env.ABUSEIPDB_API_KEY,
};
-module.exports = { CLOUDFLARE, ABUSEIPDB };
\ No newline at end of file
+module.exports = { UserAgent, CLOUDFLARE, ABUSEIPDB };
\ No newline at end of file
diff --git a/services/axios.js b/services/axios.js
index cec73a1..a79c405 100644
--- a/services/axios.js
+++ b/services/axios.js
@@ -1,7 +1,8 @@
const axios = require('axios');
+const { UserAgent } = require('../scripts/headers.js');
const { version } = require('../package.json');
-axios.defaults.headers.common['User-Agent'] = `Mozilla/5.0 (compatible; WAF-To-AbuseIPDB/${version}; +https://github.com/sefinek/Node-Cloudflare-WAF-AbuseIPDB)`;
-axios.defaults.timeout = 12000;
+axios.defaults.headers.common['User-Agent'] = UserAgent;
+axios.defaults.timeout = 9000;
module.exports = { axios, moduleVersion: version };
\ No newline at end of file