People leaves their computer open which could be hacked anytime. As an awareness as such we had a culture of using the parrot.live to prank and teach others not to leave things open. Inspired from this we have created the following script
This is a shell script that creates multiple instances of xeyes, a graphical program that displays two eyes that follow the mouse pointer, on your screen. It also plays a laughing sound every 10 seconds while the script is running. This script is intended as a prank or a joke, and it may not work on all systems.
- xeyes installed on your system. You can install it using your package manager or from https://www.x.org/archive/X11R7.5/doc/man/man1/xeyes.1.html
- xinput installed on your system. You can install it using your package manager or from https://www.x.org/archive/X11R7.5/doc/man/man1/xinput.1.html
- awk installed on your system. You can install it using your package manager or from https://www.gnu.org/software/gawk/
- **aplay (for Linux) ** or afplay (for macOS) installed on your system. Install them using your package manager or from https://linux.die.net/man/1/aplay and https://ss64.com/osx/afplay.html
- Add any sound file in the same directory as the script. You can use any sound file you want, but make sure it has the same name and format.
To run the script, open a terminal and navigate to the directory where the script is located.
1.Make the script executable by typing chmod +x xeyes_prank.sh
2.Run the script by ./xeyes_prank.sh
3.Enjoy watching multiple pairs of eyes following your mouse pointer and hearing laughter in the background.
Special Trick:
Add it to .zshrc / .bashrc to have super fun
To stop the script, press Ctrl+C
in the terminal or type killall xeyes
in another terminal.
screen-recording-2023-03-18-at-24304-am_MdFrZEdZ.mp4
A Fun experiment with the nms tool created by https://github.com/sponsors/bartobri. For description it is a command line tool that recreats the hacking effects in movie scene.
- Do a Git Clone
cd
to the folder- Run:
./terminal_.fun.sh
-->> To have the same prank on somebody else's computer put them in to shell source file(if you know what I mean,if not send me a msg in discord) :P
Output (Sound is missing and it's bonus :xD) :
##First Part>>>
terminal_script_1.mov
##Second Part>>>
Prequisite:
- Remember to install the ncurses library from Here(ncurses support)
- fortune link
- say command installed in your Mac
OUTPUT: -->> Just run it to see it :xD (
Learning outcome:
- Usage of the Pipe (|) in Bash in Terminal.
- Bypassing access without admin rights and run files/scripts at startup of Terminal
- Manipulation of bash/zsh shell source file.
Latest Update:
- ✅ added the fortune teller mystery
- ✅ added lolcat to colorize animation
- ✅ added lolcat and fortune prerequisite check and install
Features needed help to implement :
- Terminal Cursor Manipulation
- Linux support
Ideastorm :
Shoot some ideas or features you want. Create an issue or write to me in Discord.
I want to end it with:
The scripts are for entertainment purposes only and may cause annoyance or frustration to some students. Use it at your own risk and with caution. The author of this script is not responsible for any damage or harm caused by this script.