Installing Metasploit from svn on FreeBSD
Apr 04, 2010
Since Metasploit is so dynamic and still changing frequently with full time employees, it is best to just sync a local file tree to the latest code branch when you plan to use it. You can use the /usr/ports/security/metasploit port, but you will find it lagged far behind the latest SVN tree.
Anyways, we need to install subversion to download the Metasploit Framework.
- # cd /usr/ports/devel/subversion
- # make install clean distclean
Now make room for Metasploit and download the tree.
- $ mkdir ~/.msf3
- $ cd ~/.msf3
- $ svn co https://www.metasploit.com/svn/framework3/trunk framework
Finally, drag in Ruby and a few supporting modules.
- # cd /usr/ports/databases/rubygem-activerecord
- # make install clean distclean
- # cd /usr/ports/devel/ruby-rreadline
- # make install
Also, if you want to interface Metaspoit with a database backend (and you will), just install database server of choice (MySQL, Postgres, Sqlite3) and supporting Ruby module.
- # cd /usr/ports/databases/mysql51-server
- # make install clean distclean
- # cd /usr/ports/databases/ruby-mysql
- # make install
- # cd /usr/ports/databases/sqlite
- # make install clean distclean
- # cd /usr/ports/databases/rubygem-sqlite3
- # make install
If you want to use the Web interface, you will have to install yet another Ruby module.
- # cd /usr/ports/www/rubygem-rails
- # make install clean distclean
Post a New Comment
- Tags
- ALIX (1)
- digitalfoo.net (2)
- embedded (6)
- FreeBSD (25)
- Java (1)
- Linux (20)
- misc (4)
- my projects (1)
- NanoBSD (3)
- opensource (5)
- perl (1)
- PHP (3)
- programming (7)
- security (4)
- Archives
- 2010
- June (5)
- July (2)
- April (6)
- March (2)
- May (1)
- August (2)
- 2009
- August (7)
- July (8)
- April (4)
- May (4)
- December (2)
- June (1)
- September (1)
- November (4)
- October (1)
- Web Tools
- Index
- dig-shovel Live
- SQL Injection Encoder
- Links
-

