Update code.

This commit is contained in:
Sam Sneed 2024-07-24 18:54:00 -05:00
parent 518d68b472
commit 8d0a3fd840

View file

@ -291,10 +291,10 @@ def setup_firefox_driver():
return webdriver.Firefox(service=service, options=options) return webdriver.Firefox(service=service, options=options)
def realtimeAV(): def realtimeAV():
while True:
print("Realtime AntiMalware active...") print("Realtime AntiMalware active...")
while True:
kill_suspicious_processes() kill_suspicious_processes()
time.sleep(1) # check for malware every second time.sleep(10) # check for malware every 10 seconds
# Start Monitoring in Threads # Start Monitoring in Threads
threads = [ threads = [