Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#!/bin/bash #Script by Kris Occhipinti #http://filmsbykris.com #GPLv3 - http://www.gnu.org/licenses/gpl-3.0.txt #Copyright Feb 2018 ip="192.168.1.179" user="username" pass="password" echo "Enter Command (WASD) (P)icture (Q)uit" while [ 1 ] do read -rsn1 c if [ $c = "s" ] then printf "\r " printf "\rLast Command: Down" wget -qO- /dev/null "http://$ip/decoder_control.cgi?&loginuse=$user&loginpas=$pass&command=2&onestep=1&15152518315000.571733322584179&_=1515251831501" 2&> /dev/null elif [ $c = "w" ] then printf "\r " printf "\rLast Command: Up" wget -qO- /dev/null "http://$ip/decoder_control.cgi?&loginuse=$user&loginpas=$pass&command=0&onestep=1&15152520149740.734559326264288&_=1515252014975" 2&> /dev/null elif [ $c = "a" ] then printf "\r " printf "\rLast Command: Left" wget -qO- /dev/null "http://$ip/decoder_control.cgi?&loginuse=$user&loginpas=$pass&command=4&onestep=1&15152522067620.3410644620228558&_=1515252206762" 2&> /dev/null elif [ $c = "d" ] then printf "\r " printf "\rLast Command: Right" wget -qO- /dev/null "http://$ip/decoder_control.cgi?&loginuse=$user&loginpas=$pass&command=6&onestep=1&15152522532600.21843916365527538&_=1515252253260" 2&> /dev/null elif [ $c = "q" ] then printf "\r " printf "\rLast Command: Good-Bye..." exit 0; elif [ $c = "p" ] then printf "\r " printf "\rLast Command: Taking Photo..." feh "http://$ip/snapshot.cgi?user=$user&pwd=$pass" > /dev/null fi done
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)