Nmap Development mailing list archives

slowloris coding style update


From: Henri Doreau <henri.doreau () gmail com>
Date: Fri, 27 Jul 2012 20:40:47 +0200

Hi,

I've reworked http-slowloris.nse a bit to make it closer to our code
quality standards. The logic remains the same but I've done many
style-related changes which I think make the script easier to read and
maintain. Please find the new version attached.

Updated:
  - Consistent variable naming
  - Default parameters cleanup
  - removed unused variables (like "local t = nmap.timing_level()")
  - renamed functions consistently
  - removed typo from function name ("worker_schedluer")
  - consistent debug messages format

As I said it's only cosmetic, but since the diff is kind of large I'd
like someone to have a second look at it.

Regards.

-- 
Henri

Attachment: http-slowloris.nse
Description:

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

Current thread: