Results 1 to 10 of 18

Thread: [SOLVED] installing cowpatty help

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Beans
    90

    [SOLVED] installing cowpatty help

    i'm trying to install cowpatty. when i did the make command it gave an error. see pic. can someone tell me whats wrong, thx.
    Attached Images Attached Images
    Sony Vaio SR290. Dual-Boot Vista/Ubuntu 8.10
    Intel Pent Dual Core 2.0 Ghz
    2GB RAM, Video Card: Intel Mobile 4 Series Chipset

  2. #2
    Join Date
    Feb 2008
    Beans
    90

    Re: [SOLVED] installing cowpatty help

    I solved it,
    Sony Vaio SR290. Dual-Boot Vista/Ubuntu 8.10
    Intel Pent Dual Core 2.0 Ghz
    2GB RAM, Video Card: Intel Mobile 4 Series Chipset

  3. #3
    Join Date
    Sep 2008
    Beans
    8

    Re: [SOLVED] installing cowpatty help

    Can you please explain how you fixed your problem? I got the same problem. Thanks.

  4. #4
    Join Date
    Jul 2008
    Location
    Poland, Malbork
    Beans
    7
    Distro
    Ubuntu Karmic Koala (testing)

    Re: [SOLVED] installing cowpatty help

    apt-get install libssl-dev
    apt-get install libpcap0.8-dev
    then try make.

  5. #5
    Join Date
    Jun 2008
    Location
    Moscow, ID
    Beans
    13
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: [SOLVED] installing cowpatty help

    Nice. It worked.

  6. #6
    Join Date
    Jul 2006
    Location
    Auckland
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: [SOLVED] installing cowpatty help

    hi,
    I got the below warning while "make" command

    cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o md5.o md5.c
    cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o sha1.o sha1.c
    In function ‘memcpy’,
    inlined from ‘hmac_sha1_vector’ at sha1.c:111:
    /usr/include/bits/string3.h:52: warning: call to __builtin___memcpy_chk will always overflow destination buffer
    cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o utils.o utils.c
    cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o cowpatty.o cowpatty.c
    cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o genpmk.o genpmk.c
    genpmk.c: In function ‘main’:
    genpmk.c:215: warning: ignoring return value of ‘fopen’, declared with attribute warn_unused_result
    genpmk.c:278: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
    genpmk.c:279: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
    genpmk.c:280: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
    cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb cowpatty.c -o cowpatty utils.o md5.o sha1.o -lpcap -lcrypto
    cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb genpmk.c -o genpmk utils.o sha1.o -lpcap -lcrypto
    genpmk.c: In function ‘main’:
    genpmk.c:215: warning: ignoring return value of ‘fopen’, declared with attribute warn_unused_result
    genpmk.c:278: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
    genpmk.c:279: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
    genpmk.c:280: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result

    am i missing something ? pls help

    Thanks

  7. #7
    Join Date
    Nov 2010
    Beans
    3

    Re: [SOLVED] installing cowpatty help

    Quote Originally Posted by n4p1 View Post
    apt-get install libssl-dev
    apt-get install libpcap0.8-dev
    then try make.
    This worked for me on Ubuntu 9.10 with CowPatty 4.6

    Also, to execute, do "./cowpatty" after making it.

  8. #8
    Join Date
    Mar 2011
    Beans
    10

    Re: [SOLVED] installing cowpatty help

    Quote Originally Posted by n4p1 View Post
    apt-get install libssl-dev
    apt-get install libpcap0.8-dev
    then try make.
    Worked for me!

    A hint:
    Worked for me together with "sudo" and do the "make" inside the folder you unpacked cowpatty.

Bookmarks

Posting Permissions

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