commit 06812f6f456508c3b3d5111a7fb5a93e1623ccff Author: Andrii Syrovatko Date: Fri Apr 10 11:54:32 2026 +0300 Initial commit with first tool "anydesk-id-reseter.bat" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2aa9401 --- /dev/null +++ b/.gitignore @@ -0,0 +1,29 @@ +# Build and Release Folders +bin-debug/ +bin-release/ +[Oo]bj/ +[Bb]in/ + +# Other files and folders +.settings/ +logs/ +.logs/ +sps_logs/* +.sps_logs/* + +# Executables +*.conf +*.swf +*.air +*.ipa +*.apk +*.log +*.tmp +*.log* +*.html* +*tmp_* +*variables* + +# Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties` +# should NOT be excluded as they contain compiler settings and other important +# information for Eclipse / Flash Builder. \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..08b02df --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Andrii Syrovatko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..19b0b8b --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# 🛠 S4K Admin Toolbox + +A collection of battle-tested scripts and utilities for system administrators, DevOps engineers, and power users. This repository serves as a "Swiss Army Knife" for automating routine tasks across Windows and Linux environments. + +--- + +### 📂 Navigation Table + +| OS | Stack | Utility Name | Description | Status | +| :--- | :--- | :--- | :--- | :--- | +| ![Windows](https://img.shields.io/badge/Windows-0078D6?style=flat-square&logo=windows&logoColor=white) | ![Batch](https://img.shields.io/badge/-Batch-4D4D4D?style=flat-square) | [AnyDesk Reset](./tools/windows/apps-reset/anydesk-id-reseter.bat) | Terminate [AnyDesk](https://anydesk.com/en) & clear config files (`ID reset`) | ✅ Stable | +| ![Linux](https://img.shields.io/badge/Linux-FCC624?style=flat-square&logo=linux&logoColor=black) | ![Bash](https://img.shields.io/badge/-Bash-4EAA25?style=flat-square) | [PSQL NFS Backup](https://github.com/andsyrovatko/s4k-psql-db-backuper) | Automation for [PostgreSQL](https://www.postgresql.org/) dumps with [NFS](https://en.wikipedia.org/wiki/Network_File_System) & [Telegram](https://telegram.org/) | 🔗 External | +| ![Linux](https://img.shields.io/badge/Linux-FCC624?style=flat-square&logo=linux&logoColor=black) | ![Bash](https://img.shields.io/badge/-Bash-4EAA25?style=flat-square) | [Whois Infrastructure Automator (for ISPs)](https://github.com/andsyrovatko/s4k-billing-whois-automator) | Automation for Whois DB update by billing system | 🔗 External | +| ![Linux](https://img.shields.io/badge/Linux-FCC624?style=flat-square&logo=linux&logoColor=black) | ![Bash](https://img.shields.io/badge/-Bash-4EAA25?style=flat-square) | [IP Manager for ISPs (Billing ↔ IPSET)](https://github.com/andsyrovatko/s4k-ip-manager) | Automation IP management by billing or external system for ISPs | 🔗 External | +| ![Linux](https://img.shields.io/badge/Linux-FCC624?style=flat-square&logo=linux&logoColor=black) | ![Py](https://img.shields.io/badge/-Python-3776AB?style=flat-square) | [Modbus Relay Control](https://github.com/andsyrovatko/s4k-modbus-relay-controler) | Low-level Python control for [ETH/PoE Modbus relays](https://www.waveshare.com/wiki/Modbus_POE_ETH_Relay?srsltid=AfmBOoqDfhxMpq6XIjLOi5PfurPm9UrAKqPETNzlvKPQ37xGBWnWiX41) | ⏳ Pending | + +--- + +### ⚠️ Disclaimer +> **Use at your own risk!** These scripts are designed for administrative tasks and may perform destructive actions (like killing processes or deleting config files). The author is not responsible for any data loss or system instability. Always test in a sandbox environment first. + +--- + +### ⚖️ License +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. diff --git a/tools/windows/apps-reset/anydesk-id-reseter.bat b/tools/windows/apps-reset/anydesk-id-reseter.bat new file mode 100644 index 0000000..2eaa716 --- /dev/null +++ b/tools/windows/apps-reset/anydesk-id-reseter.bat @@ -0,0 +1,17 @@ +@echo off + +echo [1/2] Closing AnyDesk... +taskkill /F /IM "AnyDesk.exe" /T 2>nul + +echo [2/2] Removing AnyDesk cfg files (service.conf AND system.conf)... +del /F /Q "%appdata%\AnyDesk\service.conf" 2>nul +del /F /Q "%appdata%\AnyDesk\system.conf" 2>nul + +echo. +echo ======================================== +echo Script done it's work successfully! +echo Now you can start AnyDesk again. +echo ======================================== +echo. + +pause