From 5282e8ef53b617acfe5167781fc6a5b246332ffa Mon Sep 17 00:00:00 2001 From: UberGuidoZ <57457139+UberGuidoZ@users.noreply.github.com> Date: Thu, 1 Dec 2022 19:38:46 -0800 Subject: [PATCH] Original broken, mods from NanKooDev --- BadUSB/RickRoll_CMD_Win.txt | 13 +++++++++++++ BadUSB/RickRoll_Term_Win.txt | 14 -------------- 2 files changed, 13 insertions(+), 14 deletions(-) create mode 100644 BadUSB/RickRoll_CMD_Win.txt delete mode 100644 BadUSB/RickRoll_Term_Win.txt diff --git a/BadUSB/RickRoll_CMD_Win.txt b/BadUSB/RickRoll_CMD_Win.txt new file mode 100644 index 000000000..7af12f955 --- /dev/null +++ b/BadUSB/RickRoll_CMD_Win.txt @@ -0,0 +1,13 @@ +REM Title: Rick Roll Windows CMD +REM Author: Nando Kools | NanKooDev +REM Description: RickRoll in Windows Command Prompt +REM Target: Windows +REM +GUI r +DELAY 750 +STRING cmd +ENTER +DELAY 1000 +STRING curl http://ascii.live/rick +ENTER +GUI UPARROW diff --git a/BadUSB/RickRoll_Term_Win.txt b/BadUSB/RickRoll_Term_Win.txt deleted file mode 100644 index c58664ae2..000000000 --- a/BadUSB/RickRoll_Term_Win.txt +++ /dev/null @@ -1,14 +0,0 @@ -REM Title: RickRoll -REM Author: Jeffrey Koopman | JKCTech -REM Description: RickRoll in Windows PowerShell -REM Target: Windows -REM -DEFAULTDELAY 50 -GUI r -DELAY 500 -STRING powershell.exe -ENTER -DELAY 1000 -STRING $request = [System.Net.HttpWebRequest]::Create("http://ascii.live/rick");$receiveStream=$request.GetResponse().GetResponseStream();$readStream=[System.IO.StreamReader]::new($receiveStream);[console]::TreatControlCAsInput=$true;$initialForegroundColor=[Console]::ForegroundColor;while($line=$readStream.ReadLine()){if([Console]::KeyAvailable){$key=[System.Console]::ReadKey($true);if(($key.modifiers -band [ConsoleModifiers]"control") -and ($key.key -eq "C")){break;}}[Console]::WriteLine($line);} -ENTER -GUI UPARROW