• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can iTunes run AppleScript as well as Trojan code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can iTunes run AppleScript as well as Trojan code?


  • Subject: Re: Can iTunes run AppleScript as well as Trojan code?
  • From: Rob Jorgensen <email@hidden>
  • Date: Thu, 8 Apr 2004 22:27:31 -0400

At 12:37 AM +0100 4/9/04, Martin Orpen wrote:
Looks like iTunes can't tell the difference between a document file and an
application file :-(

http://www.macnn.com/news/24162

A sample of the viral mp3 is here (URL broken, so that you can give it some
thought before clicking):

http://www.scoop.se/

~blgl/virus.mp3.sit

I downloaded and decompressed the file. Here's the skeleton of a poor man's trojan detector to address this particular type of silliness. The script has plenty of room for improvement (reveal the file, move to trash, etc.). :-)

--
property extensions_ : {"gif", "jpg", "mp3"}

on adding folder items to this_folder after receiving added_items
repeat with item_ in added_items
set info_ to (info for item_)
if file type of info_ is "APPL" and name extension of info_ is in extensions_ then
display dialog "Trojan Alert! A file named " & name of info_ & " appears to be a trojan. Use extreme caution when opening this file."
end if
end repeat
end adding folder items to
--

-- Rob
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Can iTunes run AppleScript as well as Trojan code?
      • From: Hudson Barton <email@hidden>
    • Re: Can iTunes run AppleScript as well as Trojan code?
      • From: Walter Ian Kaye <email@hidden>
References: 
 >Can iTunes run AppleScript as well as Trojan code? (From: Martin Orpen <email@hidden>)

  • Prev by Date: iCal Events Repeat Property
  • Next by Date: Dummies coverage
  • Previous by thread: Can iTunes run AppleScript as well as Trojan code?
  • Next by thread: Re: Can iTunes run AppleScript as well as Trojan code?
  • Index(es):
    • Date
    • Thread