Re: Run-Only script in OSX 10.2.6
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.