diff --git a/README.md b/README.md index a22f94e..4ccf9f8 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ A tool that analyzes UFW firewall logs and reports malicious IP addresses to the [AbuseIPDB](https://www.abuseipdb.com) database. If you like this repository or find it useful, I would greatly appreciate it if you could give it a star ⭐. Thanks a lot! -See also this: [sefinek24/Node-Cloudflare-WAF-AbuseIPDB](https://github.com/sefinek24/Node-Cloudflare-WAF-AbuseIPDB) +See also this: [sefinek/Node-Cloudflare-WAF-AbuseIPDB](https://github.com/sefinek/Node-Cloudflare-WAF-AbuseIPDB) > [!IMPORTANT] > If you'd like to make changes to any files in this repository, please start by creating a [public fork](https://github.com/sefinek/UFW-AbuseIPDB-Reporter/fork). @@ -33,7 +33,7 @@ See also this: [sefinek24/Node-Cloudflare-WAF-AbuseIPDB](https://github.com/sefi ## 🧪 Tested operating systems - **Ubuntu Server:** 20.04 & 22.04 -If the distribution you're using to run the tool isn't listed here and the script works correctly, please create a new [Issue](https://github.com/sefinek24/UFW-AbuseIPDB-Reporter/issues). I'll add its name to the list. +If the distribution you're using to run the tool isn't listed here and the script works correctly, please create a new [Issue](https://github.com/sefinek/UFW-AbuseIPDB-Reporter/issues). I'll add its name to the list. ## 📥 How to install? @@ -51,7 +51,7 @@ sudo apt install -y ufw curl jq openssl ### ✅ Installation To install this tool, run the following command in the terminal (`sudo` is required): ```bash -sudo bash -c "$(curl -s https://raw.githubusercontent.com/sefinek24/UFW-AbuseIPDB-Reporter/main/install.sh)" +sudo bash -c "$(curl -s https://raw.githubusercontent.com/sefinek/UFW-AbuseIPDB-Reporter/main/install.sh)" ``` The installation script will automatically download and configure the tool on your server. During installation, you will be asked to provide an [AbuseIPDB API token](https://www.abuseipdb.com/account/api). @@ -84,12 +84,12 @@ Packet length: 48 TOS: 0x08 This report (for 46.174.191.31) was generated by: -https://github.com/sefinek24/UFW-AbuseIPDB-Reporter +https://github.com/sefinek/UFW-AbuseIPDB-Reporter ``` ## 🤝 Development -If you want to contribute to the development of this project, feel free to create a new [Pull request](https://github.com/sefinek24/UFW-AbuseIPDB-Reporter/pulls). I will definitely appreciate it! +If you want to contribute to the development of this project, feel free to create a new [Pull request](https://github.com/sefinek/UFW-AbuseIPDB-Reporter/pulls). I will definitely appreciate it! ## 🔑 GPL-3.0 License Copyright 2024 © by [Sefinek](https://sefinek.net). All rights reserved. See the [LICENSE](LICENSE) file for more information. \ No newline at end of file diff --git a/README_PL.md b/README_PL.md index 5d22e3b..3aa5d5b 100644 --- a/README_PL.md +++ b/README_PL.md @@ -7,7 +7,7 @@ Narzędzie, które analizuje logi firewalla UFW i zgłasza złośliwe adresy IP do bazy danych [AbuseIPDB](https://www.abuseipdb.com). Jeśli podoba Ci się to repozytorium lub uważasz je za przydatne, byłbym bardzo wdzięczny, gdybyś mógł dać mu gwiazdkę ⭐. Wielkie dzięki! -Zobacz również to: [sefinek24/Node-Cloudflare-WAF-AbuseIPDB](https://github.com/sefinek24/Node-Cloudflare-WAF-AbuseIPDB) +Zobacz również to: [sefinek/Node-Cloudflare-WAF-AbuseIPDB](https://github.com/sefinek/Node-Cloudflare-WAF-AbuseIPDB) > [!IMPORTANT] > Jeśli chcesz wprowadzić zmiany do jakichkolwiek plików w tym repozytorium, zacznij od utworzenia [publicznego forka](https://github.com/sefinek/UFW-AbuseIPDB-Reporter/fork). @@ -33,7 +33,7 @@ Zobacz również to: [sefinek24/Node-Cloudflare-WAF-AbuseIPDB](https://github.co ## 🧪 Testowane systemy operacyjne - **Ubuntu Server:** 20.04 i 22.04 -Jeśli dystrybucja, której używasz do uruchomienia narzędzia, nie jest tutaj wymieniona, a skrypt działa poprawnie, utwórz nowy [Issue](https://github.com/sefinek24/UFW-AbuseIPDB-Reporter/issues). Dodam nazwę distra do listy. +Jeśli dystrybucja, której używasz do uruchomienia narzędzia, nie jest tutaj wymieniona, a skrypt działa poprawnie, utwórz nowy [Issue](https://github.com/sefinek/UFW-AbuseIPDB-Reporter/issues). Dodam nazwę distra do listy. ## 📥 Jak zainstalować? @@ -51,7 +51,7 @@ sudo apt install -y ufw curl jq openssl ### ✅ Instalacja Aby zainstalować to narzędzie, wykonaj poniższą komendę w terminalu (`sudo` jest wymagane): ```bash -sudo bash -c "$(curl -s https://raw.githubusercontent.com/sefinek24/UFW-AbuseIPDB-Reporter/main/install.sh)" +sudo bash -c "$(curl -s https://raw.githubusercontent.com/sefinek/UFW-AbuseIPDB-Reporter/main/install.sh)" ``` Skrypt instalacyjny automatycznie pobierze i skonfiguruje narzędzie na Twoim serwerze. Podczas instalacji zostaniesz poproszony o podanie [tokena API z AbuseIPDB](https://www.abuseipdb.com/account/api). @@ -84,12 +84,12 @@ Packet length: 48 TOS: 0x08 This report (for 46.174.191.31) was generated by: -https://github.com/sefinek24/UFW-AbuseIPDB-Reporter +https://github.com/sefinek/UFW-AbuseIPDB-Reporter ``` ## 🤝 Rozwój -Jeśli chcesz przyczynić się do rozwoju tego projektu, śmiało stwórz nowy [Pull request](https://github.com/sefinek24/UFW-AbuseIPDB-Reporter/pulls). Z pewnością to docenię! +Jeśli chcesz przyczynić się do rozwoju tego projektu, śmiało stwórz nowy [Pull request](https://github.com/sefinek/UFW-AbuseIPDB-Reporter/pulls). Z pewnością to docenię! ## 🔑 Licencja GPL-3.0 Copyright 2024 © by [Sefinek](https://sefinek.net). Wszelkie prawa zastrzeżone. Zobacz plik [LICENSE](LICENSE), aby dowiedzieć się więcej. \ No newline at end of file diff --git a/install.sh b/install.sh index c394531..36bec9a 100644 --- a/install.sh +++ b/install.sh @@ -1,12 +1,12 @@ #!/bin/bash ### -# https://github.com/sefinek24/UFW-AbuseIPDB-Reporter +# https://github.com/sefinek/UFW-AbuseIPDB-Reporter ## VERSION="1.0.3" DATE="31.10.2024" -REPO="https://github.com/sefinek24/UFW-AbuseIPDB-Reporter" +REPO="https://github.com/sefinek/UFW-AbuseIPDB-Reporter" cat << "EOF" _ _ ___ ____ ____ ____ @@ -102,7 +102,7 @@ fi echo "INFO: Installation directory created successfully" # Download the reporter.sh script -GITHUB_URL="https://raw.githubusercontent.com/sefinek24/UFW-AbuseIPDB-Reporter/main/reporter.sh" +GITHUB_URL="https://raw.githubusercontent.com/sefinek/UFW-AbuseIPDB-Reporter/main/reporter.sh" echo "INFO: Downloading reporter.sh from $GITHUB_URL" if ! download_file "$GITHUB_URL" "$script_path"; then echo "ERROR: Failed to download reporter.sh from GitHub! Please check your permissions!" diff --git a/reporter.sh b/reporter.sh index 93229d4..839f07e 100644 --- a/reporter.sh +++ b/reporter.sh @@ -1,7 +1,7 @@ #!/bin/bash ### -# https://github.com/sefinek24/UFW-AbuseIPDB-Reporter +# https://github.com/sefinek/UFW-AbuseIPDB-Reporter ## LOG_FILE="/var/log/ufw.log" @@ -89,7 +89,7 @@ TOS: $tos" comment+=" This report (for $ip) was generated by: -https://github.com/sefinek24/UFW-AbuseIPDB-Reporter" # Please do not remove the URL to the repository of this script. I would be really grateful. 💙 +https://github.com/sefinek/UFW-AbuseIPDB-Reporter" # Please do not remove the URL to the repository of this script. I would be really grateful. 💙 local res if command -v curl >/dev/null 2>&1; then