Category: DevOps/Sysadmin hacks

Posted in DevOps/Sysadmin hacks

Navigating Phishing Attacks on My Mail Server: Lessons Learned and Effective Security Strategies

What to do if your mail server is targeted by phishing? One of the users of my…

Posted in DevOps/Sysadmin hacks

How to set Timezone and Region to all computers of Active Directory

I needed to massively change the region and timezone settings for all computers. To do this, I…

Posted in DevOps/Sysadmin hacks

macOS hacks

How to create and run virtual environment on macOS? python3 -m venv venv source venv/bin/activate  

Posted in DevOps/Sysadmin hacks Python

iLo server power on Python script for Telegram Bot

Having a Python Telegram bot with the function to power on servers through HP iLO can be…

Posted in DevOps/Sysadmin hacks Python

Automatic gracefully shutdown of virtual machines and ESXI hypervisor from telegram bot

Having a Telegram bot interface to control your network can be convenient for a few reasons: Remote…

Posted in DevOps/Sysadmin hacks

Windows hacks

sfc /scannow termsrv.dll error Run regedit and run Find on: x86_microsoft-windows-t..teconnectionmanager_31bf3856ad364e35_6.0.6001.18000_none_8e9f41c854441762 (as in sbs.log)

Posted in DevOps/Sysadmin hacks

GNU/Linux hacks

Show folders size sorted: root@mail:~# du -h –max-depth=1 /home/admin/mail/evgdev.com/ | sort -h   Route tricks Show routes:…

Posted in DevOps/Sysadmin hacks

Mikrotik hacks

How to install Python and Virtual Environment on RouterOS Mikrotik?