This file contains hidden or 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
#made with ❤️ by @man.zip_ | |
import os | |
import time | |
remove = ['system', 'smss', 'csrss', 'wininit', 'services', 'lsass', 'lsm', 'task', 'svc', 'registry', 'power', 'security', 'search', "smartscreen", "updater"] | |
running_processes = list(dict.fromkeys([process.replace('"', '').split(',')[0] for process in os.popen('tasklist /fo csv /nh').read().strip().split('\n') if all(word.lower() not in process.lower() for word in ['system', 'smss', 'csrss', 'wininit', 'services', 'lsass', 'lsm', 'task', 'svc', 'registry', 'power', 'security'])])) | |
def waitingSoftware(): | |
while True: | |
print("Menunggu software terbuka") |