From fa89b5dbe7f1f98cf29bae1c01095fab6091e3ef Mon Sep 17 00:00:00 2001 From: aleff-github Date: Mon, 12 Jun 2023 12:13:20 +0200 Subject: [PATCH] readme --- .../prank/Full-ScreenBannerJoke/README.md | 27 ++++++++++++++++ .../prank/Full-ScreenBannerJoke/script.py | 32 +++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 payloads/library/prank/Full-ScreenBannerJoke/README.md create mode 100644 payloads/library/prank/Full-ScreenBannerJoke/script.py diff --git a/payloads/library/prank/Full-ScreenBannerJoke/README.md b/payloads/library/prank/Full-ScreenBannerJoke/README.md new file mode 100644 index 0000000..a61cf47 --- /dev/null +++ b/payloads/library/prank/Full-ScreenBannerJoke/README.md @@ -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 diff --git a/payloads/library/prank/Full-ScreenBannerJoke/script.py b/payloads/library/prank/Full-ScreenBannerJoke/script.py new file mode 100644 index 0000000..e34b6ee --- /dev/null +++ b/payloads/library/prank/Full-ScreenBannerJoke/script.py @@ -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() \ No newline at end of file