Advertisement
Open Source Projects by Phil Schwartz

Articles

Building a Python Detector for Rogue DHCP ServersA rogue DHCP server can quietly redirect devices to the wrong gateway, DNS resolver, or network segment. It may be caused by a misconfigured access point, an…
A practical Python rate limiter for CLI applicationsA command-line tool can overwhelm an API surprisingly quickly. A shell loop, parallel job, or retrying script may send hundreds of requests before a user…
Building a Python DNS Updater for Reliable IP ChangesA changing public IP address can make a home lab, small office service, or remote access host difficult to reach. A Python script that detects the current…
Monitoring per-process disk I/O on Linux with Python and /procWhen a Linux server starts thrashing its disks, knowing the culprit process can turn a stressful evening into a quick fix. Whether you run a small Flask app on…
Building Hierarchical Settings in Python With configparserMost Python developers eventually hit configuration sprawl. One file for the database, another for feature flags, a third for environment overrides, and nobody…
Building a Python Port Scanner with Custom Banner GrabbingNetwork reconnaissance remains a valuable skill for sysadmins and developers who need to audit their own infrastructure. From a small coffee shop WiFi setup in…
SSH Brute Force Attempts With a Python ScriptEvery Linux server exposed to the internet collects a steady stream of failed SSH authentication attempts. Bots from compromised hosts in Brazil, Vietnam, and…
Colour-coded clarity: writing a Python module for log level outputAnyone who has spent a late arvo staring at a wall of grey log lines knows the pain of scanning for the one error that matters. When I was maintaining…
Building an asynchronous HTTP load tester with Python asyncioWhen your team runs a popular Australian e-commerce platform and Black Friday sales are looming, knowing how your checkout API behaves under a flood of…
Building a Recursive Directory Comparison Utility in PythonSystem administrators and developers across Sydney, Melbourne, and Perth regularly wrestle with the question of whether two folder trees are truly identical. A…