Results 1 to 4 of 4

Thread: Metasploit: db_driver issues

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Jul 2011
    Posts
    2

    Default 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...

  2. #2
    Just burned his ISO
    Join Date
    Apr 2011
    Posts
    6

    Default 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

  3. #3
    Just burned his ISO
    Join Date
    Jul 2011
    Posts
    2

    Default 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
    ...
    ...
    ...

  4. #4
    Just burned his ISO
    Join Date
    Sep 2011
    Posts
    5

    Default Respuesta: Re: Metasploit: db_driver issues

    Quote Originally Posted by zenful View Post
    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

Similar Threads

  1. My Fixes for metasploit db_driver and pcaprub loading
    By 3vi1john in forum BackTrack 5 Beginners Section
    Replies: 3
    Last Post: 10-06-2011, 07:07 PM
  2. metasploit db_driver issues (or have i totally lost it?)
    By krrunch in forum BackTrack 5 Beginners Section
    Replies: 9
    Last Post: 05-25-2011, 10:12 AM
  3. Replies: 1
    Last Post: 05-07-2011, 01:35 PM
  4. metasploit , db_driver: command not found
    By Justs in forum Beginners Forum
    Replies: 2
    Last Post: 03-30-2010, 03:44 AM
  5. Metasploit issues!
    By imported_Joes100 in forum OLD Pentesting
    Replies: 9
    Last Post: 10-21-2009, 11:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •