Nmap Development mailing list archives

Axis Network Camera Detection


From: Lionel Cons <lionel.cons () cern ch>
Date: Mon, 17 Mar 2008 12:19:29 +0100

The latest version of Nmap has three lines related to Axis webcams
(FTP server only):

match ftp m|^220 Axis (\d+) Network Camera (\d\S+) (.*?) ready\.\n| p/Axis $1 Webcam/ v/$2/ i/$3/ d/webcam/
match ftp m|^220 AXIS (\w+) Network Camera (\d\S+) \(.*\) ready\.\r\n| p/Axis $1 Webcam/ v/$2/ d/webcam/
match ftp m|^220 Axis 2100 Network Camera ([\d.]+) .* ready\.\r\n| p/Axis 2100 Network Camera ftpd/ v/$1/ d/webcam/

Unfortunately, these fail to detect the following:

220 AXIS 205 Network Camera version 4\.04 \(Mar 16 2004\) ready\.\r\n
220 AXIS 205 Network Camera version 4\.05 \(Sep 27 2004\) ready\.\r\n
220 AXIS 212 PTZ Network Camera 4\.34 \(Jun 13 2006\) ready\.\r\n
220 AXIS 212 PTZ Network Camera 4\.35 \(Oct 02 2006\) ready\.\r\n
220 AXIS 214 PTZ Network Camera 4\.33 \(Oct 19 2006\) ready\.\r\n

I would propose to replace these three lines by the following unique
line:

match ftp m|^220 Axis ([\w\s]+) Network Camera( version)? (\d\S+) \((.*)\) ready\.\r\n|i p/Axis $1 Network Camera/ 
v/$3/ i/$4/ d/webcam/

Cheers,

Lionel

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


Current thread: