Nmap Development mailing list archives

Re: Please help test WDB/VxWorks NSE script


From: Daniel Miller <bonsaiviking () gmail com>
Date: Thu, 12 Aug 2010 12:32:39 -0500

On 08/12/2010 11:41 AM, Ron wrote:
Just started running it against our environment, though I don't think we have any wdb. I got this error a lot:

NSE: wdb-version against x.x.x.x:17185 threw an error!
./nselib/rpc.lua:264: bad argument #5 to 'pack' (number expected, got nil)
stack traceback:
         [C]: in function 'pack'
         ./nselib/rpc.lua:264: in function 'CreateHeader'
         ./nselib/rpc.lua:394: in function 'EncodePacket'
         ./scripts/wdb-version.nse:44: in function 'request'
         ./scripts/wdb-version.nse:102: in function<./scripts/wdb-version.nse:93>
         (tail call): ?

Thoughts?
Ron,

My bad! I forgot that I had to add a line to nmap-rpc file:

--- nmap-rpc    2010-07-14 16:25:40.097437103 -0500
+++ /usr/local/share/nmap/nmap-rpc    2010-08-11 14:22:47.646187065 -0500
@@ -709,3 +709,4 @@
 dtcm        1289637086
 ttsession    1289637087    # Sun Solaris 7 (2.7) and up.
 ttsession    1342177279    # Sun Solaris upto 2.6
+wdb        1431655765    # Wind River Debugger (VxWorks)

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


Current thread: