#Psutil
Track slow memory leaks in long-running processes. 173-line Python script polls a PID at set intervals via psutil and logs growth over time. Intermediate level, no dependencies beyond psutil. https://www.valtersit.com/python/process-memory-growth-tracker/
Process Memory Growth Tracker
www.valtersit.com
November 15, 2026 at 3:40 AM
Quick Python script to see how your Linux TCP connections break down by state. 133 lines, beginner level, uses psutil. Handy for network debugging. #networking #python #linux https://www.valtersit.com/python/tcp-connection-state-counter/
TCP Connection State Counter
www.valtersit.com
November 11, 2026 at 8:20 AM
in takim smo psutil na vodstvene položaje
November 4, 2026 at 6:34 AM
いつののまにかpsutilのサイトがカッコよくなってる~ psutil.io
psutil: Process and System Utilities for Python
psutil is a cross-platform Python library for retrieving information on running processes and system utilization: CPU, memory, disks, network and sensors.
psutil.io
November 3, 2026 at 8:46 AM
Beginner-friendly 204-line Python script that polls CPU, RAM, disk IO and network and writes metrics to JSON. Handy for checking box health before users complain. #python #infra #psutil https://www.valtersit.com/python/system-metrics-collector-cpu-ram-io-net/
System Metrics Collector (CPU, RAM, IO, Net)
www.valtersit.com
November 1, 2026 at 6:50 AM
gopsutil by @r_rudi (⭐️ 11940)

psutil for golang

#go
October 29, 2026 at 2:27 AM
gopsutil by @r_rudi (⭐️ 11940)

psutil for golang

#go
October 29, 2026 at 2:27 AM
202 lines of Python that pull CPU, memory, disk, network and OS details from any machine into one JSON file. Beginner level, uses psutil. Handy for fleet inventory and audits. #python #sysadmin #devops https://www.valtersit.com/python/system-information-collector-for-inventory/
System Information Collector for Inventory
www.valtersit.com
October 29, 2026 at 1:00 PM
A 220-line beginner Python script that parses kern.log OOM kills and shows swap usage with psutil, so you can see what the kernel killed and why. Runs with --log and --report. #infra #python #linux https://www.valtersit.com/python/swap-usage-analyzer-and-oom-killer-log-parser/
Swap Usage Analyzer and OOM Killer Log Parser
www.valtersit.com
October 28, 2026 at 7:10 AM
Day 21/90: Built a Python system audit script from scratch today.

Three modules: system info collection via psutil, port listener validation against an approved baseline set, and file permission checks on paths like /etc/shadow.

Outputs timestamped JSON you can diff nightly for drift detection.
October 27, 2026 at 1:07 AM
Day 18/90 Python Security: System info gathering

Automated local recon today. Used platform for OS fingerprinting, psutil for NIC enumeration, pwd/grp for user auditing, and dpkg-query for package inventory.

JSON output makes diffing baselines trivial.

#Python #CyberSecurity #InfoSec
October 22, 2026 at 5:44 PM
340 lines of Python, no dependencies beyond rich and psutil. Builds a live terminal dashboard for CPU, memory, disk I/O, network, and top processes, refresh interval configurable. Intermediate level. #python #sysadmin #devops https://www.valtersit.com/python/rich-terminal-dashboard-for-system-stats/
Rich Terminal Dashboard for System Stats
www.valtersit.com
October 21, 2026 at 1:10 AM
the process list is a spectrum viz on its side, and its made by querying the running processes with the psutil library and sorting them in an array by string length. It then dynamically finds the appropriate length and swaps items out in the displayed list in accordance with the volume. super fun
October 20, 2026 at 11:40 PM
Catch Python memory leaks in long-running workers. 219 lines, uses psutil and tracemalloc. python3 mem_leak.py --pid 1234 --interval 10 --alert-mb 500 https://www.valtersit.com/python/memory-leak-detector-for-python-processes/ #python #infra #psutil
Memory Leak Detector for Python Processes
www.valtersit.com
October 16, 2026 at 6:40 PM
gopsutil by @r_rudi (⭐️ 11931)

psutil for golang

#go
October 16, 2026 at 12:14 AM
gopsutil by @r_rudi (⭐️ 11931)

psutil for golang

#go
October 15, 2026 at 1:25 AM
214 lines of Python to watch an interface and alert when throughput passes a threshold. Handy for edge nodes where traffic spikes sneak up. Beginner level, psutil. https://www.valtersit.com/python/network-interface-monitor-and-alerter/ #python #infra #psutil
Network Interface Monitor and Alerter
www.valtersit.com
October 14, 2026 at 6:00 PM
222 lines of Python that watch a process and restart it when it dies. Handles gunicorn workers, daemons, background jobs. Beginner friendly.

https://www.valtersit.com/python/process-monitor-with-auto-restart-policy/

#infra #python #psutil
Process Monitor with Auto-Restart Policy
www.valtersit.com
October 14, 2026 at 3:00 PM
gopsutil by @r_rudi (⭐️ 11929)

psutil for golang

#go
October 7, 2026 at 11:46 PM
Building 9 Zero-Dependency Cybersecurity & DFIR Tools in Pure Python and Win32 API
Hey DEV community! 👋 I'm Çınar, a high school student from Turkey studying low-level systems architecture, Windows internals, and Digital Forensics & Incident Response (DFIR). When an incident responder plugs a triage USB into a compromised enterprise workstation or an isolated host, they cannot run `pip install psutil scapy cryptography`. Furthermore, bundling third-party C-extension wheels across different Windows builds often breaks due to missing Visual C++ Redistributable DLLs. Over the past few months, I challenged myself to build **9 open-source security tools** under one strict engineering rule: **Zero External PyPI Dependencies.** Everything runs strictly on the Python Standard Library (`ctypes`, `struct`, `winreg`, `socket`, `sqlite3`, `math`) and direct Win32 / NT Kernel API calls. Here is the technical breakdown of the suite and how each tool works under the hood! ## 🔍 1. Sub-Second Live Forensics & DFIR ### ⚡ OmniTriage — Live Incident Response Engine ## prox0959 / OmniTriage ### Zero-dependency, sub-second Windows live digital forensics & incident response (DFIR) triage engine for USB responders. In live response, collection order is critical. Calling disk-heavy browsers or registry parsers before capturing active network sockets destroys volatile evidence. **OmniTriage** enforces the **RFC 3227 Order of Volatility** : * **Tier 1 (Volatile Memory & Network):** Active TCP/UDP sockets, DNS cache, and running processes. * **Tier 2 (System & Persistence):** Registry Run keys, ShimCache, and ROT13-decoded UserAssist records. * **Tier 3 (Disk & Application Artifacts):** Locked Chromium SQLite history, PowerShell `ConsoleHost_history.txt`, and temp staging executables. Instead of spawning noisy `wmic.exe` or `tasklist.exe` child processes, OmniTriage calls `kernel32.dll` directly via `ctypes` (`CreateToolhelp32Snapshot`), completing full host triage in **0.88 seconds** from a 10MB Portable Python USB folder while generating a SHA-256 evidence manifest. import ctypes from ctypes import wintypes TH32CS_SNAPPROCESS = 0x00000002 # Captures full process tree in <15ms with zero subprocess creation h_snap = ctypes.windll.kernel32.CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) ### 🕵️‍♂️ ShadowTrace — Program Execution Forensics ## prox0959 / ShadowTrace ### Even if an attacker deletes an executable after running it, Windows retains execution telemetry in the registry. **ShadowTrace** decodes ROT13-obfuscated `UserAssist` keys (`CEBFF5CD...`) and unpacks binary registry structures to recover execution counts, focus duration (ms), and 64-bit `FILETIME` timestamps. ### 🔌 GhostUSB — Removable Storage Hardware Forensics ## prox0959 / GhostUSB ### Parses `USBSTOR` and `USB` registry hives to extract hardware Vendor IDs, Product IDs, firmware revisions, and serial numbers, reconstructing a chronological USB connection timeline for physical exfiltration investigations. ## 🛡️ 2. Windows Internals & Kernel Memory Defense ### 🛡️ MemGuard — LSASS Memory Shield & Handle Auditor ## prox0959 / MemGuard ### Credential dumpers like Mimikatz and ProcDump require a handle to `lsass.exe` with `PROCESS_VM_READ (0x0010)` permissions (`MITRE T1003.001`). * Queries the NT Kernel Handle Table directly from usermode via `ntdll.NtQuerySystemInformation` (`SystemExtendedHandleInformation` / Class 64). * When it catches an unauthorized process holding a read handle to `lsass.exe`, it calls `ntdll.NtSuspendProcess` to **freeze the attacker process in RAM** rather than killing it, preserving volatile evidence for the SOC. * Scans `ntdll.dll` export stubs in memory to detect `0xE9` inline EDR hooks. ### 📋 CryptoClipGuard — Real-Time Clipboard Hijack Shield ## prox0959 / CryptoClipGuard ### Monitors Windows clipboard state changes via Win32 API to defend against crypto-clipper malware. If a background process silently swaps a copied BTC, ETH, SOL, or USDT wallet address, it immediately rolls back the clipboard to the original address and logs the offending PID. ## 📡 3. Network Defense & Information Theory ### 📡 SpectralCovert — Covert Channel & Entropy Leak Detector ## prox0959 / SpectralCovert ### Enterprise firewalls often permit ICMP Echo (Type 8/0) blindly, which APTs abuse to smuggle data inside ping payloads or packet timing. **SpectralCovert** uses two mathematical models: 1. **Payload Tunneling via Normalized Shannon Entropy (`H(X)`):** Separates deterministic OS ping padding from AES/XOR encrypted exfiltration streams. 2. **Timing Channels via Sarle's Bimodality Coefficient (`BC > 0.555`):** Analyzes Inter-Packet Delays (IPD) using skewness and kurtosis to detect and automatically decode hidden binary bitstreams in packet jitter. import math from collections import Counter def normalized_shannon_entropy(data: bytes) -> float: if not data: return 0.0 length = len(data) counts = Counter(data) entropy = -sum((c / length) * math.log2(c / length) for c in counts.values()) return entropy / 8.0 # Normalized to [0.0, 1.0] ### 🌐 ProxNet — Live Network Threat Visualizer & IDS ## prox0959 / ProxNet ### Combines active ARP discovery, OUI vendor lookup, and TTL OS fingerprinting with a live **D3.js force-directed physics graph** over WebSockets to flag ARP spoofing and exposed management ports (`445 SMB`, `3389 RDP`). ## 🤖 4. AI Security & Behavioral Biometrics ### 🤖 PromptSentry — Deterministic AI Prompt Injection Firewall ## prox0959 / PromptSentry ### A sub-millisecond (~0.18ms) reverse proxy gateway protecting LLMs (`OWASP LLM01`). Applies **Unicode NFKC normalization** to neutralize Cyrillic/Greek homoglyph bypasses, strips invisible zero-width characters (`U+200B`), decodes smuggled Base64/Hex payloads, and evaluates structural jailbreak heuristics before token consumption. ### 🧬 KeyDNA — Keystroke Dynamics Biometric Authentication ## prox0959 / KeyDNA ### Captures microsecond keystroke **Dwell Time** and **Flight Time** in JavaScript. Even if an attacker steals a plaintext password, KeyDNA blocks login attempts when the typing rhythm deviates from the user's statistical profile. ## 🚀 Full Portfolio & Feedback All 9 tools are MIT licensed and available on my GitHub profile: 👉 **github.com/prox0959** I'm currently preparing for university admissions in Computer Science (targeting ETH Zurich) and building out my next tool focused on deterministic antivirus false-positive reduction. If you have any feedback on the code, Win32 API implementations, or forensic methodology, I'd love to hear your thoughts in the comments!
dev.to
September 25, 2026 at 5:47 PM
When creators of a proprietary agent tool build first-class support for open-weights Gemma 4 26B, LiteRT-LM, vLLM & Ollama, the signal is clear: real-world AI needs local & open source in the mix. w/ @developers.google.com @ntaylormullen.bsky.social @rodydavis.com https://goo.gle/agy-local-ai
September 25, 2026 at 5:02 PM
gopsutil by @r_rudi (⭐️ 11924)

psutil for golang

#go
September 23, 2026 at 11:54 AM
System metrics matter. This 80-line beginner script polls CPU, RAM, IO, and network via psutil, saving to JSON. Run it with --interval and --output. https://www.valtersit.com/python/system-metrics-collector-cpu-ram-io-net/ #Python #SysAdmin #DevOps
September 11, 2026 at 2:20 AM
5/6

python-gallery-dl-1.32.11-x86_64-1cf.txz: Upgraded.
python-pikepdf-10.13.0.post1-x86_64-1cf.txz: Upgraded.
python-publicsuffixlist-1.0.2.20260906-x86_64-1cf.txz: Upgraded.
python-types-psutil-7.2.2.20260906-x86_64-1cf.txz: Upgraded.
rclone-1.75.1-x86_64-1cf.txz: Upgraded.
September 6, 2026 at 2:31 PM