Doing it by hand isn't so bad, but parsing the response can be pretty ugly. If youre just matching against a string, its alot cleaner than hacking up a C plugin. If you really need a MSSQL interface from C, the best library available is FreeTDS (www.freetds.org). The interface is still somewhat ugly, but the setup requirements are much less than UnixODBC and the other options. -HD PS. If you need a sample code chunk for running a single query and seeing the response (over FreeTDS), drop me a line. On Wednesday 02 June 2004 13:54, Alex Brugh wrote: > Is there a way to get the results from a query to a MSSQL database from > within a plugin? I get the feeling NASL won't be able to do it unless > I craft the entire session by hand, but this is why I'm asking. If I > end up having to do this in C, can anyone suggest a good library for > MSSQL (ODBC)? _______________________________________________ Plugins-writers mailing list Plugins-writers@private http://mail.nessus.org/mailman/listinfo/plugins-writers
This archive was generated by hypermail 2b30 : Wed Jun 02 2004 - 12:23:02 PDT