Rename file
This commit is contained in:
parent
87458dd38c
commit
422fa5f7e7
3 changed files with 4 additions and 4 deletions
|
|
@ -20,7 +20,7 @@ Also, check this out: [sefinek/Cloudflare-WAF-To-AbuseIPDB](https://github.com/s
|
||||||
|
|
||||||
|
|
||||||
## ✅ Features
|
## ✅ Features
|
||||||
1. A [`config.js`](default.config.js) file enabling easy configuration.
|
1. A [`config.js`](config.default.js) file enabling easy configuration.
|
||||||
2. A simple installer allowing quick integration deployment.
|
2. A simple installer allowing quick integration deployment.
|
||||||
3. Integration with Discord Webhooks (coming soon):
|
3. Integration with Discord Webhooks (coming soon):
|
||||||
- Alerts in case of script errors
|
- Alerts in case of script errors
|
||||||
|
|
@ -61,7 +61,7 @@ cd ~
|
||||||
git clone https://github.com/sefinek/UFW-AbuseIPDB-Reporter.git
|
git clone https://github.com/sefinek/UFW-AbuseIPDB-Reporter.git
|
||||||
cd UFW-AbuseIPDB-Reporter
|
cd UFW-AbuseIPDB-Reporter
|
||||||
npm install
|
npm install
|
||||||
cp default.config.js config.js
|
cp config.default.js config.js
|
||||||
sudo chmod 644 /var/log/ufw.log
|
sudo chmod 644 /var/log/ufw.log
|
||||||
node .
|
node .
|
||||||
^C
|
^C
|
||||||
|
|
|
||||||
|
|
@ -177,8 +177,8 @@ npm install -silent
|
||||||
if [ -e config.js ]; then
|
if [ -e config.js ]; then
|
||||||
echo "✅ config.js already exists"
|
echo "✅ config.js already exists"
|
||||||
else
|
else
|
||||||
echo "📑 Copying default.config.js to config.js..."
|
echo "📑 Copying config.default.js to config.js..."
|
||||||
cp default.config.js config.js
|
cp config.default.js config.js
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Update config.js with API token, Server ID, and UFW log path
|
# Update config.js with API token, Server ID, and UFW log path
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue