Platform: Arch Linux Author: Nixawk ========================================================= 0. git clone https://github.com/rapid7/metasploit-framework 1. sudo pacman -S git ruby gcc patch curl zlib readline autoconf automake diffutils make libtool bison libpcap 2. wget -O rvm.sh https://get.rvm.io bash rvm.sh stable --autolibs=enabled --ruby=1.9.3 bundle install 3. metasploit database configuration sudo pacman -S postgresql sudo systemctl start postgresql sudo -u postgres initdb --locale en_US.UTF-8 -E UTF8 -D '/var/lib/postgres/data' sudo -u postgres createuser msfuser -P -S -R -D sudo -u postgres createdb -O msfuser msfdb cat /path/to/metasploit-framework/config/database.yml ---------------------database.yml---------------------- # Please only use postgresql bound to a TCP port. # Only postgresql is supportable for metasploit-framework # these days. (No SQLite, no MySQL). # # To set up a metasploit database, follow the directions hosted at: # https://fedoraproject.org/wiki/Metasploit_Postgres_Setup (Works on # essentially any Linux distro, not just Fedora) production: &pgsql adapter: postgresql database: msfdb username: msfuser password: msfpass host: localhost port: 5432 pool: 5 timeout: 5 4. start msfconsole [*] Starting the Metasploit Framework console...\ , , / \ ((__---,,,---__)) (_) O O (_)_________ \ _ / |\ o_o \ M S F | \ \ _____ | * ||| WW||| ||| ||| =[ metasploit v4.11.0-dev [core:4.11.0.pre.dev api:1.0.0]] + -- --=[ 1390 exploits - 789 auxiliary - 226 post ] + -- --=[ 356 payloads - 37 encoders - 8 nops ] + -- --=[ Free Metasploit Pro trial: http://r-7.co/trymsp ] msf > ========================================================= References: http://www.dinotools.de/2014/04/04/install-metasploit-from-git-on-arch/ https://github.com/rapid7/metasploit-framework/wiki http://blog.youkuaiyun.com/nixawk/article/details/44724755
Linux - Install Metasploit on Arch
最新推荐文章于 2024-12-19 16:06:34 发布