Nmap Development mailing list archives

Re: [PATCH] nselib rpc.lua


From: Patrik Karlsson <patrik () cqure net>
Date: Fri, 2 Apr 2010 17:10:00 +0200

I'm having some trouble applying this patch against the rpc.lua in svn.
A portion of the patch gets rejected and my diff/patch skills are limited.

Can anyone share some diff/patch magic or can you send me a patch against svn Djalal?

//Patrik
 
On 1 apr 2010, at 01.34, Djalal Harouni wrote:

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
<nfsv3_rpc.lua.diff><new_rpc.lua.diff>_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

--
Patrik Karlsson
http://www.cqure.net
http://www.twitter.com/nevdull77





_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: