mirror of https://github.com/hak5/omg-payloads.git
readme
parent
f994b7821a
commit
fa89b5dbe7
|
@ -0,0 +1,27 @@
|
|||
# Full-Screen Banner Joke
|
||||
|
||||
A script used to prank your friends with full-screen banner.
|
||||
|
||||
**Category**: Prank
|
||||
|
||||
## Description
|
||||
|
||||
A script used to prank your friends with full-screen banner.
|
||||
|
||||
Open a PowerShell, download the Python script and execute it. The Python script will create a black full screen with a triggered prank phrase.
|
||||
|
||||
## Getting Started
|
||||
|
||||
### Dependencies
|
||||
|
||||
* Internet Connection
|
||||
* Python installed
|
||||
* ExecutionPolicy Bypass
|
||||
|
||||
### Executing program
|
||||
|
||||
* Plug in your device
|
||||
|
||||
### Settings
|
||||
|
||||
- Setup your Python script link in the payload.txt file
|
|
@ -0,0 +1,32 @@
|
|||
try:
|
||||
import pygame
|
||||
except:
|
||||
import os
|
||||
os.system("pip install pygame")
|
||||
import pygame
|
||||
import random
|
||||
|
||||
|
||||
pygame.init()
|
||||
|
||||
infoObject = pygame.display.Info()
|
||||
screen_width = infoObject.current_w
|
||||
screen_height = infoObject.current_h
|
||||
screen = pygame.display.set_mode((screen_width, screen_height))
|
||||
pygame.display.set_caption("Python Prank!")
|
||||
|
||||
font = pygame.font.SysFont("Arial", 64)
|
||||
|
||||
while True:
|
||||
|
||||
text_color = (random.randint(0, 255), random.randint(0, 255), random.randint(0, 255))
|
||||
text = font.render(":-) RUBBER DUCKS WILL TAKE OVER THE OCEANS! (-: )", True, text_color)
|
||||
|
||||
x_offset = random.randint(-50, 50)
|
||||
y_offset = random.randint(-50, 50)
|
||||
text_rect = text.get_rect()
|
||||
text_rect.center = (screen_width//2 + x_offset, screen_height//2 + y_offset)
|
||||
|
||||
screen.fill((0, 0, 0))
|
||||
screen.blit(text, text_rect)
|
||||
pygame.display.flip()
|
Loading…
Reference in New Issue