SoftPerfect Network Scanner
Interrogate Cisco Unified IP Phone CP-7942G
Started by Brad McD
Brad McD
Interrogate Cisco Unified IP Phone CP-7942G 14 July 2018, 10:00 |
Re: Interrogate Cisco Unified IP Phone CP-7942G 14 July 2018, 10:02 |
Admin Registered: 18 years ago Posts: 3 519 |
It depends on what ports the phones are listening and what information cab be retrieved there.
For example, if the phones display a web-page on port 80 and that page contains any useful information such as model or serial number, this information can be extracted with the feature called Remote XML. It can be used to retrieve the page and parse it with regular expressions.
Here is a screenshot of this feature. If you are not sure how to write a regular expression to extract information, please send me a copy of the page (HTML) that the phones respond with:
For example, if the phones display a web-page on port 80 and that page contains any useful information such as model or serial number, this information can be extracted with the feature called Remote XML. It can be used to retrieve the page and parse it with regular expressions.
Here is a screenshot of this feature. If you are not sure how to write a regular expression to extract information, please send me a copy of the page (HTML) that the phones respond with:
Brad McD
Re: Interrogate Cisco Unified IP Phone CP-7942G 14 July 2018, 16:29 |
Re: Interrogate Cisco Unified IP Phone CP-7942G 14 July 2018, 17:10 |
Admin Registered: 18 years ago Posts: 3 519 |
The following regular expression should do the trick:
Here is how it works with a similar phone:
.*Host Name</b></td>\s*<td[^>]*>\s*</td>\s*<td[^>]*><b>([^<]*) .*Phone DN</b></td>\s*<td[^>]*>\s*</td>\s*<td[^>]*><b>([^<]*) .*Model Number</b></td>\s*<td[^>]*>\s*</td>\s*<td[^>]*><b>([^<]*)Basically you just add this regular expression under Remote XML like this:
Here is how it works with a similar phone: