|
Nmap Development
mailing list archives
Re: NSE Online Documentation Portal Launched
From: Arturo 'Buanzo' Busleiman <buanzo () buanzo com ar>
Date: Mon, 06 Oct 2008 20:03:59 -0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Attached is an svn diff output with a patch to enhance HTTP_open_proxy.nse's NSEDoc data.
- --
Arturo "Buanzo" Busleiman
Independent Linux and Security Consultant - SANS - OISSG - OWASP
http://www.buanzo.com.ar/pro/eng.html
Mailing List Archives at http://archiver.mailfighter.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFI6otPAlpOsGhXcE0RCpmYAJ0UGR+WZXMIJKChF01sfwPtlnWqUQCeM8sS
fyKixHegJH7u1y5w4NGzGpg=
=44RS
-----END PGP SIGNATURE-----
Index: HTTP_open_proxy.nse
===================================================================
--- HTTP_open_proxy.nse (revision 10530)
+++ HTTP_open_proxy.nse (working copy)
@@ -1,5 +1,5 @@
+--- Checks if an HTTP Proxy is Open to us.
-- Arturo 'Buanzo' Busleiman <buanzo () buanzo com ar> / www.buanzo.com.ar / linux-consulting.buanzo.com.ar
--- See Nmap's COPYING file for licence details
-- Changelog: Added explode() function. Header-only matching now works.
-- * Fixed set_timeout
-- * Fixed some \r\n's
@@ -14,12 +14,16 @@
If the target is an open proxy, this script will cause the target to retrieve a
web page from www.google.com.
]]
+author = "Arturo 'Buanzo' Busleiman <buanzo () buanzo com ar>"
+license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
categories = {"default", "discovery", "external", "intrusive"}
require "comm"
require "shortport"
--- I found a nice explode() function in lua-users' wiki. I had to fix it, though.
--- http://lua-users.org/wiki/LuaRecipes
+--- An explode() function for NSE/LUA. Taken (and fixed) from http://lua-users.org/wiki/LuaRecipes
+-- () param d Delimiter
+-- () param p Buffer to explode
+-- () return A LUA Table
function explode(d,p)
local t,ll,l
t={}
Attachment:
HTTP_open_proxy.nse-nsedoc_patch01.svn.diff.sig
Description:
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
By Date
By Thread
Current thread:
|