Results 1 to 5 of 5

Thread: genpmk bufffer overflow/ abort

  1. #1
    Just burned his ISO
    Join Date
    Dec 2009
    Posts
    2

    Default genpmk bufffer overflow/ abort

    This is what I get when trying to create a new table. I've looked over most of the threads that have "genpmk" in them and haven't found any help. Thanks

    Code:
    eli@ubuntu:~$ genpmk -f wpalist.txt -d docgirl.wpa -s doctorgirl
    genpmk 1.0 - WPA-PSK precomputation attack. <jwright@hasborg.com>
    File docgirl.wpa does not exist, creating.
    *** buffer overflow detected ***: genpmk terminated
    ======= Backtrace: =========
    /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x36bde8]
    /lib/tls/i686/cmov/libc.so.6[0x36ae20]
    genpmk[0x8049c41]
    genpmk[0x8049f5c]
    genpmk[0x804a0b0]
    genpmk[0x80491ea]
    /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x2a1b56]
    genpmk[0x8048b61]
    ======= Memory map: ========
    00110000-00124000 r-xp 00000000 07:00 1605       /lib/libz.so.1.2.3.3
    00124000-00125000 r--p 00013000 07:00 1605       /lib/libz.so.1.2.3.3
    00125000-00126000 rw-p 00014000 07:00 1605       /lib/libz.so.1.2.3.3
    0012a000-0015b000 r-xp 00000000 07:00 8684       /usr/lib/libpcap.so.1.0.0
    0015b000-0015c000 r--p 00031000 07:00 8684       /usr/lib/libpcap.so.1.0.0
    0015c000-0015d000 rw-p 00032000 07:00 8684       /usr/lib/libpcap.so.1.0.0
    0021b000-0021d000 r-xp 00000000 07:00 4867       /lib/tls/i686/cmov/libdl-2.10.1.so
    0021d000-0021e000 r--p 00001000 07:00 4867       /lib/tls/i686/cmov/libdl-2.10.1.so
    0021e000-0021f000 rw-p 00002000 07:00 4867       /lib/tls/i686/cmov/libdl-2.10.1.so
    0028b000-003c9000 r-xp 00000000 07:00 4861       /lib/tls/i686/cmov/libc-2.10.1.so
    003c9000-003cb000 r--p 0013e000 07:00 4861       /lib/tls/i686/cmov/libc-2.10.1.so
    003cb000-003cc000 rw-p 00140000 07:00 4861       /lib/tls/i686/cmov/libc-2.10.1.so
    003cc000-003cf000 rw-p 00000000 00:00 0 
    00938000-00939000 r-xp 00000000 00:00 0          [vdso]
    0098b000-009a7000 r-xp 00000000 07:00 1503       /lib/libgcc_s.so.1
    009a7000-009a8000 r--p 0001b000 07:00 1503       /lib/libgcc_s.so.1
    009a8000-009a9000 rw-p 0001c000 07:00 1503       /lib/libgcc_s.so.1
    00bac000-00bc7000 r-xp 00000000 07:00 1453       /lib/ld-2.10.1.so
    00bc7000-00bc8000 r--p 0001a000 07:00 1453       /lib/ld-2.10.1.so
    00bc8000-00bc9000 rw-p 0001b000 07:00 1453       /lib/ld-2.10.1.so
    00c3f000-00d8e000 r-xp 00000000 07:00 1867       /lib/i686/cmov/libcrypto.so.0.9.8
    00d8e000-00d96000 r--p 0014e000 07:00 1867       /lib/i686/cmov/libcrypto.so.0.9.8
    00d96000-00da3000 rw-p 00156000 07:00 1867       /lib/i686/cmov/libcrypto.so.0.9.8
    00da3000-00da7000 rw-p 00000000 00:00 0 
    08048000-0804b000 r-xp 00000000 07:00 102920     /usr/local/bin/genpmk
    0804b000-0804c000 r--p 00002000 07:00 102920     /usr/local/bin/genpmk
    0804c000-0804d000 rw-p 00003000 07:00 102920     /usr/local/bin/genpmk
    09720000-09741000 rw-p 00000000 00:00 0          [heap]
    b7795000-b7797000 rw-p 00000000 00:00 0 
    b77a2000-b77a7000 rw-p 00000000 00:00 0 
    bfcda000-bfcef000 rw-p 00000000 00:00 0          [stack]
    Aborted
    eli@ubuntu:~$ genpmk -d docgirl.wpa -f /root/wpalist.txt -s doctorgirl
    genpmk 1.0 - WPA-PSK precomputation attack. <jwright@hasborg.com>
    fopen: Permission denied
    eli@ubuntu:~$ sudo genpmk -d docgirl.wpa -f /root/wpalist.txt -s doctorgirl
    [sudo] password for eli: 
    genpmk 1.0 - WPA-PSK precomputation attack. <jwright@hasborg.com>
    fopen: No such file or directory
    eli@ubuntu:~$ clear
    
    eli@ubuntu:~$ genpmk -f wpalist.txt -d doctorgirl.wpa -s doctorgirl
    genpmk 1.0 - WPA-PSK precomputation attack. <jwright@hasborg.com>
    File doctorgirl.wpa does not exist, creating.
    *** buffer overflow detected ***: genpmk terminated
    ======= Backtrace: =========
    /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x78ede8]
    /lib/tls/i686/cmov/libc.so.6[0x78de20]
    genpmk[0x8049c41]
    genpmk[0x8049f5c]
    genpmk[0x804a0b0]
    genpmk[0x80491ea]
    /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x6c4b56]
    genpmk[0x8048b61]
    ======= Memory map: ========
    0012c000-0012d000 r-xp 00000000 00:00 0          [vdso]
    0012d000-0027c000 r-xp 00000000 07:00 1867       /lib/i686/cmov/libcrypto.so.0.9.8
    0027c000-00284000 r--p 0014e000 07:00 1867       /lib/i686/cmov/libcrypto.so.0.9.8
    00284000-00291000 rw-p 00156000 07:00 1867       /lib/i686/cmov/libcrypto.so.0.9.8
    00291000-00295000 rw-p 00000000 00:00 0 
    004de000-0050f000 r-xp 00000000 07:00 8684       /usr/lib/libpcap.so.1.0.0
    0050f000-00510000 r--p 00031000 07:00 8684       /usr/lib/libpcap.so.1.0.0
    00510000-00511000 rw-p 00032000 07:00 8684       /usr/lib/libpcap.so.1.0.0
    00642000-0065d000 r-xp 00000000 07:00 1453       /lib/ld-2.10.1.so
    0065d000-0065e000 r--p 0001a000 07:00 1453       /lib/ld-2.10.1.so
    0065e000-0065f000 rw-p 0001b000 07:00 1453       /lib/ld-2.10.1.so
    006ae000-007ec000 r-xp 00000000 07:00 4861       /lib/tls/i686/cmov/libc-2.10.1.so
    007ec000-007ee000 r--p 0013e000 07:00 4861       /lib/tls/i686/cmov/libc-2.10.1.so
    007ee000-007ef000 rw-p 00140000 07:00 4861       /lib/tls/i686/cmov/libc-2.10.1.so
    007ef000-007f2000 rw-p 00000000 00:00 0 
    00840000-0085c000 r-xp 00000000 07:00 1503       /lib/libgcc_s.so.1
    0085c000-0085d000 r--p 0001b000 07:00 1503       /lib/libgcc_s.so.1
    0085d000-0085e000 rw-p 0001c000 07:00 1503       /lib/libgcc_s.so.1
    009e9000-009eb000 r-xp 00000000 07:00 4867       /lib/tls/i686/cmov/libdl-2.10.1.so
    009eb000-009ec000 r--p 00001000 07:00 4867       /lib/tls/i686/cmov/libdl-2.10.1.so
    009ec000-009ed000 rw-p 00002000 07:00 4867       /lib/tls/i686/cmov/libdl-2.10.1.so
    00c37000-00c4b000 r-xp 00000000 07:00 1605       /lib/libz.so.1.2.3.3
    00c4b000-00c4c000 r--p 00013000 07:00 1605       /lib/libz.so.1.2.3.3
    00c4c000-00c4d000 rw-p 00014000 07:00 1605       /lib/libz.so.1.2.3.3
    08048000-0804b000 r-xp 00000000 07:00 102920     /usr/local/bin/genpmk
    0804b000-0804c000 r--p 00002000 07:00 102920     /usr/local/bin/genpmk
    0804c000-0804d000 rw-p 00003000 07:00 102920     /usr/local/bin/genpmk
    08daa000-08dcb000 rw-p 00000000 00:00 0          [heap]
    b78c1000-b78c3000 rw-p 00000000 00:00 0 
    b78ce000-b78d3000 rw-p 00000000 00:00 0 
    bfdf6000-bfe0b000 rw-p 00000000 00:00 0          [stack]
    Aborted
    eli@ubuntu:~$

  2. #2
    Developer
    Join Date
    Mar 2007
    Posts
    6,124

    Default

    Looks like you are using ubuntu and not backtrack.

  3. #3
    Just burned his ISO
    Join Date
    Dec 2009
    Posts
    2

    Default

    I am but this forum seems like it would have more knowledge on dealing with genpmk

  4. #4
    Super Moderator lupin's Avatar
    Join Date
    Jan 2010
    Posts
    2,943

    Default

    Try this on BackTrack 4 PF and post back if you get the same error. We don't support Ubuntu.
    Capitalisation is important. It's the difference between "Helping your brother Jack off a horse" and "Helping your brother jack off a horse".

    The Forum Rules, Forum FAQ and the BackTrack Wiki... learn them, love them, live them.

  5. #5
    Developer
    Join Date
    Mar 2007
    Posts
    6,124

    Default

    Quote Originally Posted by sem1845 View Post
    I am but this forum seems like it would have more knowledge on dealing with genpmk
    Like lumpin said it works on backtrack. It requires a patch to function properly which we have written and applied in our version.

    But since it Christmas and all I'll give you the patch to fix yours.

    http://proton.cygnusx-1.org/~edgan/c...-fixup16.patch


    EDIT: In anticipation of your next question I went ahead a wrote a how to on a question/answer site that I write for since its not backtrack related.

    http://www.question-defense.com/2009...uffer-overflow

Posting Permissions

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