Nmap Development mailing list archives
Re: [NSE] NCP library, ncp-serverinfo and ncp-enum-users
From: Patrik Karlsson <patrik () cqure net>
Date: Sat, 28 May 2011 11:03:02 +0200
On May 22, 2011, at 4:51 PM, Patrik Karlsson wrote:
On Apr 29, 2011, at 10:35 PM, Patrik Karlsson wrote:I'm attaching a NCP library together with two scripts that make use of it. The first script ncp-serverinfo collects information from the NCP service using a number of different NCP functions. The end result looking something like this: | ncp-serverinfo: | Server name: LINUX-L84T | Tree Name: CQURE-LABTREE | OS Version: 5.70 (rev 7) | Product version: 6.50 (rev 7) | OS Language ID: 4 | Addresses | 192.168.56.33 524/udp | 192.168.56.33 524/tcp | Mounts | SYS | ADMIN |_ _ADMIN The other script ncp-enum-users attempt to enumerate all user objects from the NCP service. The following output illustrates the result returned from this script: | ncp-enum-users: | CN=admin.O=cqure | CN=cawi.OU=finance.O=cqure | CN=linux-l84tadmin.O=cqure | CN=nist.OU=hr.O=cqure | CN=novlxregd.O=cqure | CN=novlxsrvd.O=cqure | CN=OESCommonProxy_linux-l84t.O=cqure | CN=sasi.OU=hr.O=cqure |_ CN=wwwrun.O=cqure The scripts have undergone limited testing against Suse Open Enterprise Server SP3. Given the fact that documentation is scarce and Wireshark decoding is limited I would appreciate if people with access to eDirectory would try the scripts out. You can try the scripts by running: nmap -p 524 192.168.56.33 --script ncp-enum-users nmap -p 524 192.168.56.33 --script ncp-serverinfo Thanks, Patrik <ncp.lua><ncp-enum-users.nse><ncp-serverinfo.nse> -- Patrik Karlsson http://www.cqure.net http://www.twitter.com/nevdull77Anyone objecting to me committing these scripts? //Patrik -- Patrik Karlsson http://www.cqure.net http://www.twitter.com/nevdull77
As I didn't get any objections, the library and scripts are committed as r23416. If anyone objects strongly against this, please let me know. //Patrik -- 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:
- [NSE] NCP library, ncp-serverinfo and ncp-enum-users Patrik Karlsson (Apr 29)
- Re: [NSE] NCP library, ncp-serverinfo and ncp-enum-users Patrik Karlsson (May 22)
- Re: [NSE] NCP library, ncp-serverinfo and ncp-enum-users Patrik Karlsson (May 28)
- Re: [NSE] NCP library, ncp-serverinfo and ncp-enum-users Patrik Karlsson (May 22)