Posts Tagged ‘Cracking’

Am I “The Starving Artist”?!

// December 22nd, 2009 // No Comments » // Personal

A starving artist, living in a loft apartment/studio, always working, creating wondrous works of art, staying up late, sleeping off and on throughout the day. Like a mad scientist on the brink of the next greatest scientific discovery. Always focused on the end result of the creation, never taking his eyes off of it long enough to face that he is alone and truly unfulfilled.

He receives praise from the public for his work. There are exhibitions displaying his work, he makes his appearance, and then he’s back to the lair. If he stays busy enough he won’t have to face reality and the loneliness that he wears like a wet suit, so close and almost a part of his very being. The busier he stays, the opportunity he has for dealing with past hurts or for having to explain and face his emotions is drastically decreased. Always lying to himself and saying “I’ll make time for a social life tomorrow” but that tomorrow never comes. He’s slowly become an introvert. A drastic difference from the once outgoing socialite he was.

When he leaves the hideout he barely recognizes what’s become of the outside world. So much has changed while he’s been tucked away in the safety of his padded and protected world. He doesn’t stay out long. He’s too vulnerable while outside of the protection of his work. While he’s out he thinks he is part of the “real world”. He plays the role, bumping elbows with the right people, making appearances when and where necessary. However, internally he longs for the comfort of his work. He longs to be behind closed doors preoccupied with anything that can keep his mind off of the past, the present, and where he’ll be in the near or distant future.

He’s good at certain things and focuses all of his energy on that. He wants to continue to excel at these things. Why try things that you don’t do well at?! Consistency does not count when failure is the repeated outcome. He just remains focused… focused… focused… Focused on everything but the things which truly matters. He’s living with an escape, day and night. It truly comforts him as a blanket and the warmth of a fireplace does one in the cold of winter. Honestly, the cold of winter is what he walks in daily, minute by minute. It’s so cold, he’s become numb and can’t see the slow decay that the frostbite is causing to the delicate tissue of his personality, emotional state, and his very soul… eventually working its way from the inside out devouring his very physical being.

Is it a dream or a reality?! I hope I wake up soon from this deadly slumber… I toss and turn, determined to break this cycle, hoping to never rest in this coffin of complacency and solitude again. The destiny of this type of existence is to die alone… Wake up…

Until next time…

Installing Metasploit on Mac OS X

// April 28th, 2009 // 9 Comments » // Software, Technology

Note: This was originally posted on one of my blogs on April, 16th, 2007. Since this post remains popular, I am posting it here as the original site will be shutdown in the very near future. I have no idea what the validity of this content is at this point, I just know the information is accessed a number of times a day on the previous site and I want to continue to make it available.

I have known about the Metasploit framework for quite some time but have never really known how to use it or taken the time to learn. Recently, Chris inspired me to try it by showing me a movie explaining how to exploit a vulnerability in Microsoft Windows related to the .ANI Header Stack Overflow Vulnerability

Before I could begin working with this nifty little exploit in Metaspolit I had to get the framework installed on my MacBook. Metasploit is a suite of Ruby scripts and will run on virtually any Unix based operating system and Windows (with some minor tweaking). I checked the MacPorts for Metasploit and it was available as a port install but the latest version in the ports tree was 2.7. I needed at least version 3.0, and later determined I needed a development version, version 3.1, from the trunk to get the exploit I was after.

The first thing I did was upgrade my Subversion client on Mac OS X. I got the universal binary from here and installing and upgrading my Subversion was pretty painless. It installed like most other Mac applications from a package.

Once my Subversion client was up to date, I downloaded the Metasploit framework and unpcked it into /usr/local/msf/. I then made symbolic links to the different Metasploit related applications in /opt/local/bin/, the directory where MacPorts installs binaries and application related scripts. I did this by running the following command as root (or using sudo):

% sudo ln -s /usr/local/msf/msf* /opt/local/bin/

Now that I had the framework downloaded and in place, I installed an updated version of Ruby from MacPorts by running the following command:

% sudo port install ruby

I then downloaded the latest version of RubyGems, uncompressed it, changed into the uncompressed directory and ran the following command to install Ruby Gems:

% sudo ruby setup.rb

Once that operation had completed, I installed the latest version of Rails by issuing the following command:

gem install -v=1.2.3 rails

The original instructions for the steps performed above are available on the Metasploit wiki but I had to modify their instructions a bit due to some errors. The first error I encountered while using the MetaSploit instructions was with installing RubyGems. When following the instructions in the Metasploit wiki I received the following error:

ruby: No such file or directory -- setup (LoadError))

I found some instructions in the RubyGems User Guide that led me to the ruby setup.rb command to install Gems.

The next issue I encountered when using the instructions in the Metaploit wiki was an error when trying to run gem install -v=1.2.2 rails I don’t have the exact error to give you but it was basically something to the effect that version 1.2.2 wasn’t found i the repository. I browsed the repository and saw that a newer version, version 1.2.3, was available so that is why I issued the command with -v=1.2.3.

Once all of the above was completed, I tried to run the exploit I was hoping to run and version 3.0 of the Metasploit framework. I tried to update Metasploit to a higher version but was returned the following:

% sudo svn update
Skipped '.'

I then grabbed a development snapshot by running the following command:

% sudo svn co http://metasploit.com/svn/framework3/trunk/

I placed the trunk/ directory in my /usr/local/msf/ directory and changed my symbolic links to point to the newly downloaded Metasploit components by issuing the following command:

% sudo ln -sf /usr/local/msf/trunk/msf* /opt/local/bin/

I hope this helps other Mac users if and when they get ready to install the Metasploit framework, or Ruby, RubyGems, and Ruby on Rails on their Mac. It is also good for me to have things like this documented somewhere in case I need to revisit it in the future. Either way, Enjoy!

Until next time…