Results 1 to 3 of 3

Thread: wep0ff in backtrack 3 will not compile

  1. #1
    Just burned his ISO
    Join Date
    Jun 2008
    Posts
    12

    Default wep0ff in backtrack 3 will not compile

    Trying to use this to do an experiment on my home network.

    I am using it on an open key system in order to make more traffic.

    I get a load of errors when I try to install though.

    First off I have the wep0ff-ng.tar.gz file and I use this command:

    tar xvfz wep0ff-ng.tar.gz

    Works fine.

    Then I cd into the appropriate directory and use the compile commands:

    gcc -o wep0ff-ng wep0ff-ng.c -lpcap -lorcon
    gcc -o airfile airfile.c -lorcon

    This is when I get the compile errors:

    gcc -o wep0ff-ng wep0ff-ng.c -lpcap -lorcon
    In file included from wep0ff-ng.h:27,
    from wep0ff-ng.c:20:
    /usr/include/linux/wireless.h:655: error: expected specifier-qualifier-list bere '__s32'
    /usr/include/linux/wireless.h:668: error: expected specifier-qualifier-list bere '__u16'
    /usr/include/linux/wireless.h:682: error: expected specifier-qualifier-list bere '__s32'
    /usr/include/linux/wireless.h:693: error: expected specifier-qualifier-list bere '__u8'
    /usr/include/linux/wireless.h:709: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:722: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:749: error: expected specifier-qualifier-list bere '__u8'
    /usr/include/linux/wireless.h:811: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:825: error: expected specifier-qualifier-list bere '__u16'
    /usr/include/linux/wireless.h:839: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:847: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:856: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:868: error: expected specifier-qualifier-list bere '__u16'
    /usr/include/linux/wireless.h:891: error: 'IFNAMSIZ' undeclared here (not in aunction)
    /usr/include/linux/wireless.h:906: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:950: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:1051: error: expected specifier-qualifier-list bore '__u32'
    /usr/include/linux/wireless.h:1069: error: expected specifier-qualifier-list bore '__u16'
    wep0ff-ng.c: In function 'main':
    wep0ff-ng.c:43: error: storage size of 'ifr' isn't known
    wep0ff-ng.c:58: warning: incompatible implicit declaration of built-in functio'exit'
    wep0ff-ng.c:63: warning: incompatible implicit declaration of built-in functio'malloc'
    wep0ff-ng.c:67: warning: incompatible implicit declaration of built-in functio'exit'
    wep0ff-ng.c:77: warning: incompatible implicit declaration of built-in functio'exit'
    wep0ff-ng.c:85: warning: incompatible implicit declaration of built-in functio'exit'
    wep0ff-ng.c:121: error: 'IFF_PROMISC' undeclared (first use in this function)
    wep0ff-ng.c:121: error: (Each undeclared identifier is reported only once
    wep0ff-ng.c:121: error: for each function it appears in.)
    wep0ff-ng.c:121: error: 'IFF_UP' undeclared (first use in this function)
    wep0ff-ng.c:127: warning: incompatible implicit declaration of built-in functi 'exit'
    wep0ff-ng.c: In function 'processARP':
    wep0ff-ng.c:368: warning: incompatible implicit declaration of built-in functi 'malloc'
    wep0ff-ng.c: In function 'processICMPv6':
    wep0ff-ng.c:438: warning: incompatible implicit declaration of built-in functi 'malloc'
    wep0ff-ng.c: In function 'cleanup_failure':
    wep0ff-ng.c:513: warning: incompatible implicit declaration of built-in functi 'exit'
    bt wep0ff-ng # gcc -o airfile airfile.c -lorcon
    In file included from wep0ff-ng.h:27,
    from airfile.c:20:
    /usr/include/linux/wireless.h:655: error: expected specifier-qualifier-list bere '__s32'
    /usr/include/linux/wireless.h:668: error: expected specifier-qualifier-list bere '__u16'
    /usr/include/linux/wireless.h:682: error: expected specifier-qualifier-list bere '__s32'
    /usr/include/linux/wireless.h:693: error: expected specifier-qualifier-list bere '__u8'
    /usr/include/linux/wireless.h:709: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:722: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:749: error: expected specifier-qualifier-list bere '__u8'
    /usr/include/linux/wireless.h:811: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:825: error: expected specifier-qualifier-list bere '__u16'
    /usr/include/linux/wireless.h:839: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:847: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:856: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:868: error: expected specifier-qualifier-list bere '__u16'
    /usr/include/linux/wireless.h:891: error: 'IFNAMSIZ' undeclared here (not in aunction)
    /usr/include/linux/wireless.h:906: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:950: error: expected specifier-qualifier-list bere '__u32'
    /usr/include/linux/wireless.h:1051: error: expected specifier-qualifier-list bore '__u32'
    /usr/include/linux/wireless.h:1069: error: expected specifier-qualifier-list bore '__u16'
    airfile.c: In function 'main':
    airfile.c:40: warning: incompatible implicit declaration of built-in function xit'
    airfile.c:50: warning: incompatible implicit declaration of built-in function xit'
    airfile.c:58: warning: incompatible implicit declaration of built-in function xit'
    airfile.c: In function 'cleanup_failure':
    airfile.c:120: warning: incompatible implicit declaration of built-in functionexit'

    Thanks anyone

  2. #2
    Just burned his ISO
    Join Date
    Jun 2008
    Posts
    12

    Default

    Someone must have some knowledge on this please.

    Also any tips on cracking open-system wep would be appreciated.

  3. #3
    Junior Member SBerry's Avatar
    Join Date
    Dec 2007
    Posts
    94

    Default

    If looks to me that some of the dependencies/ includes are not met.
    I have no experience with wep0ff and I am no expert

    To get rid of this
    'IFNAMSIZ' undeclared here
    you have to add this to top of wireless.h.
    #include <net/if.h> (I think)

    It also seems that you need to declare this
    #include <stdlib.h>
    for built-in functio'exit'

Posting Permissions

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