Cracking WEP using - Datalinktype not supported error

Posted on 2005-04-11
Last Modified: 2008-01-09
Hi all,

Im trying to run some of the well known wep cracking algorithms on my home wep network.

Currently, im running tcpdump to dump packet data from my airport express to a file packets.pcap using the following command:

tcpdump -w packets.pcap -i 'en1' -y EN10MB

I then run to extract weak IV's from the captured data using:

perl -f packets.pcap -b 13

However, this returns the error:

DLT = 1: unsupported DLT type at line 190.

The file will accept only 2 datalink types, either IEEE802_11 or Prism 2:

if ($dlt eq 105) {
      print("DLT_IEEE802_11 (0byte Offset)\n");
} elsif ($dlt eq 119) {
      print("Prism2 Header (144byte Offset)\n");
} else {
      die("unsupported DLT type");

However, when i try to run tcpdump with the datalinktype as IEEE802 i get the error:
tcpdump: IEEE802 is not one of the DLTs supported by this device

How can i dump packets using the supported datalink types of the script?

Surely Airport Express supports IEEE802 !!!

Question by:Excalibur81
    1 Comment
    LVL 9

    Accepted Solution

    you could try Ethereal ( like they have a fink version (u may need to install the package manager "fink", but it's pretty slick) or it also looks like they have a darwin port (OSX 10.2)...or you could always compile from source

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    mac in a server environment 3 281
    VPN Routing Help 4 88
    How can I have an external hard drive on my network? 23 167
    iOS and VPN 6 111
    SUMMARY Enterprise backup in a heterogeneous network is a subject full of complications and restrictions. Issues such as filename & path structure, attributes and extended metadata always tend to complicate the subject to the extent where either …
    In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now