View Full Version : Was Metasploit DB support removed for ARM?

2013-12-12, 18:40
After I open msfconsole and try to connect I get these errors.

db_connect UN:PASSWD@localhost/DBNAME
[-] No database driver installed. Try 'gem install pg'

msf > db_status
[-] No database driver installed. Try 'gem install pg'

Then I try an instal the gem...

root@kali:~# gem install pg
Building native extensions. This could take a while...
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9.1 extconf.rb
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from extconf.rb:2:in `<main>'

Gem files will remain installed in /var/lib/gems/1.9.1/gems/pg-0.17.0 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/pg-0.17.0/ext/gem_make.out
root@kali:~#[-] No database driver installed. Try 'gem install pg'

root@kali:~# cat /proc/version
Linux version 3.6.11+ (root@kali) (gcc version 4.6.2 20111004 (prerelease) (Linaro GCC 4.6-2011.10) ) #7 PREEMPT Mon Mar 11 16:46:44 EDT 2013

root@kali:~# cat /proc/cpuinfo
Processor : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 697.95
Features : swp half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7

Hardware : BCM2708
Revision : 000e
Serial : 0000000017c95df0

Thanks for the great OS!!!

2013-12-16, 18:18
Did you install metasploit using apt-get? I don't recall having to manually install my gems when using apt. I did however have to comment out postgresql on the blacklist and add it to the whitelist, set the permissions for the postgres user, and manually create my postgtesql user and database. Its all working over here though.

2013-12-17, 14:49
Just normal Kali Linux install with Metasploit. I will look at the other suggestions.


2013-12-23, 22:43
I should also add the kernel of your device needs sysvipc to be enabled

2014-01-01, 19:54
see http://rmccurdy.com/scripts/ Linux_Deploy_Kali_Metasploit_Autopwn_ArmHF.txt and db_autopwn.rb may help