Skip to content

Instantly share code, notes, and snippets.

@rringler
Created August 2, 2016 03:13
Show Gist options
  • Save rringler/59c3e248dc0d27c09c0316631396e84a to your computer and use it in GitHub Desktop.
Save rringler/59c3e248dc0d27c09c0316631396e84a to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
http GET http://pav.linkpc.net:881/cgi-bin/CGIProxy.fcgi \
'usr'=='admin' \
'pwd'=='${FOSCAM_PASSWORD}' \
'cmd'=='setAudioAlarmConfig' \
'isEnable'==1 \
'sensitivity'==1 \
'linkage'==138 \
'triggerInterval'==10 \
'snapInterval'==2 \
'schedule0'==281474976710655 \
'schedule1'==281474976710655 \
'schedule2'==281474976710655 \
'schedule3'==281474976710655 \
'schedule4'==281474976710655 \
'schedule5'==281474976710655 \
'schedule6'==281474976710655
http GET http://pav.linkpc.net:882/cgi-bin/CGIProxy.fcgi \
'usr'=='admin' \
'pwd'=='${FOSCAM_PASSWORD}' \
'cmd'=='setAudioAlarmConfig' \
'isEnable'==1 \
'sensitivity'==1 \
'linkage'==138 \
'triggerInterval'==10 \
'snapInterval'==2 \
'schedule0'==281474976710655 \
'schedule1'==281474976710655 \
'schedule2'==281474976710655 \
'schedule3'==281474976710655 \
'schedule4'==281474976710655 \
'schedule5'==281474976710655 \
'schedule6'==281474976710655
http GET http://pav.linkpc.net:881/cgi-bin/CGIProxy.fcgi \
'usr'=='admin' \
'pwd'=='${FOSCAM_PASSWORD}' \
'cmd'=='setMotionDetectConfig' \
'isEnable'==1 \
'linkage'==138 \
'snapInterval'==2 \
'sensitivity'==0 \
'triggerInterval'==10 \
'isMovAlarmEnable'==1 \
'isPirAlarmEnable'==1 \
'schedule0'==281474976710655 \
'schedule1'==281474976710655 \
'schedule2'==281474976710655 \
'schedule3'==281474976710655 \
'schedule4'==281474976710655 \
'schedule5'==281474976710655 \
'schedule6'==281474976710655 \
'area0'==1023 \
'area1'==1023 \
'area2'==1023 \
'area3'==1023 \
'area4'==1023 \
'area5'==1023 \
'area6'==1023 \
'area7'==1023 \
'area8'==1023 \
'area9'==1023
http GET http://pav.linkpc.net:882/cgi-bin/CGIProxy.fcgi \
'usr'=='admin' \
'pwd'=='${FOSCAM_PASSWORD}' \
'cmd'=='setMotionDetectConfig' \
'isEnable'==1 \
'linkage'==138 \
'snapInterval'==2 \
'sensitivity'==0 \
'triggerInterval'==10 \
'isMovAlarmEnable'==1 \
'isPirAlarmEnable'==1 \
'schedule0'==281474976710655 \
'schedule1'==281474976710655 \
'schedule2'==281474976710655 \
'schedule3'==281474976710655 \
'schedule4'==281474976710655 \
'schedule5'==281474976710655 \
'schedule6'==281474976710655 \
'area0'==1023 \
'area1'==1023 \
'area2'==1023 \
'area3'==1023 \
'area4'==1023 \
'area5'==1023 \
'area6'==1023 \
'area7'==1023 \
'area8'==1023 \
'area9'==1023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment