Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Nessus-Users
[Top] [All Lists]

Re: Mozilla version detection

Subject: Re: Mozilla version detection
Date: Wed, 8 Nov 2006 15:16:30 -0500 (EST)
I've committed some patches that should properly identify Mozilla and
friends. The changes should be available in the next hour or two via
nessus-update-plugins. Apologies for the false-positives and delay.

I'm still having troubles with this failing on some (Windows) machines.  As
far as I can tell, it fails if the PathToExe registry value has the drive
letter in lower case.  I'm a newbie to Nessus scripting, but in
mozilla_org_installed.nasl I see 2 lines that appear to assume the drive
letter will be in upper case:

Original
  share = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:exe);
  exe2 =  ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:exe);

Suggested replacement
  share = ereg_replace(pattern:"([A-Za-z]):.*", replace:"\1$", string:exe);
  exe2 =  ereg_replace(pattern:"[A-Za-z]:(.*)", replace:"\1", string:exe);

I see similar code in other plugins, so if I'm right about this, other
plugins need to be checked as well.
_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus

<Prev in Thread] Current Thread [Next in Thread>