Nmap Development mailing list archives

[PATCH] nselib rpc.lua


From: Djalal Harouni <tixxdz () gmail com>
Date: Thu, 1 Apr 2010 00:34:57 +0100

Attached are tow patches for the rpc.lua nselib (pls be cool as i am new
to lua .. and any feedbacks are welcome):

patch nfsv3_rpc.lua.diff: if we are dealing with NFSv3 then filehandles
can be up to 64 octets as defined in RFC1813 [1], this patch makes
nfs-dirlist.nse and others scripts to work proprelly with NFSv3.

patch new_rpc.lua.diff: rpc.lua lib cleaned with NFSv3 filehandles
correction, now all the Mount, NFS and Portmap objects must use the Comm
object as a parameter to handle network connections and to get rpc
program infos: socket, protocol, program name, program id and version.
NB: the first patch is included in this one.

thx.

[1] http://tools.ietf.org/html/rfc1813
-- 
Djalal
http://dzcore.wordpress.com

Attachment: nfsv3_rpc.lua.diff
Description:

Attachment: new_rpc.lua.diff
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: