-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from kefaslungu/production
completely changed the ui of the program, no longer just giving info on the system, a lot can now be done.
- Loading branch information
Showing
24 changed files
with
649 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
exe_compiler/ | ||
*.txt | ||
Windows Shortcuts/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,12 @@ | |
bios, | ||
cpu, | ||
disks, | ||
graphics, | ||
memory_converter, | ||
motherboard , | ||
network_info, | ||
ram, | ||
sound, | ||
startup | ||
startup, | ||
tools | ||
) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# graphics.py | ||
# A part of System inspect | ||
# This file is covered by the GNU General Public License. | ||
# Copyright (C) 2023 kefaslungu | ||
import wmi | ||
|
||
def graphicsInfo(): | ||
properties_list = [] | ||
for controller in wmi.WMI().Win32_VideoController(): | ||
properties = ( | ||
"Caption: {}".format(controller.Caption), | ||
"Driver version: {}".format(controller.DriverVersion), | ||
"Driver date: {}".format(controller.DriverDate), | ||
"AdapterCompatibility: {}".format(controller.AdapterCompatibility), | ||
"AdapterDACType: {}".format(controller.AdapterDACType), | ||
"AdapterRAM: {}".format(controller.AdapterRAM), | ||
"Availability: {}".format(controller.Availability), | ||
"CurrentBitsPerPixel: {}".format(controller.CurrentBitsPerPixel), | ||
"CurrentHorizontalResolution: {}".format(controller.CurrentHorizontalResolution), | ||
"CurrentNumberOfColors: {}".format(controller.CurrentNumberOfColors), | ||
"CurrentNumberOfColumns: {}".format(controller.CurrentNumberOfColumns), | ||
"CurrentNumberOfRows: {}".format(controller.CurrentNumberOfRows), | ||
"CurrentRefreshRate: {}".format(controller.CurrentRefreshRate), | ||
"CurrentScanMode: {}".format(controller.CurrentScanMode), | ||
"CurrentVerticalResolution: {}".format(controller.CurrentVerticalResolution), | ||
"DitherType: {}".format(controller.DitherType), | ||
"MaxRefreshRate: {}".format(controller.MaxRefreshRate), | ||
"MinRefreshRate: {}".format(controller.MinRefreshRate), | ||
"Monochrome: {}".format(controller.Monochrome), | ||
"Name: {}".format(controller.Name), | ||
"PNPDeviceID: {}".format(controller.PNPDeviceID), | ||
"SystemName: {}".format(controller.SystemName), | ||
"VideoArchitecture: {}".format(controller.VideoArchitecture), | ||
"VideoMemoryType: {}".format(controller.VideoMemoryType), | ||
"VideoModeDescription: {}".format(controller.VideoModeDescription), | ||
"VideoProcessor: {}".format(controller.VideoProcessor), | ||
"Status: {}".format(controller.Status), | ||
) | ||
properties_list.extend(properties) | ||
return '\n'.join(properties_list) | ||
|
||
#graphicsInfo() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# network_info.py | ||
# A part of System inspect | ||
# This file is covered by the GNU General Public License. | ||
# Copyright (C) 2023 kefaslungu | ||
|
||
import io | ||
import wmi | ||
|
||
def networkCards(): | ||
"""Provides information about network adapters and their IP configurations.""" | ||
c = wmi.WMI() | ||
nic_info = io.StringIO() | ||
for nic in c.Win32_NetworkAdapterConfiguration(IPEnabled=True): | ||
nic_info.write(f"Name: {nic.Description}\n") | ||
if nic.MACAddress: | ||
nic_info.write(f"MAC Address: {nic.MACAddress}\n") | ||
nic_info.write(f"IP Address(es): {', '.join(nic.IPAddress.split() if isinstance(nic.IPAddress, str) else list(nic.IPAddress))}\n") | ||
nic_info.write(f"Subnet Mask(s): {', '.join(nic.IPSubnet.split() if isinstance(nic.IPSubnet, str) else list(nic.IPSubnet))}\n") | ||
nic_info.write(f"Default Gateway(s): {', '.join(nic.DefaultIPGateway.split() if isinstance(nic.DefaultIPGateway, str) else list(nic.DefaultIPGateway))}\n") | ||
nic_info.write(f"DNS server(s): {', '.join(list(nic.DNSServerSearchOrder))}\n") | ||
nic_info.write("\n") | ||
return nic_info.getvalue() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
from subprocess import run | ||
from threading import Thread as t | ||
|
||
def driverVerifier(event): | ||
t1 = t(target=run, args=("verifier",)) | ||
t1.start() | ||
|
||
def taskManager(event): | ||
t1 = t(target=run, args=("taskmgr",)) | ||
t1.start() | ||
|
||
def resourceMonitor(event): | ||
t1 = t(target=run, args=("resmon",)) | ||
t1.start() | ||
|
||
def eventViewer(event): | ||
t1 = t(target=run, args=("eventvwr.msc",)) | ||
t1.start() | ||
|
||
def systemConfiguration(event): | ||
t1 = t(target=run, args=("msconfig",)) | ||
t1.start() | ||
|
||
def diskCleanup(event): | ||
t1 = t(target=run, args=("cleanmgr",)) | ||
t1.start() | ||
|
||
def diskDefragmenter(event): | ||
t1 = t(target=run, args=("v",)) | ||
t1.start() | ||
|
||
def windowsMemoryDiagnostic(event): | ||
t1 = t(target=run, args=("mdsched",)) | ||
t1.start() | ||
|
||
def system_scan(event): | ||
t1 = t(target=run, args=("sfc /scannow",)) | ||
t1.start() | ||
|
||
def directXDiagnosticTool(event): | ||
t1 = t(target=run, args=("dxdiag",)) | ||
t1.start() | ||
|
||
def uninstaller(event): | ||
t1 = t(target=run, args=("arpwiz.cpl")) | ||
t1.start() | ||
|
||
def maliciousRemoval(event): | ||
t1 = t(target=run, args=("mrt",))#Microsoft Windows Malicious Software Removal Tool | ||
t1.start() | ||
|
||
def advanceFireWall(event): | ||
t1 = t(target=run, args=("wf.msc",)) | ||
t1.start() | ||
|
||
def sysReset(event): | ||
t1 = t(target=run, args=("systemreset",)) | ||
t1.start() | ||
|
||
def fireWall(event): | ||
t1 = t(target=run, args=("firewall.cpl",)) | ||
t1.start() | ||
|
||
def msinfo(self, event): | ||
t1 = t(target=run, args=("msinfo32",)) | ||
t1.start() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.