From a terminal window run the following command:
#Pen scanner for mac install
Next we will install PostgreSQL using Homebrew. $ ruby -e “$(curl -fsSkL /mxcl/homebrew/go)” Homebrew is a good method to install Open Source software packages.įirst we will install Homebrew. I tried a few different installation methods, but this is the easiest way to install PostgreSQL. We will use Homebrew to install PostgreSQL. In this article, we will be using PostgreSQL. PostgreSQL is the vendor recommended and supported database, but MySQL can be used. Workspace allows easy project organization by offering separate workspaces for each project. The workspace feature of Metasploit is one of the really nice features of Metasploit that requires a database. You should get back the following response:Ī database is not required to run, but some of the features of Metasploit require that you install a database. To verify the Ruby install locations, enter this syntax:
You can verify the path by entering the following syntax in a terminal window: opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/ sbin:/sbin You should get back something that looks like this: The default Ruby install path for MacPorts is: /opt/local/ It’s a good idea to verify that the PATH is correct, so that opt/local/bin is listed before /usr/bin.
#Pen scanner for mac upgrade
We will be using MacPorts to upgrade Ruby.
#Pen scanner for mac mac os x
Mac OS X is preinstalled with Ruby, but we want to upgrade to Ruby 1.9.3 The majority of hacking tools are command line based, so they are easy and fairly straightforward to install. Metasploit was the toughest application to get running on Mac OS X and that was mostly due to the PostgreSQL database setup. I was really surprised to see that there’s not a lot of information on the subject of using Mac OS X as a pen testing/hacking platform. With all of the benefits and features of the Mac OS X, there is no reason to not use Mac OS X for your pen testing platform.
You also have powerful scripting languages installed such as Perl and Python. Since Mac OS X is a UNIX based operating system, you get great tools that come natively with UNIX operating systems such as netcat and SSH. My goal is to get most, if not all, of the tools I use installed on my MacBook Pro and run them natively within OS X.
I wanted to expand the toolset of my Mac, so I started with Nessus, nmap, SQLMap, and then I installed Metasploit. I recently started installing my hacking tools on my MacBook Pro. My attack laptop happens to be a MacBook Pro and I started out running VirtualBox with a BackTrack Linux virtual machine. Also by running the tools within OS X, you will be able to seamlessly access all of your Mac OS X applications. This also eliminates the need to transfer files between your operating system and a virtual machine, and the hassles of having to deal with a virtual machine. Another benefit is not having to share your system resources with a virtual machine. While this is a great option, sometimes it is nice to have your tools running on the native operating system of your computer.