Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

AppleScript tutorial: 2 How to make a FAKE Virus

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,424
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 11, 2010

4 educational purposes only, not to enslave the world!!!

copy & paste in Applescript:


quit application "Safari"
display dialog "Virus Detected, would you like to try to resolve the matter?" buttons {"no", "yes"} default button 2
if the button returned of the result is "no" then
display dialog "Virus may harm your computer" buttons {"Ok"} default button 1
else

display dialog "Click next to download the latest anti-virus software" buttons {"next"} default button 1
open location "http://www.bleepingcomputer.com/virus-removal/remove-antivirus-soft"
quit application "Safari"
display dialog "Download Successful, click to install" buttons {"install"} default button 1
display dialog "Install successful, please enter your email to receive the latest updates on the newly installed anti-virus software" default answer "email here" buttons {"OK"} default button 1

display dialog "Not a valid email address, make sure you entered it correctly" default answer "email here" buttons {"OK"} default button 1

display dialog "An email will be sent to the following address within an hour." buttons {"OK"} default button 1
display dialog "Virus detected, system corrupted!!!" buttons {"OK"} default button 1
tell application "Mail"
run
tell application "iChat"
run
tell application "Safari" run tell application "iPhoto" run end tell
end tell
end tell end tell
display dialog "system Corrupted!!! click here to see a list of solutions" buttons {"OK"} default button 1
quit application "Mail"
display dialog "No solutions are available at this time. Click next to find the souce of the problem" buttons {"next"} default button 1
quit application "iPhoto"
run application "iCal"
display dialog "Problem may be because amount of RAM being used. If applications are opening/closing frequently." buttons {"Force Quit"} default button 1
quit application "iChat"
quit application "Safari"
quit application "iCal"
quit application "Mail"
quit application "iTunes"
display dialog "Force Quit successful. Virus has attacked important system files! Click terminate to start a quarantine" buttons {"terminate"} default button 1

display dialog "Type in the code to quarantine the virus
(74n206295b3x56660)" default answer "enter above code here" buttons {"Quarantine"} default button 1
display dialog "Code that was typed was incorrect, please try again" default answer "incorrect, please try again (74n206295b3x56660)" buttons {"Quarantine"} default button 1
display dialog "Virus has been successfuly quarantined" buttons {"OK"} default button 1
end if

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (InvaderAlex08)

  • what software did you use the record this and great video thnx

  • @SuperHabby123 i just used the Quicktime Player Screen Record

  • what is the script for shutting down safari thanks great video

  • @thebob7255 simple as  quit application "Safari" that's it

  • how can i do something where the user clicks on safari and then gets a prompt telling them they failed and then shut the computer down

  • @merlindog11 yes, you'd download a safari icon and use it for the applescript icon. Then tell applescript to display a dialogue, then tell finder to quit. might do a tutorial to help show u

see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • Syntax error? =(

  • hahahahahaha "The Joker" (Batman) learned apple script! lol

  • damn it boy you scared the living shit out of me at the intro

  • Please post the code!

  • Great video!

    Thanks for the tips, especially the evil prank at the end. Hahaha those bastards at the office will never see it coming. I smell employee of the month :D

  • @InvaderAlex08 I tried that but when finder quits it doesn't actually shut the computer down

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more