1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
dmiller
1a7a96274a Avoid format-string bugs. Fixes #2634 2023-07-20 17:24:16 +00:00
dmiller
8b8f56eced Fix a bug in ospf.lua added in the recent changes. Closes #761 2017-03-20 17:26:25 +00:00
dmiller
32b1d1711e Convert ospf.lua from bin.lua to string.pack/unpack 2017-03-14 02:51:05 +00:00
dmiller
84a824c2cf New script broadcast-ospf2-discover. Closes #743 2017-03-14 00:15:22 +00:00
dmiller
2091ce3199 Fix endianness in unpacking IP addresses, since ipOps.fromdword is fixed. Fixes #750 2017-03-13 14:58:57 +00:00
dmiller
cb4b46bd53 Canonicalize authors as tables instead of comma-separated strings 2016-06-09 22:46:42 +00:00
dmiller
f4619edece Update http urls for nmap.org to https 2015-11-05 20:41:05 +00:00
dmiller
ea58c6bebb Replace chained concatenation reassignment with simple concatenation
Example:

x = y
x = x .. z

Fixed:

x = y
.. z

This simple fix would save 1 string creation/deletion. Most changes
involve many more than this.
2015-03-02 13:47:42 +00:00
batrick
ee6622aea4 nselib stdnse.print_debug -> stdnse.debug
$ f() { find -name \*.lua -exec /bin/echo sed -i "$1" {} \; ; }
$ f 's/stdnse.print_debug( *\([0-9]*\) *, */stdnse.debug\1(/'
$ f 's/stdnse.print_debug( *"\(.*\))/stdnse.debug1("\1)/'
2014-08-03 00:56:45 +00:00
dmiller
961ea25225 Re-indent some NSE libraries.
https://secwiki.org/w/Nmap/Code_Standards
2014-02-03 19:47:34 +00:00
dmiller
620f9fdb34 Remove trailing whitespace in lua files
Whitespace is not significant, so this should not be a problem.
https://secwiki.org/w/Nmap/Code_Standards
2014-01-23 21:51:58 +00:00
fyodor
5272dd5a82 spell out OSPF acronym 2012-11-16 02:24:02 +00:00
kroosec
275d739cae ospf.lua: Couple of more bug fixes in how IP values are stored and packed. 2012-08-06 00:01:54 +00:00
kroosec
36e2449a8a ospf.lua: Removed debugging print. 2012-08-05 18:44:56 +00:00
kroosec
de920a2afc ospf.lua: Couple of bug fixes in ospf packet conversion to raw string. 2012-08-05 18:41:42 +00:00
kroosec
7864c3cb08 ospf.lua: Corrected header tostring for null authentication packets. 2012-08-05 11:23:16 +00:00
kroosec
93a54ee8b1 ospf.lua: Fixed error in checksum calculation for hello and dbdescription packets. 2012-08-05 11:02:44 +00:00
patrik
217b27bace nse_check_globals cleanup 2012-07-24 10:08:43 +00:00
kroosec
71bfe5c700 Added ospf library that was written by Patrik and added documentation and some bug fixes to it. 2012-07-13 14:55:34 +00:00