diff options
Diffstat (limited to 'api/camera.php')
-rw-r--r-- | api/camera.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/api/camera.php b/api/camera.php deleted file mode 100644 index cbf7efc..0000000 --- a/api/camera.php +++ /dev/null @@ -1,6 +0,0 @@ -<?php - -if (!isset($_GET['t']) || preg_match("/[^a-zA-Z\d]/m", $_GET['t'])) die(); - -header("Content-Type: image/jpeg"); -die(base64_decode(exec('ssh root@192.168.1.27 "cd /root/alarm; node open.js ' . $_GET['t'] . '"')));
\ No newline at end of file |