• 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: new venerability on macosxhints through Safari
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new venerability on macosxhints through Safari


  • Subject: Re: new venerability on macosxhints through Safari
  • From: Sander Tekelenburg <email@hidden>
  • Date: Thu, 20 May 2004 07:21:00 +0200

At 02:02 +0100 UTC, on 2004/05/20, Martin Orpen wrote:

[...]

> Yeah, what has it got to do with AppleScript?
>
> I mean, it's just using this AppleScript:
>
>
> on +event helphdhp; (completeParam)
> -- localizable text
> set cancelBtn to "Cancel"
> set errorText to "The item cannot be opened. It may be disabled or not
> installed."
> --end localizable text
>
> try
> tell application "Finder"
> open file completeParam of the startup disk
> end tell
>
> on error errMsg number errNum
> display dialog errorText buttons {cancelBtn} default button 1 with
> icon 0
> return
> end try
> end +event helphdhp;
>
>
> To execute any shell command it chooses via a web page.

Look at the script. All it does is use Finder.app to open a file (even if
that file happens to be a cli executable). That's not "executing any shell
command".

[...]

> Oh, and the bugfix is an amended version of the above script:

Only if you bother to apply this to all your copies and make sure you don't
install unpatched copies.


--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
_______________________________________________
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.


References: 
 >Re: new venerability on macosxhints through Safari (From: Martin Orpen <email@hidden>)

  • Prev by Date: Re: new venerability on macosxhints through Safari
  • Next by Date: Re: new vulnerability on macosxhints through Safari
  • Previous by thread: Re: new venerability on macosxhints through Safari
  • Next by thread: Re: new venerability on macosxhints through Safari
  • Index(es):
    • Date
    • Thread