From c3b34ffb62cf090c3592bca1c3e42772c40731b6 Mon Sep 17 00:00:00 2001 From: beigeworm <93350544+beigeworm@users.noreply.github.com> Date: Wed, 10 May 2023 12:57:34 +0000 Subject: [PATCH] Update Dsktop Shortcut Spammer.txt --- Pranks/Dsktop Shortcut Spammer.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Pranks/Dsktop Shortcut Spammer.txt b/Pranks/Dsktop Shortcut Spammer.txt index bf7a47c..3014884 100644 --- a/Pranks/Dsktop Shortcut Spammer.txt +++ b/Pranks/Dsktop Shortcut Spammer.txt @@ -1,5 +1,5 @@ REM Title: Dsktop Shortcut Spammer -REM Author: @beigeworm +REM Author: @beigeworm | https://github.com/beigeworm REM Description: Uses Powershell to generate a specified amount of shortcuts on the desktop. REM Target: Windows 10 @@ -21,4 +21,4 @@ STRING $n = 200;$i = 0;while($i -lt $n){;$num = Get-Random;$Location = "C:\Windo REM rest of the script. STRING ;$WshShell = New-Object -ComObject WScript.Shell;$Shortcut = $WshShell.CreateShortcut("$Home\Desktop\USB Hardware" + $num + ".lnk") STRING ;$Shortcut.TargetPath = $Location;$Shortcut.Arguments ="shell32.dll,Control_RunDLL hotplug.dll";$Shortcut.IconLocation = "hotplug.dll,0" -STRING ;$Shortcut.Description ="Device Removal";$Shortcut.WorkingDirectory ="C:\Windows\System32";$Shortcut.Save();Start-Sleep -Milliseconds 10;$i++};sleep 10;exit \ No newline at end of file +STRING ;$Shortcut.Description ="Device Removal";$Shortcut.WorkingDirectory ="C:\Windows\System32";$Shortcut.Save();Start-Sleep -Milliseconds 10;$i++};sleep 10;exit