==> Creating clean working copy [build]...done ==> Making package: unicorn 2.3-1 (Fri May 27 08:18:39 EDT 2016) ==> Retrieving sources... -> Found 2.3.tar.gz ==> Validating source files with sha512sums... 2.3.tar.gz ... Passed ==> Making package: unicorn 2.3-1 (Fri May 27 08:18:40 EDT 2016) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (24) dbus-1.10.8-1 git-2.8.3-1 hwids-20160306-1 iptables-1.6.0-1 kbd-2.0.3-1 kmod-22-1 libdbus-1.10.8-1 libelf-0.166-1 libmnl-1.0.3-2 libnftnl-1.0.5-1 libnl-3.2.27-1 libpcap-1.7.4-1 libseccomp-2.3.1-1 libusb-1.0.20-1 libxml2-2.9.4+0+gbdec218-2 libxslt-1.1.29-1 libyaml-0.1.6-1 perl-error-0.17024-1 postgresql-libs-9.5.2-1 ruby-2.3.1-1 ruby-bundler-1.12.5-1 systemd-229-3 metasploit-git-1:20160424.r38125-1 python2-2.7.11-3 Total Download Size: 97.39 MiB Total Installed Size: 359.59 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... downloading libnl-3.2.27-1-armv7h.pkg.tar.xz... downloading libdbus-1.10.8-1-armv7h.pkg.tar.xz... downloading dbus-1.10.8-1-armv7h.pkg.tar.xz... downloading iptables-1.6.0-1-armv7h.pkg.tar.xz... downloading kbd-2.0.3-1-armv7h.pkg.tar.xz... downloading kmod-22-1-armv7h.pkg.tar.xz... downloading hwids-20160306-1-any.pkg.tar.xz... downloading libelf-0.166-1-armv7h.pkg.tar.xz... downloading libseccomp-2.3.1-1-armv7h.pkg.tar.xz... downloading systemd-229-3-armv7h.pkg.tar.xz... downloading libusb-1.0.20-1-armv7h.pkg.tar.xz... downloading libpcap-1.7.4-1-armv7h.pkg.tar.xz... downloading python2-2.7.11-3-armv7h.pkg.tar.xz... downloading libyaml-0.1.6-1-armv7h.pkg.tar.xz... downloading ruby-2.3.1-1-armv7h.pkg.tar.xz... downloading perl-error-0.17024-1-any.pkg.tar.xz... downloading git-2.8.3-1-armv7h.pkg.tar.xz... downloading libxml2-2.9.4+0+gbdec218-2-armv7h.pkg.tar.xz... downloading libxslt-1.1.29-1-armv7h.pkg.tar.xz... downloading postgresql-libs-9.5.2-1-armv7h.pkg.tar.xz... downloading libmnl-1.0.3-2-armv7h.pkg.tar.xz... downloading libnftnl-1.0.5-1-armv7h.pkg.tar.xz... downloading ruby-bundler-1.12.5-1-any.pkg.tar.xz... downloading metasploit-git-1:20160424.r38125-1-armv7h.pkg.tar.xz... downloading metasploit-git-1:20160424.r38125-1-armv7h.pkg.tar.xz... downloading metasploit-git-1:20160424.r38125-1-armv7h.pkg.tar.xz... downloading metasploit-git-1:20160424.r38125-1-armv7h.pkg.tar.xz... downloading metasploit-git-1:20160424.r38125-1-armv7h.pkg.tar.xz... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing python2... Optional dependencies for python2 tk: for IDLE python2-setuptools python2-pip installing libyaml... installing ruby... The default location of gem installs is $HOME/.gem/ruby Add the following line to your PATH if you plan to install using gem $(ruby -rubygems -e "puts Gem.user_dir")/bin If you want to install to the system wide location, you must either: edit /etc/gemrc or run gem with the --no-user-install flag. Optional dependencies for ruby ruby-docs: Ruby documentation tk: for Ruby/TK installing ruby-bundler... installing perl-error... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn perl-mime-tools: git send-email perl-net-smtp-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support python2: various helper scripts [installed] subversion: git svn cvsps2: git cvsimport gnome-keyring: GNOME keyring credential helper installing libxml2... installing libxslt... installing postgresql-libs... installing libnl... installing libdbus... installing dbus... Optional dependencies for dbus libx11: dbus-launch support installing libmnl... installing libnftnl... installing iptables... installing kbd... installing kmod... installing hwids... installing libelf... installing libseccomp... installing systemd... Initializing machine ID from random generator. Creating group systemd-journal-remote with gid 998. Creating user systemd-journal-remote (systemd Journal Remote) with uid 998 and gid 998. Creating group systemd-coredump with gid 997. Creating user systemd-coredump (systemd Core Dumper) with uid 997 and gid 997. Creating group systemd-journal-upload with gid 996. Creating user systemd-journal-upload (systemd Journal Upload) with uid 996 and gid 996. Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service, pointing to /usr/lib/systemd/system/getty@.service. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target, pointing to /usr/lib/systemd/system/remote-fs.target. :: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your bootloader to replace sysvinit with systemd, or install systemd-sysvcompat Optional dependencies for systemd cryptsetup: required for encrypted block devices libmicrohttpd: remote journald capabilities quota-tools: kernel-level quota management systemd-sysvcompat: symlink package to provide sysvinit binaries polkit: allow administration as unprivileged user installing libusb... installing libpcap... installing metasploit-git... :: HOWTO: Setup PostgreSQL Database for operation with Metastploit :: 1) Create "volatile and temporary files and directories" for PostgreSQL: # systemd-tmpfiles --create postgresql.conf 2) Initialize the database cluster: # sudo su - postgres -c "initdb --locale en_US.UTF-8 -E UTF8 -D '/var/lib/postgres/data'" 3) Start PostgreSQL and, optionally, add it to the list of daemons that start on system startup: # systemctl start postgresql # systemctl enable postgresql 4) Configure PostgreSQL server: 4.a) Become the 'postgres' user # sudo -i -u postgres 4.b) As the 'postgres' user: Create a PostgreSQL user = 'msf', and database = 'msf', then exit: $ createuser msfdbuser -P -S -R -D $ createdb -O msfdbuser msfdb $ exit 5) Create '/usr/share/metasploit/database.yml' (make sure password is equal to 'msf' user): production: adapter: "postgresql" database: "msfdb" username: "msfdbuser" password: "CHANGEME" port: 55553 host: "localhost" pool: 256 timeout: 5 6) Set environment variable MSF_DATABASE_CONFIG points to 'database.yml': # sudo echo 'export MSF_DATABASE_CONFIG=/opt/framework/database.yml' > /etc/profile.d/msf.sh # chmod +x /etc/profile.d/msf.sh 6.a) Source '/etc/profile.d/msf.sh' or Logout and Log back into the system: # source /etc/profile.d/msf.sh 7) Start '/usr/bin/msfconsole', it will detect if '/usr/share/metasploit/database.yml' exists and connect to the PostgreSQL database. # /usr/bin/msfconsole Optional dependencies for metasploit-git java-environment: msfgui dradis: dradisis database system ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found 2.3.tar.gz ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... 2.3.tar.gz ... Passed ==> Extracting sources... -> Extracting 2.3.tar.gz with bsdtar ==> Starting prepare()... ==> Entering fakeroot environment... ==> Starting package()... ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issue... ==> Creating package "unicorn"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... error: invalid option '--noprogressbar' -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: unicorn 2.3-1 (Fri May 27 08:20:23 EDT 2016) ==> Cleaning up... ==> Removing installed dependencies... checking dependencies... :: gettext optionally requires git: for autopoint infrastructure updates :: glib2 optionally requires libelf: gresource inspection tool Packages (24) dbus-1.10.8-1 git-2.8.3-1 hwids-20160306-1 iptables-1.6.0-1 kbd-2.0.3-1 kmod-22-1 libdbus-1.10.8-1 libelf-0.166-1 libmnl-1.0.3-2 libnftnl-1.0.5-1 libnl-3.2.27-1 libpcap-1.7.4-1 libseccomp-2.3.1-1 libusb-1.0.20-1 libxml2-2.9.4+0+gbdec218-2 libxslt-1.1.29-1 libyaml-0.1.6-1 metasploit-git-1:20160424.r38125-1 perl-error-0.17024-1 postgresql-libs-9.5.2-1 python2-2.7.11-3 ruby-2.3.1-1 ruby-bundler-1.12.5-1 systemd-229-3 Total Removed Size: 359.59 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing python2... removing metasploit-git... removing ruby-bundler... removing ruby... removing postgresql-libs... removing libyaml... removing libxslt... removing libxml2... removing libpcap... removing libusb... removing systemd... removing libseccomp... removing libnl... removing libelf... removing kmod... removing kbd... removing iptables... removing libnftnl... removing libmnl... removing hwids... removing git... removing perl-error... removing dbus... removing libdbus...