• 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: Run-Only script in OSX 10.2.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run-Only script in OSX 10.2.6


  • Subject: Re: Run-Only script in OSX 10.2.6
  • From: Rob Jorgensen <email@hidden>
  • Date: Fri, 16 May 2003 12:54:23 -0400

At 11:33 AM -0400 5/16/03, Stephen Swift wrote:
At 5/13/03 3:46 PM, Rob Jorgensen (email@hidden) Wrote:

I haven't experienced the problem with run-only scripts, but...

I have a one-line script that, in a matter of seconds, can extract
the plain text stored in a run-only script.

What do you mean? If I write the code

thedlg to display dialog "a dialog" default answer ""
Set thetxt to text returned of thedlg

And save it as a run-only script, what can you see? The code? The text
stored in the variables? The items I would see in the event log? I thought
run-only scripts were secure.

Ok, I saved your exact code as a run-only app and then ran it. My spy script, which took only a second or two to execute, reveals:

- Some raw code, such as "aevtoappnull" and "sysodlogaskr" and other junk.
- The text returned from the dialog.
- The variable name: thedlg

So if someone has a line in a script such as:

set licenseCode to "my_secret_serial_number"

The serial number are belong to us.

There are other ways to extract the same info but I don't care to offer a tutorial on the topic. :-)

--

Rob Jorgensen
Ohio, USA
_______________________________________________
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: Run-Only script in OSX 10.2.6 (From: Stephen Swift <email@hidden>)

  • Prev by Date: Folder Labels in OS X?
  • Next by Date: Re: Run-Only script in OSX 10.2.6
  • Previous by thread: Re: Run-Only script in OSX 10.2.6
  • Next by thread: Re: Run-Only script in OSX 10.2.6
  • Index(es):
    • Date
    • Thread