OT:IP Camera problem

Dec 13, 2013 4 Replies
Saved reading
Jump to replies (4)

Just purchased an(other) no-name IP camera from Amazon. The first I got last year has been great - well worth £30.



Anyway this one is slightly different. I never use the IE OCX, just the cameras own http server. So navigating to http://cameraip pulls up an index page, I login, and can see the picture framed in a control panel.



Inspecting the page shows that the picture is coming from / videostream.cgi?loginuse=admin&loginpas=123456



However if I browse to http//camerip/videostream.cgi?loginuse=admin&loginpas=123456



all I get is nothing.



Just wondered if anyone else had encountered this, before I dig out a test laptop to install loads of debug on ....


I assume the missing colon is a typo?

Andy

Yes.

Further digging shows that the camera is spitting out M-JPEG ...

Request URL:http://192.168.1.108/videostream.cgi?loginuse=admin&loginpas=123456 Request Method:GET Status Code:200 OK Request Headersview source Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/

*;q=0.8 Accept-Encoding:gzip,deflate,sdch Accept-Language:en-US,en;q=0.8 Authorization:Digest username="admin", realm="GoAhead", nonce="e42524f8da1767ad595119a4735f6120", uri="/videostream.cgi? loginuse=admin&loginpas=123456", algorithm=MD5, response="0101ffdd7b721dc1c9aa5234b7eb3bec", opaque="5ccc069c403ebaf9f0171e9517f40e41", qop=auth, nc=00000112, cnonce="55226d6746e9e232" Connection:keep-alive Host:192.168.1.108 User-Agent:Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36 Query String Parametersview sourceview URL encoded loginuse:admin loginpas:123456 Response Headersview parsed HTTP/1.1 200 OK Date: Fri Dec 13 13:10:13 2013 Server: GoAhead-Webs Accept-Ranges: bytes Connection: close Content-Type: multipart/x-mixed-replace;boundary=object-ipcamera

Which a quick google reveals could be a problem. However I'm curious that the video does display within the frame in the control panel, but not directly in the browser.

TBH I'm not particularly fussed about viewing it in a browser - I just want Zoneminder to be able to see it (which at present it can't). At least I can trawl their forums now ...

On Friday 13 December 2013 14:56 Jethro_uk wrote in uk.d-i-y:

Other post concerning missing colon notwithstanding:

Maybe some cookies get passed by the original request - although if they do, and are critical I wonder why the username and password are passed to the videostream "GET" request. Pretty crappy programming...

Hello,

If anybody is still trying to utilize this cheap IP camera - I have managed this.

I have used Wireshark and also noticed, that "normally" the camera WEB server is using MD5 authentication / cookie combination. But there is a backdoor :-)

First try this in your WEB browser to get single screenshot: http://ipaddress:81/snapshot.cgi?user=admin&pwd=&1

Or this to get stream of pictures: http://ipaddress:81/videostream.cgi?user=admin&pwd=&1

For me it worked. If your password is not empty, please change pwd= with pwd=your_password The last part &1 is just to skip browser cache, at least I think so.

Then in ZoneMinder fill the source definition like this:

Remote Protocol: HTTP Remote Method: Simple Remote Host Name: your_IP Remote Host Port: 81 - at least this port was used by my camera Remote Host Path: /snapshot.cgi?user=admin&pwd=&1 Remote Image Colours: 24 bit colour Capture Width: 640 Capture Height: 480

Best Regards, Piotr

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required