mirror of https://github.com/hak5/omg-payloads.git
script
parent
603015460d
commit
f5495ea263
|
@ -0,0 +1,21 @@
|
|||
# The Mouse Moves By Itself
|
||||
|
||||
A script used to prank your friends with the mouse pointer.
|
||||
|
||||
**Category**: Prank
|
||||
|
||||
## Description
|
||||
|
||||
A script used to prank your friends with the mouse pointer.
|
||||
|
||||
Opens a shell, dowloand the Python script that will prank your friends mouving the mouse pointer.
|
||||
|
||||
## Getting Started
|
||||
|
||||
### Dependencies
|
||||
|
||||
* Internet Connection
|
||||
|
||||
### Settings
|
||||
|
||||
- Setup your Python script link in the payload.txt file
|
|
@ -0,0 +1,15 @@
|
|||
import os
|
||||
try:
|
||||
import pyautogui
|
||||
except:
|
||||
os.system("pip install pyautogui")
|
||||
import pyautogui
|
||||
import random
|
||||
import time
|
||||
|
||||
while True:
|
||||
# Move the mouse cursor randomly
|
||||
x_offset = random.randint(-250, 250)
|
||||
y_offset = random.randint(-250, 250)
|
||||
pyautogui.moveRel(x_offset, y_offset, duration=0.25)
|
||||
time.sleep(0.1) # 1 second delay
|
Loading…
Reference in New Issue