On Feb 6, 2008, at 12:28 PM, [EMAIL PROTECTED] wrote: > I'd like to play with plugin writing, and I tend to work best > working with a specific example. Can anyone suggest a simple .nasl > to look at as an example, that would simply checks a file version of > a specific file, determine if it's at/below a certain value, and > alert accordingly?
First, plugins used a variety of techniques for local checks, depending on the platform largely. And several use proprietary APIs, which would limit your ability to distribute your plugins. That said, look at: plugin #29900, mcafee_ebsadmin_auth_overflow.nasl, for an example of grabbing the the file version of a Windows exe and #30152, facebook_photo_uploader_4_5_57_1_activex_overflows.nasl, for a check of an ActiveX control. You might also want to post any questions that arise to the plugins- writers mailing list, http://mail.nessus.org/mailman/listinfo/plugins-writers . George -- [EMAIL PROTECTED] _______________________________________________ Nessus mailing list [email protected] http://mail.nessus.org/mailman/listinfo/nessus
