Home page logo
/
Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News

Sponsors


Library rpcap

This library implements the fundamentals needed to communicate with the WinPcap Remote Capture Daemon. It currently supports authenticating to the service using either NULL-, or Password-based authentication. In addition it has the capabilities to list the interfaces that may be used for sniffing.

The library consist of classes handling Request and classes handling Response. The communication with the service is handled by the Comm class, and the main interface for script writers is kept under the Helper class.

The following code snippet illustrates how to connect to the service and extract information about network interfaces:

  local helper = rpcap.Helper:new(host, port)
  helper:connect()
  helper:login()
  helper:findAllInterfaces()
  helper:close()

For a more complete example, consult the rpcap-info.nse script.

Author:
"Patrik Karlsson <patrik@cqure.net>"

Source: http://nmap.org/svn/nselib/rpcap.lua



Nmap Site Navigation

Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault