Solved

what is this file ?

Posted on 2002-05-26
12
168 Views
Last Modified: 2012-05-07
I have a cisco IP Phone product. In one of the directory,
there are a lot of xxxx.bin files.

I think bin mean binary. I also believe it is one kind of
java executable file. How do I take a look or decompiled
those xxx.bin files ?
0
Comment
Question by:dynomite082002
  • 4
  • 4
  • 2
  • +1
12 Comments
 
LVL 2

Expert Comment

by:s_lavie
ID: 7035248
Why don't you contact Cisco?
0
 

Author Comment

by:dynomite082002
ID: 7035252
I just want to take a look of how certain thing work.
So, Cisco will not be able to tell me, it is their secret.
0
 
LVL 2

Expert Comment

by:s_lavie
ID: 7035296
I don't know of a java *.bin executable file. Look for *.class or *.jar files.
0
 
LVL 35

Expert Comment

by:girionis
ID: 7036673
 On uUnix .bin files are executable and you execute them by just typing their name (win no extension). In cisco they muight mean soemthing else. Take a look at the documentation and see what's going on.

  Hope it helps.
0
 
LVL 1

Expert Comment

by:googlyralph
ID: 7036688
All Java files have a signature, if you open the file with a HexEditor, and look at th first few bytes, if you see the word CAFEBABE, then you are looking at a java class file, if it is different then you are not (CAFEBABE is the signature defined (i think) in the binary file format of class files).

If the file is a java class file, then any decompiler will work.

GR.
0
 

Author Comment

by:dynomite082002
ID: 7037263
I will go to get the HexEditor.
0
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.

 
LVL 1

Expert Comment

by:googlyralph
ID: 7037288
In fact, if you have the sun JDK installed (not sure about the others), copy one of hte .bin files to a new directory, and then run (from a command prompt)

javap -c xxx.bin

(Where xxx.bin is the filename you are trying to dissasemble).

This is the JDK decompiler, it isnt great, but will tell you of the file is in an official file format.

GR.
0
 
LVL 35

Expert Comment

by:girionis
ID: 7037306
 If the file does not have the .class extension then it is probably not a java bytecode file. Why are you not looking at the cisco documentation to see what kind of file it is?
0
 

Author Comment

by:dynomite082002
ID: 7039397
I have looked at the documentation, and it does not tell
what is .bin file.

I used hexeditor to view the .bin file, I did not see CAFEBABE.
0
 
LVL 35

Expert Comment

by:girionis
ID: 7039462
 Are you on Unix/Linux? If you are try to do a ./<filename.bin> and tell us what happens. If it runs and produces an output it means that we are talking about unix executables.

  Hope it helps.
0
 
LVL 35

Accepted Solution

by:
girionis earned 50 total points
ID: 7039469
 If this fails... Can you send me a couple of the .bin files? girionis@yahoo.com
0
 

Author Comment

by:dynomite082002
ID: 7042936
girionis,

I have sent the bin to your yahoo.com acct.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to implement Singleton Design Pattern in Java.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

746 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

17 Experts available now in Live!

Get 1:1 Help Now