IP Camera BAT 310 Hacking

Got a Solar WiFi IP camera from Wireless Solar IP67 Security Camera System Outdoor Home Cam 1080P 2MP
Wondering to control this camera using script/program.

To activate/wakeup, the camera has to be set correctly:

  1. The camera is connected to the Internet, and its status should be shown as ‘online’ on Microshare, Danale mobile client.

Active the camera using python script:

import socket, sys
import binascii
dest = ('camera ip address', 'any port)
# sending these hex code  in UDP protocal to active camera
packet = binascii.unhexlify("0000000a983b16f8f39c")
s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
s.sendto(bytes(packet), dest)