Coding a Simple Virus In Python In 3 Minutes

preview_player
Показать описание
Today we will be building a small and annoying virus that messes up your mouse and keyboard(as long as the code is running).

#python #virus #simple
Рекомендации по теме
Комментарии
Автор

Man well done, i love fun virus like these, can be turned into something much deadly but thats the point, man please do more like this video

sivario
Автор

TRY THIS:

SET UP:
1. Open Command Prompt (CMD).
2.Paste the following command and press Enter: "pip install pyautogui"

CODE:
import pyautogui
import random

def random_mouse_movement():
screenWidth, screenHeight = pyautogui.size()
while True:
x = random.randint(0, screenWidth - 1)
y = random.randint(0, screenHeight - 1)
pyautogui.moveTo(x, y, duration=0.5)
pyautogui.typewrite("VIRUS ", interval=0.001)
random_mouse_movement()

memecoder
Автор

it's really good. but gui is pronounced g.u.i not gouie

Not_A_Lazy_Dev
Автор

code
import pyautogui
import time

while True:
pyautogui.moveTo(200, 100, duration=0.5)
time.sleep(5)
pyautogui.press('a')

crbxnzi