dmiller
3c24eda4be
Consolidate some error handling, standardize geoip coordinates, fix output bugs. Fixes #1744
2019-09-20 04:40:20 +00:00
dmiller
24c5ff63b2
Remove nearly all bit.lua use
2018-08-28 15:56:45 +00:00
dmiller
80bc6e5778
Cross reference ip-geolocation scripts
2017-09-27 19:05:43 +00:00
dmiller
c12c2eb1c9
New scripts for geo mapping. Closes #606
2016-12-17 14:37:35 +00:00
dmiller
bacf620fed
Update ip-geolocation-maxmind to use structured output, cache database. Closes #240
2016-08-30 16:07:09 +00:00
dmiller
92f52de958
Remove trailing whitespace
2016-08-29 20:30:26 +00:00
paulino
cb9a184732
Fixes error handling and improves error message by including the URL to download the database
2016-08-21 22:31:48 +00:00
dmiller
f4619edece
Update http urls for nmap.org to https
2015-11-05 20:41:05 +00:00
batrick
810f7d4803
more stdnse.print_debug -> stdnse.debug
...
This is a catchall pattern with a few exclusions.
$ sed -i 's/stdnse.print_debug( *\([0-9]*\) *, *\(.*\))/stdnse.debug\1(\2)/' *.nse
$ sed -i 's/stdnse.print_debug(\(.*\))/stdnse.debug1(\1)/' *.nse
Excluded:
$ svn revert db2-das-info.nse
$ svn revert flume-master-info.nse
$ svn revert http-headers.nse
$ svn revert http-methods.nse
$ svn revert http-unsafe-output-escaping.nse
$ svn revert http-userdir-enum.nse
$ svn revert http-vuln-cve2011-3192.nse
$ svn revert http-vuln-wnr1000-creds.nse
$ svn revert http-wordpress-plugins.nse
$ svn revert telnet-brute.nse
2014-08-02 02:46:16 +00:00
batrick
d47acf9f5e
more stdnse.print_debug -> stdnse.debug
...
$ sed -i 's/stdnse.print_debug( *\([0-9]*\) *, *" *%s *:* *\([^"]*\)" *, *SCRIPT_NAME/stdnse.debug\1("\2"/' *.nse
$ sed -i 's/stdnse.print_debug( *" *%s *:* *\([^"]*\)" *, *SCRIPT_NAME/stdnse.debug1("\1"/' *.nse
2014-08-02 02:08:12 +00:00
dmiller
1b71f75aad
Spelling fixes for Lua files
...
Mostly in documentation/comments, but a couple code bugs were caught,
including a call to stdnse.pirnt_debug and a mis-declared variable.
2014-02-19 04:15:46 +00:00
dmiller
31a2c432e1
Final re-indent for scripts.
2014-02-02 15:33:39 +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
dmiller
db1d82ad1f
Fixed global assignments with nse_check_globals
...
All fixes made by hand. A couple real bugs/errors fixed, due to
copy-paste of code from other scripts without changing variable names.
2014-01-22 17:45:00 +00:00
david
85b6312590
Use fetchfile to look for GeoLiteCity.dat.
...
Apparently it only worked before when you were running from an Nmap
source directory, where nselib was in the current directory.
Roy Woods reported the problem.
http://seclists.org/nmap-dev/2013/q3/48
2013-08-01 02:01:09 +00:00
david
3e1334b5de
Allow the file open error message to propagate upward.
...
The error message from io.open includes the file name and strerror.
2013-08-01 01:36:01 +00:00
perdo
5ac6c7d64a
Fixed errors found by nse_check_globals.
2012-06-06 22:23:02 +00:00
david
aa6717eb1f
Lua 5.2 fixed from Daniel Miller.
...
http://seclists.org/nmap-dev/2012/q2/525
2012-05-29 20:11:39 +00:00
batrick
000f6dc4d9
Lua 5.2 upgrade [1] for NSE.
...
[1] http://seclists.org/nmap-dev/2012/q2/34
2012-05-27 08:53:32 +00:00
gorjan
4abff4189e
Send a message in the debug output when the user doesn't select a Maxmind database.
2012-02-21 09:52:13 +00:00
tomsellers
78b99eec3c
Removed svn:execute property from certain .NSE scripts. This was enabling the execute bit on files when they were checked out.
2012-02-08 04:11:10 +00:00
david
d3c6976fca
Change CRLF line endings to LF in ip-geolocation-*.nse.
2011-11-02 16:50:38 +00:00
fyodor
536e00ea42
Went through all the new (since 5.51) scripts and improved (I hope) the nsedoc descriptions a bit and made some other very minor cleanups
2011-06-29 01:29:14 +00:00
gorjan
a616334868
IP based geolocation using a Maxmind database
2011-06-20 01:42:21 +00:00