This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Wireshark TZSP to regular 802.11 ?

0

Hello, as you know , the captured files with TZSP is not usefull for Aircrack-NG. is there anyway to convert TZSP to something that Aircrack can use it.

when i want use tzsp captured files in aircrack it give me this error

This file is not a regular 802.11 (wireless) capture. Read 0 packets. No networks found, exiting.

http://i.imgur.com/np3Au6E.png

asked 22 Oct '13, 17:00

itboys's gravatar image

itboys
11225
accept rate: 0%

edited 22 Oct '13, 17:00

i found one tools

http://code.google.com/p/tzsp2cap/

but there is no file for download now!

(22 Oct '13, 17:28) itboys

One Answer:

1

is there anyway to convert TZSP to something that Aircrack can use it.

You can strip the unwanted headers (ethernet up to UDP) with bittwiste.

bittwiste -I tzsp.pcap -O tzsp-stripped.pcap -D 0-4F

Hint 1: I'm not sure about the range 0-4F. If you are able to post a small pcap file with TZSP somewhere (google drive, dropbox, cloudshark.org), I'll check it.

The resulting file will only contain IEEE 802.11 frames, actually anything that was encapsulated in TZSP.

Hint 2: There is no simple way to generate a radiotap header from the values of the TZSP header, so you'll probably loose that information!

bittwiste is part of the Bit-Twist tool package

http://bittwist.sourceforge.net/

See also here:

http://www.lovemytool.com/blog/2011/05/bittwiste-pcap-capture-file-editor-by-joke-snelders.html

http://code.google.com/p/tzsp2cap/
but there is no file for download now!

There is code. Please run these commands on a linux system

Hint 3: A libpcap devel package needs to be installed on your linux system to be able to build the tool!

Regards
Kurt

answered 28 Oct '13, 09:17

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 28 Oct '13, 09:22

nice reply mate, yes tzsp2cap work fine.

(28 Oct '13, 19:09) itboys

Your "answer" has been converted to a comment as that's how this site works. Please read the FAQ for more information.

If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.

(29 Oct '13, 02:51) grahamb ♦

nice reply mate, yes tzsp2cap work fine.

Yep. It does basically what I tried to describe with bittwiste (would work too), only the number of bytes I was using (4F) is wrong. According to the tool it's 3F. So, you would run bittwiste like this:

bittwiste -I tzsp.pcap -O tzsp-stripped.pcap -D 0-3F

(29 Oct '13, 04:13) Kurt Knochner ♦