Epic Computer (Mac) Prank! "Fake Virus"

by KenW5 in Circuits > Computers

32073 Views, 3 Favorites, 0 Comments

Epic Computer (Mac) Prank! "Fake Virus"

Screen Shot 2016-10-10 at 9.23.55 PM.png
Screen Shot 2016-10-11 at 5.34.03 PM.png

Hey everybody!

Today we will be creating a totally harmless "fake virus" for Mac that will certainly prank you friends. The procedures a relatively simple and will certainly annoy your victims!

This is my first AppleScript app so I would be continuously improving the script (I plan to add error messages with icons).

(THERE ARE BOUND TO BE SOME BUGS IN MY CODE...)

PLEASE REPORT THOSE IN THE COMMENTS BELOW SO I CAN IMPROVE IT, THANKS!

Whatever required:

1. YOUR VICTIM MUST HAVE A MAC OR THIS WOULD NOT WORK PROPERLY!!!

2. A friend (Im sure you don't have one)

3. Your Mac

(Note, please be wise in picking a victim, choose one that can take a joke, or you would wind up in trouble!)

Open "Script Editor"

Screen Shot 2016-10-10 at 9.26.31 PM.png

Launch Finder

Type "Script Editor" in the applications section

Open it

(For some reason I have two, you should only have one.)

Copy This Script Into "Script Editor"

REPLACE WITH YOUR OWN INSULT

display dialog "A virus is introduced in your Mac!" with icon caution buttons {"Clean Virus", "Add more viruses"} default button 1
if the button returned of the result is "Clean Virus" then

display dialog "Rendering display (Terminating pixels)" buttons {"cancel", "Ok"} default button 1

display dialog "Pixel efficiency decreased by 80 percent, some long term damage may remain!" buttons {"cancel", "Ok"} default button 1

else

display dialog "Propagating Virus..." buttons {"cancel", "Ok"} default button 1

display dialog "Congradulations, 25 new virusus have been added to your Mac!" buttons {"cancel", "Ok"} default button 1

end if

set volume "3"

say "Apple may not be able to fully erase virus."

display dialog "Mac: Spyware found, removing virus is recommended." with icon caution buttons {"cancel", "Ok"} default button 1

display dialog "You need to erase your hard drive to remove this virus" with icon caution buttons {"cancel", "Ok"} default button 1

display dialog "Erasing hard drive..." buttons {"cancel", "Ok"} default button 1

display dialog "Hard drive erasing: 10 percent" buttons {"Yes", "No"} default button 1

display dialog "20 percent" buttons {"cancel", "Ok"} default button 1

display dialog "25 percent" buttons {"cancel", "Ok"} default button 1

display dialog "50 percent" buttons {"cancel", "Ok"} default button 1

display dialog "80 percent" buttons {"cancel", "Ok"} default button 1

display dialog "100 percent" buttons {"cancel", "Ok"} default button 1

display dialog "Restarting operating system..." buttons {"cancel", "Ok"} default button 1

display dialog "Re-establishing commands..." buttons {"cancel", "Ok"} default button 1

display dialog "Error, unable to restart." buttons {"cancel", "Ok"} default button 1

display dialog "Spyware found" buttons {"Keep half of virus", "Crash CPU(risky)"} default button 1

if the button returned of the result is "Keep half of virus," then

display dialog "deleting files" with icon caution buttons {"cancel", "Ok"} default button 1

else

display dialog "CPU crash unsuccesful, long term damage to CPU is retained." with icon caution buttons {"Yes", "No"} default button 1

end if

display dialog "do you wish to report to apple about this incident?" buttons {"Yes", "No"} default button 1

display dialog "It wouldn't matter... Apple hates you and would not care about your Mac." buttons {"cancel", "Ok"} default button 1

display dialog "Your Mac was unable to delete the virus, we can only self destruct to protect your security." with icon caution buttons {"Activate bomb and self destruct", "I am stubborn and would not let my computer explode"} default button 1

if the button returned of the result is "Activate bomb and self destruct" then

display dialog "Initiating explosion" buttons {"cancel", "Ok"} default button 1

else

display dialog "I would have let my Mac explode if I were you..." buttons {"cancel", "Ok"} default button 1

end if

display dialog "Phew! That was long!" buttons {"I agree with you!", "You're wrong!"} default button 1

if the button returned of the result is "I agree with you!" then

display dialog "YAY!" buttons {"cancel", "Ok"} default button 1

else

display dialog "( ͡° ͜ʖ ͡°)" buttons {"cancel", "Ok"} default button 1

end if

display dialog "( ͡° ͜ʖ ͡°)" buttons {"cancel", "Ok"} default button 1

display dialog "So you really fell for it, huh?" buttons {"cancel", "Ok"} default button 1

display dialog "Good news! You have a chance to delete this virus!" buttons {"Delete virus", "I'm stubborn and will not except this offer"}

if the button returned of the result is "Delete virus" then

display dialog "Deleting virus..." buttons {"cancel", "Ok"} default button 1

display dialog "Virus deletion:20 percent" buttons {"cancel", "Ok"} default button 1

display dialog "Virus deletion:25 percent" buttons {"cancel", "Ok"} default button 1

display dialog "virus deletion:80 percent" buttons {"cancel", "Ok"} default button 1

display dialog "Virus deletion:90 percent" buttons {"cancel", "Ok"} default button 1

display dialog "Virus deletion:99 percent" buttons {"cancel", "Ok"} default button 1

display dialog "Error! Virus deletion stuck at 99 percent..." with icon caution buttons {"Keep 1 percent virus fragmentse permanent damage)", "Erase hardrive"}

else

display dialog "You could have deleted the virus..." buttons {"cancel", "Ok"} default button 1

end if

display dialog "-Let's take a quick survey that will determine your IQ-" buttons {"cancel", "Ok"} default button 1

display dialog "Does this look like you? ( ͡° ͜ʖ ͡°)" buttons {"Yes", "No"} default button 1

if the button returned of the result is "Yes" then

display dialog "Current IQ: 100" buttons {"cancel", "Ok"} default button 1

else

display dialog "Current IQ: 20" buttons {"cancel", "Ok"} default button 1

end if

display dialog "What is 1+1?" buttons {"Window", "2"} default button 1

display dialog "Current IQ: 120" buttons {"cancel", "Ok"} default button 1

display dialog "What is 15/3?" buttons {"5", "10"} default button 1

if the button returned of the result is "5" then

display dialog "Current IQ: 150" buttons {"cancel", "Ok"} default button 1

else

display dialog "Current IQ: 50" buttons {"cancel", "Ok"} default button 1

end if

display dialog "200+50/2=" buttons {"125", "225"} default button 1

if the button returned of the result is "125" then

display dialog "Current IQ: 155" buttons {"cancel", "Ok"} default button 1

else

display dialog "Current IQ: 40" buttons {"cancel", "Ok"} default button 1

end if

display dialog "Dialogs are boring, let's use some sound!" buttons {"cancel", "Ok"} default button 1

display dialog "25 percent of 100 is what?" buttons {"25", "125", "2500"} default button 1

if the button returned of the result is "25" then

set volume "3"

say "Current IQ: 180"

else

set volume "3"

say "Current IQ: 25"

end if

display dialog "2095938502938502395820358239583-49584/2539503+385409*9458405 is what?" buttons {"I don't know", "I don't know"} default button 1

display dialog "Current IQ: 0" buttons {"cancel", "Ok"} default button 1

display dialog "You got that wrong huh... one more chance!." buttons {"Yes", "No"} default button 1

display dialog "1+1=" buttons {"This is too hard for me", "I still don't know this", "I need to go back to Pre-K"} default button 1

set volume "2"

say "Current IQ zero point nine"

display dialog "Did you get A score of 1 or higher?" buttons {"I did not", "I did not"} default button 1

display dialog "That proves you are not very smart." buttons {"cancel", "Ok"} default button 1

set volume "2"

say "Why did you click on this virus?"

on idle

delay "6"

end idle

display dialog "HAH! You thought that it was gonna be over huh?" buttons {"cancel", "Ok"} default button 1

display dialog "Spyware/stalking software activated..." buttons {"Yes", "No"} default button 1

display dialog "Victim is being scanned..." buttons {"Yes", "No"} default button 1

display dialog "REPLACE WITH VITIM'S DISCRIPTIONS SUCH AS AGE AND WHERE HE LIVES" buttons {"Yes", "No"} default button 1

set volume "2"

say "REPLACE WITH YOUR OWN INSULT"

display dialog "REPLACE WITH YOUR OWN INSULT" buttons {"Yes", "No"} default button 1

display dialog "REPLACE WITH YOUR OWN INSULT." buttons {"Yes", "No"} default button 1

display dialog "Well, it's all over now :)" buttons {"cancel", "Ok"} default button 1

display dialog "Did you like the prank? :P" buttons {"cancel", "Ok"} default button 1

set volume "3"

say "REPLACE WITH YOUR OWN INSULT"

set volume "2"

say "REPLACE WITH YOUR OWN INSULT"

set volume "2"

say "REPLACE WITH YOUR OWN INSULT"

display dialog "Bye! See you again!" buttons {"BYE!", "HOPE TO NEVER SEE YOU AGAIN"} default button 1

if the button returned of the result is "BYE!" then

display dialog ":)" buttons {"cancel", "Ok"} default button 1

set volume "2"

say "See you again!"

else

display dialog "( ͡° ͜ʖ ͡°)" buttons {"cancel", "Ok"} default button 1

set volume "2"

say "See you later"

end if

Save As Application!!!

First, click the triangle play button on top of Script Editor to make sure the script works properly.

Secondly, CMND S to save the file, save as script first, then make a duplicate and save the duplicate as an app

The app is what is going to scare your victim!!!

(Give whatever name you like, i'm using "Do not click it!")

***********FOR ADDED STEALTH, REPLACE THE APPLESCRIPT ICON WITH SAFARI'S***********

************I WILL TEACH YOU HOW TO DO THAT IN A NEW EDIT OF THIS INSTRUCTABLE*********

for now use this site to help you on how to add change the icon on your applescript app:

https://support.apple.com/en-us/HT201737

Send Via Email!

Screen Shot 2016-10-10 at 9.33.32 PM.png

Send the app to your victim and tell them to open it. (Say it is something good, like a game, but the game has a history of having virusus that will make their Mac unusable.)

(If your victim has blocked apps via email, send them the script and tell them to hit the play button, of course, the prank would not work so well then.)

Have fun pranking!

(If possible, write the script on THEIR Mac.) They would see a new app in their desktop and will be tempted to explore it. This method always gets better results.