Results 1 to 4 of 4

Thread: Backtrack 3 auto_pwn

  1. #1
    Just burned his ISO danielcosta's Avatar
    Join Date
    Mar 2008
    Posts
    4

    Default Backtrack 3 auto_pwn

    For some reason I could never get auto_pwn to work on backtrack 3.
    Im keep getting these errors:

    sudo: no passwd entry for postgres!
    *** glibc detected *** sudo: double free or corruption (fasttop): 0x08064ea8 ***
    ======= Backtrace: =========
    /lib/libc.so.6[0xb7e63c23]
    /lib/libc.so.6(cfree+0x90)[0xb7e670f0]
    sudo[0x804cfa1]
    sudo[0x804e364]
    sudo[0x804f0d9]
    /lib/libc.so.6(__libc_start_main+0xd8)[0xb7e11df8]
    sudo[0x804a141]
    ======= Memory map: ========
    08048000-0805f000 r-xp 00000000 00:0f 9146 /usr/local/bin/sudo
    0805f000-08061000 rw-p 00016000 00:0f 9146 /usr/local/bin/sudo
    08061000-08084000 rw-p 08061000 00:00 0 [heap]
    b7c00000-b7c21000 rw-p b7c00000 00:00 0
    b7c21000-b7d00000 ---p b7c21000 00:00 0
    b7dbb000-b7dc5000 r-xp 00000000 00:0f 3119 /usr/lib/libgcc_s.so.1
    b7dc5000-b7dc6000 rw-p 00009000 00:0f 3119 /usr/lib/libgcc_s.so.1
    b7dc6000-b7dcf000 r-xp 00000000 00:0f 161 /lib/libnss_files-2.5.so
    b7dcf000-b7dd1000 rw-p 00008000 00:0f 161 /lib/libnss_files-2.5.so
    b7dd1000-b7dd9000 r-xp 00000000 00:0f 159 /lib/libnss_nis-2.5.so
    b7dd9000-b7ddb000 rw-p 00007000 00:0f 159 /lib/libnss_nis-2.5.so
    b7ddb000-b7dee000 r-xp 00000000 00:0f 157 /lib/libnsl-2.5.so
    b7dee000-b7df0000 rw-p 00012000 00:0f 157 /lib/libnsl-2.5.so
    b7df0000-b7df2000 rw-p b7df0000 00:00 0
    b7df2000-b7df9000 r-xp 00000000 00:0f 155 /lib/libnss_compat-2.5.so
    b7df9000-b7dfb000 rw-p 00006000 00:0f 155 /lib/libnss_compat-2.5.so
    b7dfb000-b7dfc000 rw-p b7dfb000 00:00 0
    b7dfc000-b7f38000 r-xp 00000000 00:0f 137 /lib/libc-2.5.so
    b7f38000-b7f39000 r--p 0013c000 00:0f 137 /lib/libc-2.5.so
    b7f39000-b7f3b000 rw-p 0013d000 00:0f 137 /lib/libc-2.5.so
    b7f3b000-b7f3e000 rw-p b7f3b000 00:00 0
    b7f3e000-b7f43000 r-xp 00000000 00:0f 4611 /lib/libcrypt-2.5.so
    b7f43000-b7f45000 rw-p 00004000 00:0f 4611 /lib/libcrypt-2.5.so
    b7f45000-b7f6c000 rw-p b7f45000 00:00 0
    b7f81000-b7f82000 rw-p b7f81000 00:00 0
    b7f82000-b7f9d000 r-xp 00000000 00:0f 134 /lib/ld-2.5.so
    b7f9d000-b7f9f000 rw-p 0001b000 00:0f 134 /lib/ld-2.5.so
    bfc37000-bfc4d000 rw-p bfc37000 00:00 0 [stack]
    ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
    /pentest/exploits/framework3/start-db_autopwn: line 3: 13142 Aborted sudo
    -u postgres initdb /home/postgres/metasploit3
    sudo: no passwd entry for postgres!
    *** glibc detected *** sudo: double free or corruption (fasttop): 0x08064ea8 ***
    ======= Backtrace: =========
    /lib/libc.so.6[0xb7e40c23]
    /lib/libc.so.6(cfree+0x90)[0xb7e440f0]
    sudo[0x804cfa1]
    sudo[0x804e364]
    sudo[0x804f0d9]
    /lib/libc.so.6(__libc_start_main+0xd8)[0xb7deedf8]
    sudo[0x804a141]
    ======= Memory map: ========
    08048000-0805f000 r-xp 00000000 00:0f 9146 /usr/local/bin/sudo
    0805f000-08061000 rw-p 00016000 00:0f 9146 /usr/local/bin/sudo
    08061000-08084000 rw-p 08061000 00:00 0 [heap]
    b7c00000-b7c21000 rw-p b7c00000 00:00 0
    b7c21000-b7d00000 ---p b7c21000 00:00 0
    b7d98000-b7da2000 r-xp 00000000 00:0f 3119 /usr/lib/libgcc_s.so.1
    b7da2000-b7da3000 rw-p 00009000 00:0f 3119 /usr/lib/libgcc_s.so.1
    b7da3000-b7dac000 r-xp 00000000 00:0f 161 /lib/libnss_files-2.5.so
    b7dac000-b7dae000 rw-p 00008000 00:0f 161 /lib/libnss_files-2.5.so
    b7dae000-b7db6000 r-xp 00000000 00:0f 159 /lib/libnss_nis-2.5.so
    b7db6000-b7db8000 rw-p 00007000 00:0f 159 /lib/libnss_nis-2.5.so
    b7db8000-b7dcb000 r-xp 00000000 00:0f 157 /lib/libnsl-2.5.so
    b7dcb000-b7dcd000 rw-p 00012000 00:0f 157 /lib/libnsl-2.5.so
    b7dcd000-b7dcf000 rw-p b7dcd000 00:00 0
    b7dcf000-b7dd6000 r-xp 00000000 00:0f 155 /lib/libnss_compat-2.5.so
    b7dd6000-b7dd8000 rw-p 00006000 00:0f 155 /lib/libnss_compat-2.5.so
    b7dd8000-b7dd9000 rw-p b7dd8000 00:00 0
    b7dd9000-b7f15000 r-xp 00000000 00:0f 137 /lib/libc-2.5.so
    b7f15000-b7f16000 r--p 0013c000 00:0f 137 /lib/libc-2.5.so
    b7f16000-b7f18000 rw-p 0013d000 00:0f 137 /lib/libc-2.5.so
    b7f18000-b7f1b000 rw-p b7f18000 00:00 0
    b7f1b000-b7f20000 r-xp 00000000 00:0f 4611 /lib/libcrypt-2.5.so
    b7f20000-b7f22000 rw-p 00004000 00:0f 4611 /lib/libcrypt-2.5.so
    b7f22000-b7f49000 rw-p b7f22000 00:00 0
    b7f5e000-b7f5f000 rw-p b7f5e000 00:00 0
    b7f5f000-b7f7a000 r-xp 00000000 00:0f 134 /lib/ld-2.5.so
    b7f7a000-b7f7c000 rw-p 0001b000 00:0f 134 /lib/ld-2.5.so
    bfbf6000-bfc0b000 rw-p bfbf6000 00:00 0 [stack]
    ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
    /pentest/exploits/framework3/start-db_autopwn: line 4: 13143 Aborted sudo
    -u postgres pg_ctl -D /home/postgres/metasploit3 start

    -----------------------------------------
    anyone know how can i fix this?

  2. #2
    Just burned his ISO
    Join Date
    Mar 2008
    Posts
    21

    Default

    This isn't the answer to your question exactly. But my guess is you are after the end result and not caring about the method so much. If so try

    /pentest/misc/fast-track.py

    If not what was the exact command you ran that go you here? Cause it looks like sudo might be having issues with the postgres user.

  3. #3
    Senior Member shamanvirtuel's Avatar
    Join Date
    Mar 2010
    Location
    Somewhere in the "Ex" human right country
    Posts
    2,988

    Default

    use sqlite3 module in autopawn

    open msf console

    load db_sqlite3
    db_create pentest
    db_nmap 192.168.1.1
    db_autopwn -p -t -e
    Watch your back, your packetz will belong to me soon... xD

    BackTrack :
    Giving Machine Guns to Monkeys since 2006

  4. #4

Posting Permissions

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