Visit Our UNIX and Linux User Community


TCPDump Binary File......


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers TCPDump Binary File......
# 1  
Old 12-12-2001
file decrpytion

I have a file on a linux box with the extension .gz thats supposed to be a gzip file. when i use gzip -d filename
it gives me squares and triangles and you know garbarge. Its a 900 meg file. Is there someway to decode the file and where could I store a 900 meg file for free???? I am going to lose this linux account it is a school account. This file has some intruging information i will love to see so would you. direction anyone.
thanks in advance
# 2  
Old 12-12-2001
Binary files look just as you describe......

Lots of places on the net offer free storage... sounds like a 'google search' kinda question:

www.google.com
# 3  
Old 12-13-2001
Tried that

not binary tried that tried alot still no success i couldnt find any one who would let you store a 900 megabyte file basically a 1 gig file for free even if you payed i didnt see any 1 gig openings or am i missing something. a url would be super. anyone want to see the file to try and open it i will send it. it doesnt bite.
your the greatest dude.
thanks
# 4  
Old 12-13-2001
Have you tried using file?

First, make sure it's a good GZ file:

$ /usr/bin/file filename.gz
gzip compressed data, deflated, original filename, last modified: Tue Dec 11 05:03:02 2001, os: Unix

$ gzip -d filename.gz
$ /usr/bin/file filename


It should give you a fairly accurate hint of what the file it...
# 5  
Old 12-13-2001
thanks but

you know what, that really helped its a tcpdump capture file
little endian version 2.4 ethernet version not familiar with this can you help again. what now? this file is supposed to be the capturing of what was happening on a secure network kinda like a security camera. you probaly understand this so far you know what i mean.

you guys and gals are the greatest.
# 6  
Old 12-13-2001
Well, it you don't know how to view it / play it back, it probably won't be of much use to you anyways then...

If you're still interested, try man tcpdump. It says in the manpage how to Replay the session from file. By default, though, all tcpdump will display are the packet headers - not the entire packet.

Note: If you created / collected this file without the permission of the Systems / Network administrators, they could get more than a little mad at you for it...
# 7  
Old 12-13-2001
OK. You have a binary file of TCPDUMP info on a shared system which means you have a file with captured passwords and logins (and maybe credit card info) on a shared system you do not own.

You don't understand what you are doing, so you obviously are not a system admin. I suggest you delete the file to protect the security of those users immediately and report the capture file to the owners of the system.

Or, report it to the system admins and give them the file.....

What legitmate use of a large file of captured network traffic data could you have on a shared system? Inquiring minds want to know Smilie
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #117
Difficulty: Easy
BSD (Berkley Software Distribution) is not an example of an OS derived from Unix.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Convert binary file to csv and then back to the binary format

Hello *nix specialists, Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies

2. UNIX for Dummies Questions & Answers

[AIX] Binary file warning for text file.

Hello guys, We had to move from a DC to another, and we are now facing an "issue" with some text files. Looks like that some of our log files are set as binary: file TuxConnectorURA.20121012 TuxConnectorURA.20121012: data or International Language text less TuxConnectorURA.20121012... (2 Replies)
Discussion started by: EnioMarques
2 Replies

3. Shell Programming and Scripting

Output redirection of c binary file to a file in shell script is failing

I am struck up with a problem and that is with output redirection. I used all the ways for the redirection of the output of c binary to a file, still it is failing. Here are the different ways which I have used: ./a.out | tee -a /root/tmp.txt 2>&1 ./a.out | tee -a /root/tmp.txt 1>&1 ./a.out |... (2 Replies)
Discussion started by: Maya29988
2 Replies

4. UNIX for Advanced & Expert Users

How to copy a binary file while the file is being written to by another process

Hello, Can I copy a binary file while the file is being written to by another process? Another process (program) “P1” creates and opens (for writing) binary file “ABC” on local disk. Process P1 continuously write into ABC file every couple of seconds, adding 512-byte blocks of data. ABC file... (1 Reply)
Discussion started by: mbuki
1 Replies

5. UNIX for Dummies Questions & Answers

Pipe binary file matches grep results to file

I am using grep to match a pattern, but the output is strange. $ grep -r -o "pattern" * Gives me: Binary file foo1 matches Binary file foo2 matches Binary file foo3 matches To find the lines before/after, I then have to use the following on each file: $ strings foo1 | grep -A1 -B1... (0 Replies)
Discussion started by: chipperuga
0 Replies

6. Shell Programming and Scripting

To log binary file output to a txt file

Hi, I wrote a small script whose function is to execute the postemsg provided if the threshold breaches. I want to log this postemsg messages to a log file. But I am not able to do. Can someone throw some light on how to log the output of this. I am pasting a snippet of that code. ... (2 Replies)
Discussion started by: dbashyam
2 Replies

7. IP Networking

tcpdump -w file is not capturing all the packets

I am trying to capture tcpdump for traffic to a port in a file but this does not seem to capture all the packets. Command I use is : tcpdump -w tdump.dat port 22 Why is it not capturing all the packets ? Here is my experiment: root@pmode-client6 adc-demo]# tcpdump port 22 tcpdump:... (5 Replies)
Discussion started by: radiatejava
5 Replies

8. Shell Programming and Scripting

Help with script, trying to get tcpdump and rotate the file every 300 seconds

Greetings, I just started using scripting languages, im trying to get a tcpdump in a file, change the file name every 5mins ... this is what i have but its not working ... any suggestions? #!/bin/bash # timeout.sh #timestamp format TIMESTAMP=`date -u "+%Y%m%dT%H%M%S"` #tdump =`tcpdump... (3 Replies)
Discussion started by: livewire
3 Replies

9. Solaris

compiled binary file gives "cannot execute binary file"

Hi, I have two Solaris machines. 1. SunOS X 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500 2. SunOS Y 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60 I am trying to buiild a project on both these machines. The Binary output file compiled on machine 2 runs on both the machines. Where... (0 Replies)
Discussion started by: scgupta
0 Replies

10. Cybersecurity

How to decipher tcpdump file

Hi, I am stuck with a tricky situation in which one of my applications is flooding the network with UDP messages. The architecture of the application is not supposed to do so. Neither is there any place where the application will go into an infinite loop sending UDP messages over the network. To... (3 Replies)
Discussion started by: diganta
3 Replies

Featured Tech Videos