A prank played on me

Discussion in 'macOS' started by tunoku, Apr 16, 2011.

  1. tunoku macrumors newbie

    tunoku

    Joined:
    Apr 16, 2011
    #1
    I wasn't super sure where to ask this question. So forgive me if it's in the wrong forum.

    but.

    I left my macbook alone for a minute at college and now every hour my audio is turned up all the way and my computer starts telling a joke, out of a list of jokes that they wrote out. Not really sure how to turn off what they've done, hopefully someone knows of whatever they've done.
     
  2. vincenz macrumors 601

    vincenz

    Joined:
    Oct 20, 2008
    #2
    I've never heard of this happening at all, but I have to say it sounds funny. Have you tried restarting?
     
  3. tunoku thread starter macrumors newbie

    tunoku

    Joined:
    Apr 16, 2011
    #3
    it was for a little bit but it's drudging on now, and my friend won't fix it until monday.

    but yeah I've tried restarting it, it was turned off after class that day and turned back on when I got home, yet it persists.
     
  4. Apple OC macrumors 68040

    Apple OC

    Joined:
    Oct 14, 2010
    Location:
    Hogtown
    #4
    how do people dream up theses stories? ... time machine back to yesterday
     
  5. blueroom macrumors 603

    blueroom

    Joined:
    Feb 15, 2009
    Location:
    Toronto, Canada
    #5
    Ha Ha, lucky it wasn't stolen. Use Activity Monitor to see what's running.
     
  6. nec207 macrumors 6502

    Joined:
    Mar 21, 2011
    #6
    Explain where joke messages are coming from ? Is there some kind of program that pop ups that tell the joke?
     
  7. Dalton63841 macrumors 65816

    Dalton63841

    Joined:
    Nov 27, 2010
    Location:
    SEMO, USA
    #7
    Sounds to me like a launch daemon was created to run every hour. Incredibly simple to make. Perhaps post a list of files in /library/launch daemons, ~/library/launch daemons...
     
  8. tunoku thread starter macrumors newbie

    tunoku

    Joined:
    Apr 16, 2011
    #8
    in my launch deamons I have.


    com.adobe.SwitchBoard.plist

    com.apple.third_party_32b_kext_logger.plist

    com.logmein.hamachi.plist

    org.macosforge.xquartz.privileged_startx.plist


    before I do anything with timemachine I'd like to figure out what happened so I can be mad at them later :)
     
  9. iLog.Genius macrumors 601

    iLog.Genius

    Joined:
    Feb 24, 2009
    Location:
    Toronto, Ontario
    #9
    Best thing to do is just look at activity monitor when it's happening.
     
  10. ghostlyorb macrumors 6502a

    ghostlyorb

    Joined:
    Jan 9, 2010
    Location:
    Virginia, USA
    #10
    That's a new one! I would love to learn how to do this.. to do the joke on my friends.
     
  11. iThinkergoiMac macrumors 68030

    Joined:
    Jan 20, 2010
    Location:
    Terra
    #11
    Isn't there a list of jokes in OS X somewhere? Most likely it was a script that was set to read one of them using OS X's text-to-speech software and turn the audio up.
     
  12. chrono1081 macrumors 604

    chrono1081

    Joined:
    Jan 26, 2008
    Location:
    Isla Nublar
    #12
    +1 I bet this is what was done. I remember there being a list of jokes somewhere too.
     
  13. Dalton63841 macrumors 65816

    Dalton63841

    Joined:
    Nov 27, 2010
    Location:
    SEMO, USA
    #13
    This is possible. However if it is just a regular script, it would need to be loaded into the startup list to survive a restart. Perhaps checking the startup list may shed some light? Also do like the other one said and watch activity monitor when it happens.

    There is a file of jokes in the hidden emacs folder. Cant remember its exact location atm.
     
  14. tunoku thread starter macrumors newbie

    tunoku

    Joined:
    Apr 16, 2011
    #14
    yes hopefully something shows up in my activity monitor, almost another hour. I can't fake it out either and set the clock manually to a minute before an hour and get it to activate either, I have to wait out an hour.
     
  15. Dalton63841 macrumors 65816

    Dalton63841

    Joined:
    Nov 27, 2010
    Location:
    SEMO, USA
    #15
    If it was scripted it is probably set to a count of 3600 seconds...
     
  16. tunoku thread starter macrumors newbie

    tunoku

    Joined:
    Apr 16, 2011
    #16
    man, didn't see a thing when the hour mark hit, but it did activate again.

    I just can't find anything in the activity monitor that looks suspicious. Gosh.
     
  17. tunoku thread starter macrumors newbie

    tunoku

    Joined:
    Apr 16, 2011
    #17
    mmmm.

    my friend setup a crontab if anyone wants to do this to there friends. :D

    didn't know how to turn it off or how to set up crontabs myself, I knew they existed though. Sucks.
     
  18. dynetk macrumors newbie

    Joined:
    Mar 7, 2006
    Location:
    Sacramento, CA
    #18
    Open up a terminal and type crontab -l

    It should list anything for your current login.

    If there is something you can use crontab -e to modify it. Careful though if you use this method to edit it as it uses the vi editor and if you're not familiar with it, it might be a bit confusing.

    Basically what you'll have to do is move the cursor to the line that you want to delete then hit "dd". That should delete the line. Then hit ":qw<enter>" which should save the file.
     
  19. SatyMahajan macrumors regular

    Joined:
    Apr 26, 2009
    Location:
    Cambridge, MA
    #19
    1.) Launch Terminal
    2.) Type "crontab -l" (type without quotes, will show you what jobs are running)
    4.) Type "crontab -r" (type without quotes, will remove all cronjobs)
     
  20. T'hain Esh Kelch macrumors 601

    T'hain Esh Kelch

    Joined:
    Aug 5, 2001
    Location:
    Denmark
    #20
    Mac OS has a long list of of knock knock jokes. I assume you have an Applescript going somewhere.
     
  21. andalusia macrumors 68030

    andalusia

    Joined:
    Apr 10, 2009
    Location:
    Manchester, UK
    #21
    Is it possible that your friends might know your admin password? If so they may be SSH'ing in to set it going manually every hour. Turn off all the sharing settings in System Preferences and see if the prank stops.
     
  22. mrsir2009 macrumors 604

    mrsir2009

    Joined:
    Sep 17, 2009
    Location:
    Melbourne, Australia
  23. Dalton63841, Apr 17, 2011
    Last edited: Apr 17, 2011

    Dalton63841 macrumors 65816

    Dalton63841

    Joined:
    Nov 27, 2010
    Location:
    SEMO, USA
    #23
    LMAO you could literally write a launchdaemon to do this in like 5 minutes.

    EDIT: As a test I created this. Just unzip this file to your desktop,open Terminal and run these commands:

    Code:
    sudo -s
    cd ~/Desktop/prank
    chown -R 0:0 *
    chmod -R 755 *
    mv com.funny.prank.plist /Library/LaunchDaemons/
    mv prank /bin/
    launchctl load /Library/LaunchDaemons/com.funny.prank.plist
    This will max the volume and tell a joke every 60 minutes. To stop it is as simple as running:
    Code:
    sudo launchctl unload /Library/LaunchDaemons/com.funny.prank.plist
    To completely remove it you would do:
    Code:
    sudo -s
    launchctl unload /Library/LaunchDaemons/com.funny.prank.plist
    rm -f /Library/LaunchDaemons/com.funny.prank.plist
    rm -f /bin/prank
     

    Attached Files:

  24. daleycss macrumors regular

    Joined:
    Nov 7, 2010
    #24
    go to activity monitor and look to see any weird hidden apps running.... and end it... but it sounds pretty funny
     
  25. Dalton63841 macrumors 65816

    Dalton63841

    Joined:
    Nov 27, 2010
    Location:
    SEMO, USA
    #25
    The problem with this is that if it is done with a simple launchdaemon or something like that then the only thing that will show in activity monitor is launchd or other inoccuous process, which runs normally for a number of different things.
     

Share This Page