The Hacker Association
Windows OS – 7 Days of Windows 🐧
System-related Tasks
https://www.youtube.com/watch?v=yRzB0chPnmw&t :🎥 يمكنكمشاهدة الحلقة عبر هذا الرابط
📌 قواعد البحث عن الحلول
. أواًلGoogle ابحث باستخدام.1
. وليس للحل المباشر، للتوضيح فقطChatGPT استخدم.2
.❌ ChatGPT تجنب النسخ المباشر لألسئلة في.3
!" – ال تنتظر كل شيء جاهًز اGo and get it" 💬 >
Hint: import platform might help ; )
Ahmed Attia [ Limbo0x01 ]
The Hacker Association
Day 1: Windows Basics & System Information 🔥
Topics: OS Detection, Basic System Info, Environment Variables
:Exercises 🔹
.Write a script that prints the Windows version (e.g., Windows 10, 11) .1
.Print the computer name and the current logged-in user .2
.List all environment variables and their values .3
.Get and print the current working directory .4
.Find and display the system architecture (32-bit or 64-bit) .5
.Retrieve the current user's home directory path .6
.Write a script to detect if the system is Windows or not .7
.Print the system boot time .8
.Retrieve and print the CPU name and number of cores .9
.Write a script that checks if a specific environment variable (like PATH) exists .10
Day 2: Processes, Tasks, and Services 🔥
Topics: Process Listing, Management, Services Control
:Exercises 🔹
.List all running processes along with their PID (Process ID) .1
.Write a script that kills a process by its name .2
.Start a new process (like opening Notepad) from Python .3
.Monitor and print CPU usage of the top 5 processes .4
.Detect if a given process (like explorer.exe) is running .5
.Write a script to restart a Windows service (like Spooler) .6
.List all services, their status (Running, Stopped), and startup type .7
.Write a script to start, stop, or restart a service programmatically .8
.Create a simple task manager clone that refreshes every 5 seconds .9
.Find and terminate all processes started by a specific user .10
Ahmed Attia [ Limbo0x01 ]
The Hacker Association
Day 3: File System & Automation 🔥
Topics: File Operations, Directories, File Metadata
:Exercises 🔹
.List all files and folders in C:\Users\Public .1
.Create a script that copies a file from one location to another .2
.Write a Python tool that monitors a directory for file changes .3
.Find the size of every file inside a specific folder .4
.Automatically create daily backups of a folder .5
.Write a script that searches for a file by name across a directory tree .6
.Monitor and report any new files created in C:\Windows\Temp .7
.Create a script that zips and unzips folders .8
.List all files that were modified in the last 24 hours .9
.Write a tool that finds all files bigger than 100MB in a directory .10
Ahmed Attia [ Limbo0x01 ]