Metasploit: db_driver issues
Has anyone been able to install the postgresql or mysql drivers and connect w/ metasploit?
Do i need to enable a specific repository in apt sources?
Very little info found via google wrt ARM.
Running on transformer w/ Prime 1.6
Thanks
--UPDATE--
Uncommented all lucid entries from apt sources, this allowed me to:
apt-get install postgresql libpq-dev
However, the install failed on creating new cluster, and trying to create it manually via: pg_createcluster 8.4 main --start is also unsuccessful, will continue investigating...
--UPDATE 2--
Further reading suggests the error is due to the inability to create a shared memory segment, which can be resolved by increasing the kernel.shmmax value in /etc/sysctl.conf and then running sysctl -p...
Problem is "kernel.shmmax is unknown key"
So looks like the kernel is not configured for shared memory...
Re: Metasploit: db_driver issues
mySQL can be set up, but its pretty damn tricky. if your interested, i have a copy of BT5 ive been owrking on for arm that has mySQL already built in, configured and autostarted with VNC
(pwned my roommates PC a few days ago :P)
postgresql isnt fully implememnted into arm. you can install it, but it doesnt load up at all (upstart process errors)
the bt5 copy can be found here ---->http://www.backtrack-linux.org/forum...ne-device.html
Re: Metasploit: db_driver issues
Thanks, I'll look into mysql
Also, for anyone else with a transformer the default bootbt should be modified to point to the busybox install on prime 1.6
perm=$(id|cut -b 5)
if [ "$perm" != "0" ];then echo "This Script Needs Root! Type : su";exit;fi
mount -o remount,rw /dev/block/mmcblk0p5 /system
export kit=/sdcard/BT5
export bin=/system/xbin
...
...
...
Respuesta: Re: Metasploit: db_driver issues
Quote:
Originally Posted by
zenful
mySQL can be set up, but its pretty damn tricky. if your interested, i have a copy of BT5 ive been owrking on for arm that has mySQL already built in, configured and autostarted with VNC
(pwned my roommates PC a few days ago :P)
postgresql isnt fully implememnted into arm. you can install it, but it doesnt load up at all (upstart process errors)
the bt5 copy can be found here ---->
http://www.backtrack-linux.org/forum...ne-device.html
zenful thanks for the good york you have been done about this thread:
Code:
http://www.backtrack-linux.org/forums/backtrack-5-arm-topics/42901-any-sized-backtrack-5-4gig-image-android-smartphone-device.html
You talking about: (upstart process errors)
This work for me:
Failed to connect to socket /com/ubuntu/upstart ? Upstart Jobs Cannot be Run on chroot
Being on chroot will cause some packages to fail when they are upgrading. Giving us an error message like this one:
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
dpkg: error processing procps (--configure):
You can workaround this limitation by running these commands
Code:
root@localhost:# dpkg-divert --local --rename --add /sbin/initctl
Adding 'local diversion of /sbin/initctl to /sbin/initctl.distrib'
Code:
root@localhost:# ln -s /bin/true /sbin/initctl