Results 1 to 2 of 2

Thread: jtr+pyrit+cowpatty buffer owerflow....

  1. #1
    Just burned his ISO
    Join Date
    May 2011
    Posts
    3

    Question jtr+pyrit+cowpatty buffer owerflow....

    hi ,
    i become when i writing this command:
    Code:
    /pentest/passwords/john/john --stdout --incremental:all | pyrit -e my_WLAN -i - -o -passthrough | cowpatty -r /root/e5e7-06.cap -d - -s my_WLAN
    all time this error

    Code:
    cowpatty 4.6 - WPA-PSK dictionary attack. <jwright@hasborg.com>
    
    Collected all necessary data to mount crack against WPA2/PSK passphrase.
    Starting dictionary attack.  Please be patient.
    Using STDIN for hashfile contents.
    *** buffer overflow detected ***: cowpatty terminated
    ======= Backtrace: =========
    /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0xb74ec390]
    /lib/tls/i686/cmov/libc.so.6(+0xe12ca)[0xb74eb2ca]
    cowpatty[0x804a7a7]
    cowpatty[0x804ac4a]
    /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb7420bd6]
    cowpatty[0x8048c71]
    ======= Memory map: ========
    08048000-0804d000 r-xp 00000000 08:16 402173     /usr/local/bin/cowpatty
    0804d000-0804e000 r--p 00004000 08:16 402173     /usr/local/bin/cowpatty
    0804e000-0804f000 rw-p 00005000 08:16 402173     /usr/local/bin/cowpatty
    0916b000-0918c000 rw-p 00000000 00:00 0          [heap]
    b73c1000-b73de000 r-xp 00000000 08:16 915798     /lib/libgcc_s.so.1
    b73de000-b73df000 r--p 0001c000 08:16 915798     /lib/libgcc_s.so.1
    b73df000-b73e0000 rw-p 0001d000 08:16 915798     /lib/libgcc_s.so.1
    b73f0000-b73f1000 rw-p 00000000 00:00 0 
    b73f1000-b7404000 r-xp 00000000 08:16 915933     /lib/libz.so.1.2.3.3
    b7404000-b7405000 r--p 00012000 08:16 915933     /lib/libz.so.1.2.3.3
    b7405000-b7406000 rw-p 00013000 08:16 915933     /lib/libz.so.1.2.3.3
    b7406000-b7408000 r-xp 00000000 08:16 919909     /lib/tls/i686/cmov/libdl-2.11.1.so
    b7408000-b7409000 r--p 00001000 08:16 919909     /lib/tls/i686/cmov/libdl-2.11.1.so
    b7409000-b740a000 rw-p 00002000 08:16 919909     /lib/tls/i686/cmov/libdl-2.11.1.so
    b740a000-b755d000 r-xp 00000000 08:16 919903     /lib/tls/i686/cmov/libc-2.11.1.so
    b755d000-b755e000 ---p 00153000 08:16 919903     /lib/tls/i686/cmov/libc-2.11.1.so
    b755e000-b7560000 r--p 00153000 08:16 919903     /lib/tls/i686/cmov/libc-2.11.1.so
    b7560000-b7561000 rw-p 00155000 08:16 919903     /lib/tls/i686/cmov/libc-2.11.1.so
    b7561000-b7565000 rw-p 00000000 00:00 0 
    b7565000-b769d000 r-xp 00000000 08:16 916686     /lib/i686/cmov/libcrypto.so.0.9.8
    b769d000-b76a5000 r--p 00137000 08:16 916686     /lib/i686/cmov/libcrypto.so.0.9.8
    b76a5000-b76b3000 rw-p 0013f000 08:16 916686     /lib/i686/cmov/libcrypto.so.0.9.8
    b76b3000-b76b7000 rw-p 00000000 00:00 0 
    b76b7000-b76e4000 r-xp 00000000 08:16 1715758    /usr/lib/libpcap.so.1.0.0
    b76e4000-b76e5000 r--p 0002c000 08:16 1715758    /usr/lib/libpcap.so.1.0.0
    b76e5000-b76e6000 rw-p 0002d000 08:16 1715758    /usr/lib/libpcap.so.1.0.0
    b76f4000-b76f8000 rw-p 00000000 00:00 0 
    b76f8000-b76f9000 r-xp 00000000 00:00 0          [vdso]
    b76f9000-b7714000 r-xp 00000000 08:16 915741     /lib/ld-2.11.1.so
    b7714000-b7715000 r--p 0001a000 08:16 915741     /lib/ld-2.11.1.so
    b7715000-b7716000 rw-p 0001b000 08:16 915741     /lib/ld-2.11.1.so
    bfb83000-bfba4000 rw-p 00000000 00:00 0          [stack]
    Aborted
    how can i fix this?

    thanx Source

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

    Smile AW: jtr+pyrit+cowpatty buffer owerflow....

    ok i have fix this overflow ...i have edit the makefile & genpmk.c

    first download the Source code from : http://wirelessdefence.org/Contents/coWPAttyMain.htm

    change in the Makefile, at line 14
    Code:
    # <dragorn> make is a twisted beast
    ##################################
    LDLIBS          = -lpcap
    CFLAGS          = -pipe -Wall -DOPENSSL
    #CFLAGS         += -O2
    LDLIBS          += -lcrypto
    CFLAGS          += -g3 -ggdb
    and in the genpmk.c, at line 215....

    Code:
    printf("File %s exists, appending new data.\n", opt.hashfile);
                    fpout = fopen(opt.hashfile, "ab");
                    if (fopen == NULL) {
    after this make new files and copy the genpmk & cowpatty binary into your
    /usr/local/bin/

    rename your original files & enjoy!!

    greez Source

Similar Threads

  1. cowpatty : buffer overflow detected....
    By Source in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 05-14-2011, 04:05 PM
  2. pyrit +cowpatty error
    By lizdainis in forum Beginners Forum
    Replies: 6
    Last Post: 07-30-2010, 09:13 AM
  3. crunch pyrit cowpatty
    By RogerDoger in forum OLD Newbie Area
    Replies: 0
    Last Post: 01-31-2010, 04:40 AM
  4. WPA:Cowpatty Buffer overflow on CoWF lookup table after key 30k
    By neomoon in forum OLD BackTrack 4 Software Related Issues
    Replies: 1
    Last Post: 12-23-2009, 04:42 AM
  5. pyrit passthrough cowpatty
    By manulu in forum OLD BackTrack 4 (pre) Final
    Replies: 2
    Last Post: 11-05-2009, 07:37 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
  •