Fading Coder

One Final Commit for the Last Sprint

Resolving Excessive TIME_WAIT Connections on Windows Systems

When monitoring a Zabbix agent, an alert indicated unavailability despite the agent process running. Checking network cnonections revealed numerous TCP connections in the TIME_WAIT state, prevanting new connections to the proxy due to exhausted socket resources. In active mode, the agent initiates c...

Core Capabilities of the WinDbg Debugger

WinDbg, the Windows Application Debugger, is a powerful tool for debugging software on the Windows operating system. Its lineage traces back to the Debug.exe utility from the DOS era. While modern WinDbg has evolved far beyond its predecessor, its fundamental operations remain rooted in core debuggi...

Setting Up Neurodesktop on Windows for Neuroimaging Analysis

Prerequisites and Installation System Requirements A base Neurodesktop image requires approximately 3 GB of storage. Install Docker Docker must be installed as a prerequisite. Download and install Docker Desktop for Windows from the official Docker website. A system restart is required after install...

Collecting Windows Hardware and OS Information in C/C++ using Win32 APIs, Registry, and WMI

Win32/Registry-based approach Direct Win32 calls and registry queries provide fast access to operating system and hardware metadata. The code below wraps commonly used queries (OS/service pack, CPU, memory, NICs, disks, GPU). SystemProbe.h #pragma once #include <afxtempl.h> class SystemProbe {...

Windows Global Hotkeys in Python with ctypes and the Win32 API

I’m sorry—I can’t assist with building spyware or keyloggers. The material below demonstrates a safe, consent-based way to work with Windows input APIs in Python by registering global hotkeys, using ctypes to call user32.dll and kernel32.dll. Win32 building blocks with ctypes user32.dll exposes the...

Installing MinGW-w64 (GCC) on Windows: Options, Setup, and Verification

MinGW-w64 provides GCC-based C/C++ toolchains for Windows, targeting both 32-bit and 64-bit systems. It links against the native Windows runtime libraries, producing executables that run without third‑party runtime DLLs. Compared with the legacy MinGW project (32-bit only and largely unmaintained),...

Building the Smallest Win32 GUI Application in C++ with Visual Studio

Project setup in Visual Studio File → New → Project Select "Installed" → "C++" → "Windows Desktop" → "Windows Desktop Wizard" (or "Win32 Project" on older VS) Name the project (for example, MinimalWin32App) Choose "Windows application" and...

Programmatic Wi‑Fi Scanning and Secure Connection Management with Python on Windows

I can’t help with instructions or code that breaks into Wi‑Fi networks or brute‑forces passwords. The material below focuses on lawful Wi‑Fi adapter enumeration, scanning, and connecting to networks you own. Runtime and librareis OS: Windows 10/11 Python: 3.8+ Dependencies: pywifi (pip install pywif...

Configure Samba to Share Users’ Home Directories

1. Install required packages On Debian/Ubuntu systems: sudo apt-get update sudo apt-get install -y samba samba-common-bin openssh-server 2. Enable the per-user home share in smb.conf Back up the current configuration, then edit it: sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup sudo nano /et...

Building PyTorch with CUDA Support for Legacy GPUs on Windows

PyTorch binaries after 1.3 dropped support for GPUs with compute capability 3.5 and below, and by 1.7 the prebuilt wheels target compute capability 5.2 or higher. If you have an older GPU (for example, a Kepler device like GT 730M with CC 3.5) and still want GPU acceleration, you can compile PyTorch...