dmiller
1d3b5142be
Fix some NSEdoc using the wrong script names
2017-03-24 22:05:51 +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
dmiller
413bbf6e96
Revert r32789 in favor of lib-level fixes
...
nmap.new_try() shouldn't be used in libraries. It results in Lua errors
being thrown that the script can't recover from without resorting to
pcall(). It has been replaced in proxy.lua with proper error handling
which did not require any changes to the scripts (http-open-proxy and
socks-open-proxy) that used it.
2014-04-07 18:10:10 +00:00
dmiller
1332949c3d
Fix bug in socks-open-proxy, TIMEOUT or EOF when SOCKS5 not supported
2014-04-04 21:46:21 +00:00
dmiller
d309fecd12
Re-indent some more scripts. Whitespace-only commit
...
https://secwiki.org/w/Nmap/Code_Standards
2014-02-02 15:33:29 +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
dmiller
47eaecef5a
XML output for socks-open-proxy
...
Also fixed some spelling and documentation issues.
Script now notifies if proxy is 1. open, 2. redirecting, or 3. allowing
SOCKS clients but not matching expected patterns.
2013-05-04 21:26:49 +00:00
dmiller
4063944775
Fix socks-open-proxy invalid HTTP GET
...
socks-open-proxy was sending requests like this:
GET http://www.google.com HTTP/1.0
Host: www.google.com
Which is appropriate for HTTP proxies, but not for SOCKS. Changed to
more appropriate "GET / HTTP/1.0" and it works.
2013-05-04 01:13:28 +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
david
6d371adee8
Formatting.
2011-07-18 16:29:38 +00:00
david
a2314b2041
Add port 9050, tor-socks, to the portrule for socks-open-proxy.nse.
2011-07-18 16:29:37 +00:00
david
3ae3339cb7
Make the set of script "default and intrusive" empty.
...
These scripts got removed from default:
dhcp-discover
dns-zone-transfer
These scripts got removed from intrusive:
dns-recursion
ftp-bounce
http-open-proxy
socks-open-proxy
Thanks to Toni for noticing these.
2011-04-30 19:21:38 +00:00
david
1ff1a4f892
First-pass copyediting on the remaining scripts.
2010-07-12 17:19:26 +00:00
fyodor
77ab5c4305
Remove email addresses from scripts as discussed in this thread: http://seclists.org/nmap-dev/2009/q4/466
2009-11-24 08:49:02 +00:00
joao
c24c728b5d
Scripts now use fallback requests when valid codes are received but pattern was not found.
...
Scripts now use the lib proxy.lua to perform similar tasks
2009-07-30 02:08:55 +00:00
jah
d0179addd1
Changed the handling of the values returned from dns.query() (changed in r14493)
2009-07-22 10:12:45 +00:00
fyodor
ef7b811881
Restore some nsedoc comment grammar fixes I added yesterday in r13725, but that Joao accidentally blew away in r13729
2009-06-13 21:57:50 +00:00
joao
2d096e924f
Removed special chars from comments
2009-06-13 02:25:41 +00:00
joao
e938e1a18f
Fixed comments about arguments on the script.
...
Fixed description.
2009-06-13 02:15:01 +00:00
fyodor
d678c982d0
Some minor rewording of the nsedoc
2009-06-13 00:11:06 +00:00
joao
f39e109b64
Adding script for performing open socks proxy server discovery.
...
Script was also included to script.db file.
2009-06-12 23:23:54 +00:00