Arm-linux manual installation of Metasploit notes

Source: Internet
Author: User

(Linux is all available)
Bought a piece of Cubieboard4
Performance is good, want to install Metasploit above, but the source above, decided to install manually

Metasploit is written in Ruby (slow for a reason, but then again, even if it is slow, is also famous, hack the world has not heard anything about the static language projects, so that no matter how efficient, developed is the cow b)

Installation dependencies, here in Debian for example

sudo apt-get install build-essential libreadline-dev libssl-dev libpq5 libpq-dev libreadline5 libsqlite3-dev libpcap-dev openjdk-7-jre git-core autoconf postgresql pgadmin3 curl zlib1g-dev libxml2-dev libxslt1-dev vncviewer libyaml-dev curl zlib1g-dev

Install ruby,2.1.5 above, source above, can consider with RVM, or rbenv, here do not introduce more

sudo

Then install a nmap, source or compile

Configure the database, create a role be sure to enter a password

-s-P-S-R-D-O msf msfexitexit

Download Metasploit Source code

clone https://github.com/rapid7/metasploit-framework.gitcd metasploit-framework

Start installation

install

is not compiled, generally there is no error, after the installation of the bin file into the path (not required)

cd metasploit-frameworksudo bash -c ‘forindo ln -s /opt/metasploit-framework/$MSF /usr/local/bin/$MSF;done‘

Configuration database

/opt/metasploit-framework/config/database.yml

shell
production:
adapter: postgresql
database: msf
username: msf
password: (刚才的密码)
host: 127.0.0.1
port: 5432
pool: 75
timeout: 5

Okay, OK.

Msfconsole, give it a try.

Arm-linux manual installation of Metasploit notes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.