Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Cracking WPA in 10 Hours or Less ?

    Reply
    psychologe | # 1 | 2011-12-30, 22:34 | Report

    The WiFi Protected Setup protocol is vulnerable to a brute force attack that allows an attacker to recover an access point’s WPS pin, and subsequently the WPA/WPA2 passphrase, in just a matter of hours.

    the link is http://devttys0.com/2011/12/cracking...hours-or-less/
    and tool is http://code.google.com/p/reaver-wps/
    has somebody interest it ,compile reaver ,let it can run on N900 ,
    i think that great!!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    psychologe | # 2 | 2011-12-30, 22:36 | Report

    i try to make it ,but reture error message:
    gcc -Wall -g -O2 globule.c -c
    In file included from globule.h:37,
    from globule.c:34:
    defs.h:43:18: error: pcap.h: No such file or directory
    In file included from globule.c:34:

    globule.h:115: error: expected specifier-qualifier-list before ‘pcap_t’
    globule.h:199: error: expected ‘)’ before ‘*’ token
    globule.h:200: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    globule.c: In function ‘globule_deinit’:
    globule.c:64: error: ‘struct globals’ has no member named ‘wps’
    globule.c:64: error: ‘struct globals’ has no member named ‘wps’
    globule.c:65: error: ‘struct globals’ has no member named ‘handle’
    globule.c:65: warning: implicit declaration of function ‘pcap_close’
    globule.c:65: error: ‘struct globals’ has no member named ‘handle’
    globule.c: At top level:
    globule.c:453: error: expected ‘)’ before ‘*’ token
    globule.c:457: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    globule.c: In function ‘set_wps’:
    globule.c:464: error: ‘struct globals’ has no member named ‘wps’
    globule.c: In function ‘get_wps’:
    globule.c:468: error: ‘struct globals’ has no member named ‘wps’
    make: *** [globule.o] Error 1

    Edit | Forward | Quote | Quick Reply | Thanks

     
    -Tyler- | # 3 | 2011-12-31, 04:44 | Report

    wonderful tool!! but i dont think it works for the N900 it only works few drivers in pc:

    ath5k
    ath9k
    rtl8187
    carl19170
    ipw2000
    rt2800pci
    b43
    rt73usb

    but i will try to compile it for n900 and maybe we have luck!!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by -Tyler-; 2011-12-31 at 04:52.

     
    feifei435 | # 4 | 2014-09-26, 17:13 | Report

    This error happens because defs.h include a <pcap.h> file but there isn't any pcap.h in the reaver src dir(/home/fei435/openwrt-dreambox/build_dir/target-mips_r2_uClibc-0.9.30.1/reaver-1.4/src/).
    so what we need todo is check the menuconfig and make sure the
    Libraries --->libpcap is checked.Then we need copy pcap header files to the reaver src dir.
    cp /home/fei435/openwrt-dreambox/staging_dir/target-mips_r2_uClibc-0.9.30.1/usr/include/pcap.h /home/fei435/openwrt-dreambox/build_dir/target-mips_r2_uClibc-0.9.30.1/reaver-1.4/src/
    cp -r /home/fei435/openwrt-dreambox/staging_dir/target-mips_r2_uClibc-0.9.30.1/usr/include/pcap/ /home/fei435/openwrt-dreambox/build_dir/target-mips_r2_uClibc-0.9.30.1/reaver-1.4/src/

    Then, this error should be diappear.




    Originally Posted by psychologe View Post
    i try to make it ,but reture error message:
    gcc -Wall -g -O2 globule.c -c
    In file included from globule.h:37,
    from globule.c:34:
    defs.h:43:18: error: pcap.h: No such file or directory
    In file included from globule.c:34:

    globule.h:115: error: expected specifier-qualifier-list before ‘pcap_t’
    globule.h:199: error: expected ‘)’ before ‘*’ token
    globule.h:200: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    globule.c: In function ‘globule_deinit’:
    globule.c:64: error: ‘struct globals’ has no member named ‘wps’
    globule.c:64: error: ‘struct globals’ has no member named ‘wps’
    globule.c:65: error: ‘struct globals’ has no member named ‘handle’
    globule.c:65: warning: implicit declaration of function ‘pcap_close’
    globule.c:65: error: ‘struct globals’ has no member named ‘handle’
    globule.c: At top level:
    globule.c:453: error: expected ‘)’ before ‘*’ token
    globule.c:457: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    globule.c: In function ‘set_wps’:
    globule.c:464: error: ‘struct globals’ has no member named ‘wps’
    globule.c: In function ‘get_wps’:
    globule.c:468: error: ‘struct globals’ has no member named ‘wps’
    make: *** [globule.o] Error 1

    Edit | Forward | Quote | Quick Reply | Thanks

     
    feifei435 | # 5 | 2014-09-26, 17:16 | Report

    This error happens because defs.h include a <pcap.h> file but there isn't any pcap.h in the reaver src dir(/home/fei435/openwrt-dreambox/build_dir/target-mips_r2_uClibc-0.9.30.1/reaver-1.4/src/).
    so what we need todo is check the menuconfig and make sure the
    Libraries --->libpcap is checked.Then we need copy pcap header files to the reaver src dir.
    cp /home/fei435/openwrt-dreambox/staging_dir/target-mips_r2_uClibc-0.9.30.1/usr/include/pcap.h /home/fei435/openwrt-dreambox/build_dir/target-mips_r2_uClibc-0.9.30.1/reaver-1.4/src/
    cp -r /home/fei435/openwrt-dreambox/staging_dir/target-mips_r2_uClibc-0.9.30.1/usr/include/pcap/ /home/fei435/openwrt-dreambox/build_dir/target-mips_r2_uClibc-0.9.30.1/reaver-1.4/src/

    Then, this error should be diappear.


    Originally Posted by psychologe View Post
    i try to make it ,but reture error message:
    gcc -Wall -g -O2 globule.c -c
    In file included from globule.h:37,
    from globule.c:34:
    defs.h:43:18: error: pcap.h: No such file or directory
    In file included from globule.c:34:

    globule.h:115: error: expected specifier-qualifier-list before ‘pcap_t’
    globule.h:199: error: expected ‘)’ before ‘*’ token
    globule.h:200: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    globule.c: In function ‘globule_deinit’:
    globule.c:64: error: ‘struct globals’ has no member named ‘wps’
    globule.c:64: error: ‘struct globals’ has no member named ‘wps’
    globule.c:65: error: ‘struct globals’ has no member named ‘handle’
    globule.c:65: warning: implicit declaration of function ‘pcap_close’
    globule.c:65: error: ‘struct globals’ has no member named ‘handle’
    globule.c: At top level:
    globule.c:453: error: expected ‘)’ before ‘*’ token
    globule.c:457: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
    globule.c: In function ‘set_wps’:
    globule.c:464: error: ‘struct globals’ has no member named ‘wps’
    globule.c: In function ‘get_wps’:
    globule.c:468: error: ‘struct globals’ has no member named ‘wps’
    make: *** [globule.o] Error 1

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout