This Python script provides essential system information and writes it to a file named systemInfo.txt
. The information includes the hostname, operating system details, logged-in username, memory usage, and disk information.
- Run the script on Kali Linux:
python3 script_name.py
- View the generated file
systemInfo.txt
for detailed system information.
- Python 3
- Platform: Linux
If you want to run this script on Windows, make the following changes:
- Replace the shebang line with
#python3
. - Ensure that required libraries (
os
,socket
,psutil
) are installed. - Run the script using the command:
python script_name.py
- Programmed by: rKumar
- Commented by: ChatGPT
This project is built and tested on Kali Linux. For Windows compatibility, follow the suggested modifications.