Monday, May 20, 2013

Go, IP cameras and DNS

While working on presentation about IP cameras, Artem crafted a handy shell script that searches for active IP cameras by going over camera vendor's DNS records. The result was some handy numbers, as well as information on how people are using camera vendor provided DDNS service.

Last week I was visting a friend (привет, Виктор!) in Seattle. Between beers, he mentioned Go - a programming environment he uses in one of his projects. He combined next pint with a Go programming lesson and as a result, we wrote a 100 line amazingly simple multi-threaded  scanner that does the same as above mentioned script, but in much more configurable and reliable way.

Get the Go, get the getmecamtool, and in the misc directory you will find the scanner.go file. Simply type:

$ go run scanner.go --help

and the rest should be clear. It currently searches for records with prefix xx1234(two letters and 4 digits), but it should be trivial to change the pattern that matches particular camera vendor's DNS records.

9 comments:

  1. It is extremely nice to see the greatest details presented in an easy and understanding manner.
    IP security cameras

    ReplyDelete
  2. I’ve been surfing online more than 5 hours today, yet I never found any interesting article like yours without a doubt. It’s pretty worth enough for me. Thanks... https://192-168-i-i.com/

    ReplyDelete
  3. Much thanks to you for setting aside an ideal opportunity to distribute this data extremely valuable! my ip location

    ReplyDelete
  4. I felt exceptionally glad while perusing this site. This was truly exceptionally enlightening site for me. I truly preferred it. This was truly a sincere post. Much obliged!.  Lina Rodriguez

    ReplyDelete
  5. Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. CCTV Systems in Parramatta

    ReplyDelete
  6. Soon after my house acquired broken into last year, home security systems I found it necessary to turn to a property protection service. I am quite pleased I called Front side Stage. They made me sense more secure immediately. All things regarded, that is stating one thing.

    ReplyDelete
  7. Soon after my house acquired broken into last year, home security systems I found it necessary to turn to a property protection service. I am quite pleased I called Front side Stage. They made me sense more secure immediately. All things regarded, that is stating one thing.

    ReplyDelete
  8. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. Serious Security

    ReplyDelete
  9. This is very interesting content! I have thoroughly enjoyed reading your points and have come to the conclusion that you are right about many of them. You are great.Backlinks blog comments

    ReplyDelete

CVE-2014-1849 Foscam Dynamic DNS predictable credentials vulnerability

CVE-2014-1849 Foscam Dynamic DNS predictable credentials vulnerability   Date Published: 05-08-2014 Class: Design error Remotely Exploit...