Thread: Application Startup Hack (Mac only)

Results 1 to 3 of 3
  1. #1 Application Startup Hack (Mac only) 
    Junior Member
    Join Date
    Dec 2009
    Posts
    5
    I was playing around with the Macs at school, at I found a neat little hack that could be used for good or chaos, depending on how evil you are. NOTE: Some UNIX experience may be required in order to understand this.

    In case you didn't know, the majority of the apps in your "Applications" folder are simply folders with the extension ".app". You can't go into the folders using Finder, but that is why God invented the UNIX terminal. You can open up the terminal and "cd" (change directory) into the app, really being just a folder.

    Inside, you'll find that there are a bunch of files, but the one you're looking for is a shell script that will run automatically any time that the app is opened. (I don't remember the name of the script, but I do remember that the name made it pretty obvious that it would run whenever you opened the app.)

    "chmod" the script to make it editable, and then open it with vim. (Do not use emacs, because emacs is stupid.) Add or remove commands to your liking, save it, "chmod" it back to read-only, and open the app. The commands you set will run.

    I tested this using Firefox on an Intel Mac running 10.5, and successfully set it to launch a ping flood against the school web site whenever Firefox was opened. Then I deleted the commands and restored it to its original state, because I didn't feel like being expelled that day.

    Have fun!
    Reply With Quote  
     

  2. #2  
    Senior Member PSP Elite Hacker Kaikz's Avatar
    Join Date
    Nov 2008
    Posts
    4,882
    I want a Mac...
    Reply With Quote  
     

  3. #3  
    Member PSP User Master of Cthulhu's Avatar
    Join Date
    Apr 2007
    Posts
    54
    not that this is a good thing, but you actually can get into the .app's using finder. one of the right-click options allows you to open them. however, i really don't think this is a good idea to post about
    SEARCH!!
    Reply With Quote  
     

Similar Threads

  1. psp lock on startup
    By twizdt in forum PSP Hardware & Repair
    Replies: 9
    Last Post: 09-05-2010, 04:36 PM
  2. Password on startup
    By ryanbrooks in forum PSP Homebrew
    Replies: 4
    Last Post: 07-20-2009, 01:35 AM
  3. Startup Glich
    By TheGabageMin in forum PSP Software, Firmware & Plugins
    Replies: 6
    Last Post: 05-27-2009, 05:36 PM
  4. i need some startup .rco's for my psp
    By Conkinator in forum PSP Hardware & Repair
    Replies: 0
    Last Post: 05-25-2008, 07:04 PM
  5. Pandora startup
    By Switchblades in forum PSP Hardware & Repair
    Replies: 8
    Last Post: 03-24-2008, 09:57 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •