Kay Sindre Bærulfsen > Kismet-Client > Kismet::Client

Download:
Kismet-Client-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.03   Source  

NAME ^

Kismet::Client - Object-oriented module to connect to a Kismet server

DESCRIPTION ^

This is an object-oriented module to connect to a Kismet server created by Mike Kershaw <dragorn@kismetwireless.net>

AUTHOR ^

Kay Sindre Bærulfsen <kaysb @ uten.net>

WHAT IS KISMET ^

Kismet is a 802.11 wireless network sniffer - this is different from a normal network sniffer (such as Ethereal or tcpdump) because it separates and identifies different wireless networks in the area. Kismet works with any 802.11b wireless card which is capable of reporting raw packets (rfmon support), which include any prism2 based card (Linksys, D-Link, Rangelan, etc), Cisco Aironet cards, and Orinoco based cards. Kismet also supports the WSP100 remote sensor by Network Chemistry, and is able to sniff 802.11a networks using ar5k cards.

METHOD REFERENCE ^

new

   $kismet = Kismet::Client->new(server => '127.0.0.1',
                                 port   => 2501);

The constructor new take two parameters; 'server', 'port'

connected

   $kismet->connected

Returns the connection state.

connect

   $kismet->connect();

Take no parameters. This function will make a connection to the Kismet-server. Will carp on fail.

run

   $kismet->run(0.25);

Starts a mainloop. The module will not return from this function. run takes one parameter, the delay between the loops in seconds.

add_handler

   $kismet->add_handler('NETWORK', \&event_network);

Adds a event handler to catch events.

enable

   $kismet->enable('NETWORK', 'ssid,bssid');

Sends a ENABLE command to the Kismet-server.

disable

   $kismet->disable('NETWORK');

Sends a REMOVE to the Kismet-server. Thi functions was renamed cos of the IO::Select's remove function.

raw

   $kismet->raw('!123 ENABLE NETWORK ssid,bssid,wep');

Sends a raw-string to the Kismet-server

capability

   $kismet->capability('NETWORK');

Return a comma-seperated list of fields for a command.

protocols

   $kismet->protocols;

Returns a comma-seperated list of command.

pause

   $kismet->pause;

Sends a PAUSE to the Kismet-server.

resume

   $kismet->resume;

Sends a RESUME to the Kismet-server