BLOG     |     FORUM
Welcome, Guest
Username: Password: Remember me
All your questions answered real quick by Unleash Networks Engineers.
  • Page:
  • 1
  • 2

TOPIC: Error when running iax2ana.rb

Re:Error when running iax2ana.rb 16 years 9 months ago #138

  • netscript
  • netscript's Avatar
Adrian,

It ought to work fine with imported tcpdumps.


What happens when you type the full path name of \"Untitled1.usnf\"?
Example: iax2ana.rb c:\Whatever\directory\Untitled1.usnf


What happens when you double click on the \"Untitled1.usnf\" ?

Thanks,
Vivek Rajan
Unleash Networks
The administrator has disabled public write access.

Re:Error when running iax2ana.rb 13 years 11 months ago #296

Dear all..

i have trouble too,,when i run iax2ana.rb i've got :

C:/ruby/iax2ana.rb:385:in `method_missing': unknown property or method `OpenForR
ead' (WIN32OLERuntimeError)
HRESULT error code:0x8002801d
Library not registered. from C:/ruby/iax2ana.rb:385:in `extract_calls'
from C:/ruby/iax2ana.rb:1544

Does anybody know the solution,,??

thx,,
The administrator has disabled public write access.

Re:Error when running iax2ana.rb 13 years 10 months ago #299

  • ppuskari
  • ppuskari's Avatar
Well it might help you at all. In my quest to get anastm.rb to be functional at all I've come across a few web pages that deal with updating the Ruby pieces and calls.

It might have even been this board I found what could be your solution last night.

Try replacing out the open for read calls in that script with just plain Open.. Can't hurt much.. I'm new to Ruby but not programming and languages... So far my introduction to Ruby makes me believe that the creators really didn't plan any backwards compatibility across even minor revisions of the language. :)

I have the issue now where I now have the proper requires and gem lines and fox16 and fxruby linkages for anastm to work sort of but now I get this win32ole error where it can't find the 'Open' command and says library not registered.

I noticed on line 450 of anastm.rb that it tries to open a unsniffer.database with filename of the passed argument.. Could it be that the new unsniffer isn't compatible or what's the magic here? Maybe there's some com library issues with the newer unsniffer not registering the database type?

I've tried with similar results on win 7, and win xp pro sp3. This is with Ruby installer 1.8.6-x, and gem downloaded and installed local rubyfx.

Any chance someone can put an updated script out for the tools that works on modern day Ruby and some OS level?

ppuskari
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: vivek [unleash]
Time to create page: 0.037 seconds