Kismet Wireless

Kismet Forums

 

Posted by:dragorn
Subject:Kismet Protocols for Clients
Date:21:16:53 10/01/2011

> I don't know your knowledge of Python but here's what I have thusfar. Just wondering if you can advise where I may be going wrong:-
>
> # Kismet server settings
> host = 'localhost'
> port = 2501
> # Create a TCP socket
> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> s.connect((host, port))
>
> #Start loop to grab client information from Kismet server
> s.send('\n!0 capability client')
> buff = s.recv(1024)
> print buff
>
> Whenver I run the above, I just get the list of main protocols returned.

Looks like you're missing a newline after the capability command, unless python invisibly adds it to send.

You can also talk straight telnet for debugging/testing.

-m


Reply to this message