Nmap Development mailing list archives

Re: SqueezeCenter CLI probe


From: Patrik Karlsson <patrik () cqure net>
Date: Mon, 15 Feb 2010 20:04:56 +0100


On 15 feb 2010, at 18.36, David Fifield wrote:

On Mon, Feb 01, 2010 at 11:19:44PM +0100, Patrik Karlsson wrote:
I've created another Logitech SqueezeCenter [1] probe. This time for
the CLI interface that is available on 9090/tcp. It currently get's
detected as the echo service, as it echoes any invalid command back
over the socket.

Commands are sent to the server over telnet or netcat and there's some
basic info on supported commands over here:
http://wiki.slimdevices.com/index.php/CLI
More extensive documentation regarding supported commands and their
attributes is available in the help section of the web interface of
the device.

I'm attaching the patch containing the probe and match line. The
signature looks like this:

SF-Port9090-TCP:V=5.21%I=0%D=2/1%Time=4B674D95%P=i386-apple-darwin10.2.0%r
SF:(GetRequest,16,"GET\x20%2F\x20HTTP%2F1\.0\r\n\r\n")%r(SqueezeCenter_CLI
SF:,29E,"serverstatus\x20\x20\x20lastscan%3A1258806935\x20version%3A7\.4\.
SF:1\x20uuid%3Af85f7fef-887b-41ff-acb1-c334d8ea59a7\x20info%20total%20albu
SF:ms%3A144\x20info%20total%20artists%3A188\x20info%20total%20genres%3A37\
SF:x20info%20total%20songs%3A1400\x20player%20count%3A1\x20sn%20player%20c
SF:ount%3A0\x20other%20player%20count%3A0\r\n00%3A04%3A20%3A16%3Aea%3Ab8\x
SF:20status\x20\x20\x20player_name%3ASqueezebox\x20player_connected%3A1\x2
SF:0player_ip%3A10\.46\.200\.195%3A20951\x20power%3A1\x20signalstrength%3A
SF:94\x20mode%3Astop\x20time%3A0\x20rate%3A1\x20duration%3A302\.92\x20can_
SF:seek%3A1\x20mixer%20volume%3A78\x20playlist%20repeat%3A0\x20playlist%20
SF:shuffle%3A0\x20playlist%20mode%3Aoff\x20seq_no%3A0\x20playlist_cur_inde
SF:x%3A10\x20playlist_timestamp%3A1265056736\.30557\x20playlist_tracks%3A1
SF:2\r\n");

Looks good. Please commit it.
Commited as r16772 with a minor change. Apparently there are a number of values which may or may not appear between the 
serverstatus and the version value. lastscan being one of them. In order to accomodate for this I replaced lastscan 
with ".*"

//Patrik

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

--
Patrik Karlsson
http://www.cqure.net




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


Current thread: