Easter Eggs found in Mac OS X Software. Find hidden easter eggs in movies, tv shows, software, music, books, and art. Jun 08, 2016 For years, some Apple users have been hoping for Apple to release a touchscreen Mac. This desire reached a fever pitch in 2012 when Microsoft released Windows 8, their first desktop OS designed. I love the extra attention Apple gives to details in OS X. crarko adds: Another reader (titaniumtroop) set in a similar submission about the Quick Look icon for a Windows Server being the BSOD. Apple has removed so many of the good old Easter eggs it's nice to see an indication that a sense of humor still thrives in Cupertino.
Mac Os Mojave
Background
I like to use OS X for as much as possible when doing assessments, but on a recent Android test I had a hell of a time getting Drozer installed. I finally got it working and figured I'd share the steps in case anyone else out there runs into the same problems I had.
If you're not familiar, Drozer is an awesome attack and testing framework for Android. You can read more about it here: https://labs.mwrinfosecurity.com/tools/drozer/ or on its main GitHub page https://github.com/mwrlabs/drozer
It's written in Python and you can download the egg file. Since I do most of my android testing from Mac (with Genymotion and Burp), I figured I would just download the Drozer egg and install it with my native Python. The installation instructions don't mention OS X, but they seemed simple enough for Linux (just using easy_install).
Turns out there's quite a few dependency issues which were a pain to resolve. I'm gonna walk through the steps I took to finally get it up and running.
Dependency Hell
If you just download the egg and try to use 'easy_install' on Mac, you'll get some spectacular error codes when trying to install the dependencies. Drozer requires the following python modules:
The root of the problems is in pyOpenSSL. OS X El Capitan doesn't come with OpenSSL installed anymore, and trying to compile pyOpenSSL will fail because it can't find the required headers.
Installing Dependencies
First of all, don't try to use Mac's built-in python. Install python with homebrew ($ brew install python
) and make sure you can 'pip install' modules without needing sudo. Secondly, since Drozer has some hard coded dependencies on specific versions, I opted to install everything in a python virtual environment. I prefer to use virtualenvwrapper to create and manger virtualenvs: Subject54 v2 mac os.
Install OpenSSL. Use brew to install OpenSSL back onto OS X El Capitan. If it's already present, uninstall and reinstall it:
Compile pyOpenSSL. Unfortunately, Drozer requires a specific version of pyOpenSSL - and this version has a typo that prevents it from compiling successfully. This took me forever to figure out until I saw a similar error and the fix here. We need to download the source for pyOpenSSL v0.13 then fix the typo (using sed):
Camp shepherd mac os. The sed command fixes the typo (‘dup' vs ‘dupe'). Next we need to build pyOpenSSL, but need to specify the location of the OpenSSL headers we installed from brew (using build_ext the ‘-L' and ‘-I' options):
Eggs Mac Os Sierra
Note: make sure you are in your drozer virtualenv before doing the build/install steps!
Install other dependencies. Once pyOpenSSL v0.13 is installed in the virtualenv, use easy_install to install the other dependencies:
Install Drozer. Finally, download the latest Drozer egg file from here: https://www.mwrinfosecurity.com/products/drozer/. Still inside your drozer virtualenv, use easy_install to install it. If all goes right it should work with no errors:
Eggs Macronutrients
Running Drozer
You can now always run drozer from the virtual environment you created. Since I get sick of switching to virtual environments, it's possible to just create a shortcut to run drozer from the virtual environment it's in.
Create the file /usr/local/bin/drozer
(or wherever you want the shortcut to be). For the shebang, put the absolute path the python executable for the drozer virtual environment. The file should look like this:
Mac Os Download
The root of the problems is in pyOpenSSL. OS X El Capitan doesn't come with OpenSSL installed anymore, and trying to compile pyOpenSSL will fail because it can't find the required headers.
Installing Dependencies
First of all, don't try to use Mac's built-in python. Install python with homebrew ($ brew install python
) and make sure you can 'pip install' modules without needing sudo. Secondly, since Drozer has some hard coded dependencies on specific versions, I opted to install everything in a python virtual environment. I prefer to use virtualenvwrapper to create and manger virtualenvs: Subject54 v2 mac os.
Install OpenSSL. Use brew to install OpenSSL back onto OS X El Capitan. If it's already present, uninstall and reinstall it:
Compile pyOpenSSL. Unfortunately, Drozer requires a specific version of pyOpenSSL - and this version has a typo that prevents it from compiling successfully. This took me forever to figure out until I saw a similar error and the fix here. We need to download the source for pyOpenSSL v0.13 then fix the typo (using sed):
Camp shepherd mac os. The sed command fixes the typo (‘dup' vs ‘dupe'). Next we need to build pyOpenSSL, but need to specify the location of the OpenSSL headers we installed from brew (using build_ext the ‘-L' and ‘-I' options):
Eggs Mac Os Sierra
Note: make sure you are in your drozer virtualenv before doing the build/install steps!
Install other dependencies. Once pyOpenSSL v0.13 is installed in the virtualenv, use easy_install to install the other dependencies:
Install Drozer. Finally, download the latest Drozer egg file from here: https://www.mwrinfosecurity.com/products/drozer/. Still inside your drozer virtualenv, use easy_install to install it. If all goes right it should work with no errors:
Eggs Macronutrients
Running Drozer
You can now always run drozer from the virtual environment you created. Since I get sick of switching to virtual environments, it's possible to just create a shortcut to run drozer from the virtual environment it's in.
Create the file /usr/local/bin/drozer
(or wherever you want the shortcut to be). For the shebang, put the absolute path the python executable for the drozer virtual environment. The file should look like this:
Mac Os Download
Now you have a command 'drozer' in your path and can run it anywhere:
Hope this helps somebody! Happy android hacking :)
-ropnop
See also
Since the beginning of Apple history, Steve Jobs and his team in Cupertino have been secretly adding tons of fun prompts and games into hidden parts of Mac OS X. In celebration of the Easter holiday coming up, we've collected our favorite Mac 'Easter Eggs' for you to enjoy:
- Find Famous Dates in History: To find a list of 'famous dates in history,' open your 'Terminal' (under Utilities). Enter this line of code into your Terminal window: cat /usr/share/calendar/calendar.history. From there, a list of important events on any given day of the year throughout history will pop up for your reference.
- Play Snake, Tetris, or Pong: Also through Terminal (in Utilities) you can open up mini games hidden in your Mac computer. With your Terminal type in: emacs. From there, press 'X' and the escape key at the same time. Enter in either 'snake' 'tetris' or 'pong' depending on the game you want to play (without quotes) and you'll have a fully functioning game open right then and there.
- Enable 'Suck' Minimizing Effect: 'Suck' is one of Mac's hidden minimizing/ maximizing effects. It's pretty simple, but if you're looking to shake things up a bit, it's pretty easy to put into effect. Open 'Terminal' (in 'Utilities') and enter the prompt: defaults write com.apple.dock mineffect -string suck. You will need to restart your 'dock' to turn on this function now. This can be done by restarting your Mac or 'quitting' your dock in 'Activity Monitor.' Once you quit your dock, it will immediately restart, enabling the 'Suck' effect when minimizing/ maximizing windows.
- Speak to a Psychotherapist: Under the same prompt as games (Utilities> Terminal> 'emacs' > press 'x' and the Esc key at the same time), you can enter the word 'doctor' in as a command. A prompt as a 'psychotherapist' will come up. The instructions say to enter 'RET RET' after anything typed to enter text. It works better on older versions of Mac OS X. It also has been described as a caveman version of Siri. Besides that, we still appreciate it.
- Watch Star Wars: Open Terminal and enter 'telnet towel.blinkenlights.nl' to start a screening of Star Wars in ASCII (American Standard Code for Information Interchange) art. We know, this is our favorite one too.
- Enable 'Genie' Slow Motion Effect: If you hold down the shift button while minimizing (or maximizing) a window, it will open (or close) in slow motion.
- Bake Cookies: Okay, so your computer won't bake cookies for you, but you can find Mrs. Field's recipe on your Mac. Open your Terminal and enter 'open /usr/share/emacs/22.1/etc/COOKIES.' After that point, you have to bake them yourself, but maybe someday…
- Play a game like 'Mud': Like most of the things listed, you can also open this interaction 'game' through your terminal. Enter: emacs -batch -l dunnet. There are some simple instructions you can use to help you through the prompt given. 'Take the shovel' & 'go North' are a few of them. The game will guide you in a yes/no kind of fashion.If you type a command that doesn't exist in the game, it will simply respond 'I don't understand that.'Type 'Inventory' at any point to take a record of anything you've acquired through this game. This one's a real time killer.
- Donate to charity: Through Terminal, you can open 'Charityware.' Type in: vi. The prompt will tell you ways to donate to needy children in Uganda.
- Find a Lord of the Rings timeline: Also in Terminal, type in 'cat /usr/share/calendar/calendar.lotr' for a list of dates, marking important events in the LOTR timelines. For other calendars, start a new Terminal prompt and enter 'ls /usr/share/calendar' from there, you can replace '.lotr' in the first code with any of the listed items.
Besides providing us with countless (possible) hours of entertainment, finding and playing with these 'Easter Eggs' is great because it shows that the Apple team had just as much fun creating our favorite Mac computers as we do playing with them! Have any other Mac OS X 'Easter Eggs' to share? Please comment with them below!
We at Mac Enthusiasts not only write really cool blog posts about your Mac, we also do Apple repair, sell, buy, & rent Mac computers as well. Check out out location at 10600 W. Pico Blvd. Los Angeles, CA 90064, call us at (800)448-1892, or contact us online for more information about all of our services.