macrophage001 Posted July 28, 2011 Share Posted July 28, 2011 airodump-ng is throwing this strange error at me every time I try to save a capture file as a .pcap or .cap instead of a .ivs I have been searching for hours now on how to fix this to no avail. commands already tried: airodump-ng -o pcap -w $cap_file_name --channel $channel_num --bssid $bssid -i $net_interf airodump-ng -o pcap -w $cap_file_name --channel $channel_num -i $net_interf airodump-ng -o pcap -w $cap_file_name -i $net_interf now I don't think the problem is caused by the way i type the commands in. I think it's something else but I haven't been able to find it. This started happening a day ago. I have no idea what caused it since I never even thought about using ivs for anything. It used to be that when I typed: airodump-ng -w $cap_file_name --channel $channel_num -i $net_interf It would automatically save to a .cap file or .pcap file. Quote Link to comment Share on other sites More sharing options...
digip Posted July 28, 2011 Share Posted July 28, 2011 (edited) The default format is a pcap, so you shouldn't even need to worry about using -o. Just use "airodump-ng -w filename -c #channel -i interface" where filename is what you want to save the capture as(will automatically make extensions in multiple formats), #channel is the specific channel you want to listen on and interface is your wireless nics id (wlan0, etc). By the way, can you post the entire messages, like a screenshot showing the commands and error output? Edited July 28, 2011 by digip Quote Link to comment Share on other sites More sharing options...
macrophage001 Posted July 28, 2011 Author Share Posted July 28, 2011 Yeah that's what I meant to say. I know it's supposed to default to pcap but with mine it defaults to ivs. Which is why I use the -o option. using the -o option is what makes the error pop. The error is in the title of this topic. when I use: airodump-ng -w $cap_file_name -i $net_interf the file that is saved is a .ivs file when I use: airodump-ng -o pcap -w $cap_file_name -i $net_interf the scan doesn't even start and the error message I get is: "Invalid Output Format: Ivs and Pcap Format Cannot be Used Together" Quote Link to comment Share on other sites More sharing options...
digip Posted July 28, 2011 Share Posted July 28, 2011 Here is the think though. IVS are used with WEP cracking. WPA, uses a 4 way handshake and the SSID to be brute forced via aircrack after sending the deauth to capture the handshake, so not sure what you mean it defaults to IVS. When set to capture, it gathers EVERYTHING the card sees in monitor mode. Are you actually using "$cap_file_name" and "$net_interf" and not something like file-dump and wlan0. Or are you trying to script this, like a shell script, and those are variables it prompts you for? Quote Link to comment Share on other sites More sharing options...
macrophage001 Posted July 28, 2011 Author Share Posted July 28, 2011 lol no I am not using those as actual names i was using those because I felt that it was irrelevant what name I used or network interface as long as it's in monitor mode (I am using mon0 btw) I know all of that. What I am saying is that when I exit out of airodump-ng, it saves to an ivs file instead of a pcap file. it is defaulted to save to an ivs file. I don't why. It should save to a pcap file, I know that. But for some odd reason it won't. Even if I use the -o option to modify the output format. It won't let me. I get the error in the title of this topic whenever I try to use -o Quote Link to comment Share on other sites More sharing options...
digip Posted July 28, 2011 Share Posted July 28, 2011 (edited) And when you leave out the -o option, and use just the -w, what happens? it should create several files(from memory, not sure exactly all the files it creates). It could just be an old bug. Try updating everything and try again. http://forum.aircrack-ng.org/index.php?PHPSESSID=7ed9560afdc154cb5d148949612ee751&topic=5685.0 Or could be you just have the order and syntax wrong - This is why I asked for a screen shot. http://www.backtrack-linux.org/forums/old-latest-public-release-backtrack4-beta/18917-ivs-pcap-format-cannot-used-together.html Edited July 28, 2011 by digip Quote Link to comment Share on other sites More sharing options...
macrophage001 Posted July 28, 2011 Author Share Posted July 28, 2011 the first post shows how I wrote the commands.if i leave the -o option out, it just writes to the ivs file. nothing else. I remember there being other files that were created too but not anymore. all it writes to that ivs file and that's it. Quote Link to comment Share on other sites More sharing options...
Jamo Posted July 28, 2011 Share Posted July 28, 2011 Try running it like this Airodump-ng -c 1 -w /root/desktop/capture.pcap Quote Link to comment Share on other sites More sharing options...
macrophage001 Posted July 28, 2011 Author Share Posted July 28, 2011 Same effect. it saves to a .ivs file Quote Link to comment Share on other sites More sharing options...
macrophage001 Posted July 28, 2011 Author Share Posted July 28, 2011 Could I use tcpdump as an alternative to airodump-ng? Quote Link to comment Share on other sites More sharing options...
digip Posted July 29, 2011 Share Posted July 29, 2011 You can, but aircrack will still use the IVS file when not specifying th e -o, you just point to the pcap, and it will automcatically search the ivs. Never had issue cracking wep that way, will still work, regardless of how may files -w will create, it will still work, just means more files to cleanup. For all I know, -o might be depricated. Quote Link to comment Share on other sites More sharing options...
robfields Posted July 9, 2014 Share Posted July 9, 2014 airodump-ng is throwing this strange error at me every time I try to save a capture file as a .pcap or .cap instead of a .ivs I have been searching for hours now on how to fix this to no avail. commands already tried: airodump-ng -o pcap -w $cap_file_name --channel $channel_num --bssid $bssid -i $net_interf airodump-ng -o pcap -w $cap_file_name --channel $channel_num -i $net_interf airodump-ng -o pcap -w $cap_file_name -i $net_interf now I don't think the problem is caused by the way i type the commands in. I think it's something else but I haven't been able to find it. This started happening a day ago. I have no idea what caused it since I never even thought about using ivs for anything. It used to be that when I typed: airodump-ng -w $cap_file_name --channel $channel_num -i $net_interfIt would automatically save to a .cap file or .pcap file. I ran into this same problem over the weekend. And you have a syntax error in your code. Try loosing the -i for you interface and it should work. airodump-ng -w wificapture --channel 7 mon0 or ath0 or mon1 whatever you are using fro your monitor Quote Link to comment Share on other sites More sharing options...
linux123 Posted November 6, 2023 Share Posted November 6, 2023 show guys to solve this solution there simple change in the code use this code to solve the problem instead using the -i for specify the interface dont use it you can solve by using this code run and get the capture fileĀ airodump-ng -w $cap_file_name --channel $channel_num $net_interf Quote Link to comment Share on other sites More sharing options...
Rkiver Posted November 6, 2023 Share Posted November 6, 2023 Why oh why bump an almost decade year old topic? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.