Solved

WinDump file output is garbled...

Posted on 2002-04-21
8
1,001 Views
Last Modified: 2008-01-09
When I run windump and output to the dos window everything
works fine, but when I output to a file, most of the
information is garbled. For instance, the URLs contain
an empty square character where there should be a period.
Looks like this: www(square)somedomain(square)com. This
empty square character appears quite frequently in the file output...I tried using different file formats..but no luck. I guess I can read the urls, but pretty much all
the other info is destroyed in the output.
Does anyone know how to fix this??



Neil D
0
Comment
Question by:cMan
8 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 6957915
The problem is in the editor you are using to view the files.
Either find one that can handle or ignore Tabs, and other garbage characters - or use

find- replace to remove them.

I hope this helps !
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 6957942
For a good Free editor see


   http://www.notetab.com/ (main site)
Get NoteTab Light.

I hope this helps !

0
 

Author Comment

by:cMan
ID: 6958316
Using NoteTab light the file doesnt even open at all, except for a few garbled characters at the beginning. Maybe I should have mentioned at the beginning that the editors I tried using were notepad, wordpad, ms word 2000, and of course NoteTab light...Could I be doing something
myself to corrupt the file...I use the following command
to start windump: "windump.exe -w c:\myfile.txt"...After
the program runs for a few minutes I do "Control + Break"
to terminate it, and then I open the file to see the output....you know the rest.

Neil D
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 63

Expert Comment

by:SysExpert
ID: 6958376
This may have been designed for a UNIX machine, and noone bothered to change the formatting options of the output.

Try a Windows version of vi or similar.

0
 

Author Comment

by:cMan
ID: 6958384
vi???????
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 6958405
Have you tried using Wordpad?
0
 
LVL 4

Accepted Solution

by:
newmang earned 250 total points
ID: 6959052
cMan

How are you instructing windump to put the output to a file?

If you are using the "windump -w mycapture" command to output the data to mycapture then you will not be able to load the file to an editor and read it. This data is actually a binary capture file which is meant to be re-processed by windump using the -r mycapture option at a later time - in other words it allows you to capture raw data now then reprocess it using various filters later on.

I suspect that what you want to do is to capture what would normally come out on the screen into a file. If this is the case then you need to use redirection as follows:

windump > this_should_be_readable.txt

and this file will be readable in any editor.

Cheers - Gavin
0
 

Author Comment

by:cMan
ID: 6960201
Gavin!!! Thank you so much!!
Now I can output the data to file just as it appears in the console window...I understand perfectly now..thank you.
I also like the idea of leaving the file as binary so I can use windump to extract just the data I want. I'll save that one for another time though.

Neil D
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

776 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