Nmap Development mailing list archives

Re: [NSE][PATCH] only show script errors in verbose mode


From: Sven Klemm <sven () c3d2 de>
Date: Wed, 24 Sep 2008 22:35:56 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Patrick Donnelly wrote:
| On Wed, Sep 24, 2008 at 11:48 AM, David Fifield
<david () bamsoftware com> wrote:
|> Sven, is there a way to check if require("openssl") failed by actually
|> trying it, rather than predicting it will fail with nmap.have_ssl?
|
| pcall(require, "openssl")
|

Oh cool didn't know that. I thought this was only available from the
Lua C API.

Cheers,
Sven

- --
Sven Klemm
http://cthulhu.c3d2.de/~sven/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjapKwACgkQevlgTHEIT4ZOeACfRXDugKjlkYImSLCeCVUyA2ri
z7gAnjaZqwHO4MV7cLnKyv8u+rGsJZpf
=fc/l
-----END PGP SIGNATURE-----

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: