Hey everyone!
I've been reading over the NSE guide[1] recently and got to thinking about
something for which I couldn't find an answer: does the garbage collection
Stoiko added (closing sockets forgotten when exiting a script) still happen
when NSE exceptions occur[2]?
All of the examples that I've seen show the "catch" function (or whatever it
happens to be called) closing the socket. What happens if we don't have
it? Does the socket still get closed? Does the script just exit normally
after an NSE exception, and thus the sockets get closed as it would if no
exception occurred at all?
Thanks,
Kris Katterjohn
[1] http://insecure.org/nmap/nse
[2] http://insecure.org/nmap/nse/nse-api.html#nse-exceptions
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Sat Sep 08 2007 - 13:52:30 GMT
This archive was generated by hypermail 2.2.0 : Sat Sep 08 2007 - 13:52:38 GMT