[Plugins-writers] Reporting File Versions

From: Paul Bellefeuille (nessusd@private)
Date: Fri Feb 03 2006 - 12:05:03 PST


All,

I am a novice as they come with writing NASLs, though I know programming in 
general. I'm attempting to write a NASL script that would retrieve a file 
version and return that version for reporting (i.e. security_note).  Could 
someone point me in the right direction?
To be more precise, I'm trying to do something like this.

local_var file, version, path;
file = "ping.exe";
path = "\system32";
version = call_some_function (file:file, path:path);
security_note(data: string ("The file (",file,") has a version of ", 
version));

Thanks for your help! 

_______________________________________________
Plugins-writers mailing list
Plugins-writers@private
http://mail.nessus.org/mailman/listinfo/plugins-writers



This archive was generated by hypermail 2.1.3 : Fri Feb 03 2006 - 15:30:50 PST