Existing users, log in.  New users, create a free account.  Lost password?

Mac OS X  |  Security / Privacy  |  Other Security / Privacy  |  Don't go there GURLfriend!  |  Another alternative

Don't go there GURLfriend!

Don't go there GURLfriend!

Fixes the help:// exploit

Version:  1.1

   [ Views: 381 ]

Another alternative

Feedback Type:  Commentary

Contributed by: morgancain Wednesday, May 19 2004 @ 05:02 PM PDT

Product Platform: MacOSX

Used Product For: Have Not Tried

As posted by jhurshman on Macfixit, you can do this to edit your Info.plist inside the Help appilcation from Terminal:


sudo cp /System/Library/CoreServices/Help\ Viewer.app/Contents/Info.plist /System/Library/CoreServices/Help\ Viewer.app/Contents/Info.plist.original; checkLine=`grep -n 'NSAppleScriptEnabled' /System/Library/CoreServices/Help\ Viewer.app/Contents/Info.plist.original | awk -F : '{print $1}'`; theLine=`echo "$checkLine + 1" | bc`; sed -e "$theLine s/true/false/g" /System/Library/CoreServices/Help\ Viewer.app/Contents/Info.plist.original > ~/Info.plist.nu; sudo cp ~/Info.plist.nu /System/Library/CoreServices/Help\ Viewer.app/Contents/Info.plist


OR if you're paranoid and want to do it manually, you can walk through this recipe (again from Terminal):


sudo -s [enter password]
vi /System/Library/CoreServices/Help\ Viewer.app/Contents/Info.plist
type '/NSApple' to search for NSApplescriptEnabled
down-arrow to next line after NSApplescript, use 'x' key to delete the word 'true'
type 'i' key for insert mode, type 'false', hit 'esc' key
type 'ZZ' to quit and save
exit; exit

Your results should look something like this in the area you edited: 

<key>NSApplescriptEnabled</key>
<false/>
And basically, what you are doing is editing the NSApplescriptEnabled key in the Info.plist file inside the Help View application to be false instead of true.


Works for me!

PS: Trying to post special characters in comment here at VT is like hammering nails with your forehead!   

1 of 2 users found this helpful.

Rate this Commentary

Was this Commentary helpful? Yes | No

Comments

0 comments |

No user comments.