Authentication required
18 |Exhausting, huh?
19 |Have you tried to use username "root" and password "12345"?
20 |You can find more useful information in our wiki.
21 |├── .gitattributes ├── files ├── var │ └── www │ │ ├── a │ │ ├── favicon.png │ │ ├── logo-ipeye.webp │ │ ├── chevron-compact-up.svg │ │ ├── chevron-compact-down.svg │ │ ├── palette-fill.svg │ │ ├── shadows.svg │ │ ├── light-on.svg │ │ ├── light-off.svg │ │ ├── telegram.svg │ │ ├── palette.svg │ │ ├── transparency.svg │ │ ├── ir940.svg │ │ ├── ir850.svg │ │ ├── gear.svg │ │ ├── imp-config.js │ │ └── github.svg │ │ ├── favicon.ico │ │ ├── cgi-bin │ │ ├── info-top.cgi │ │ ├── info-modules.cgi │ │ ├── info-dmesg.cgi │ │ ├── info-netstat.cgi │ │ ├── info-httpd.cgi │ │ ├── p │ │ │ ├── reset-firmware.cgi │ │ │ ├── locale_en.sh │ │ │ ├── footer.cgi │ │ │ ├── mac-address.cgi │ │ │ └── icons.cgi │ │ ├── info-majestic.cgi │ │ ├── info-cron.cgi │ │ ├── firmware-reset.cgi │ │ ├── reboot.cgi │ │ ├── info-overlay.cgi │ │ ├── j │ │ │ ├── sync-time.cgi │ │ │ ├── reset-ntp.cgi │ │ │ ├── color.cgi │ │ │ ├── night.cgi │ │ │ ├── ircut.cgi │ │ │ ├── irled.cgi │ │ │ ├── run.cgi │ │ │ ├── heartbeat.cgi │ │ │ └── imp.cgi │ │ ├── restore.cgi │ │ ├── image.cgi │ │ ├── dl.cgi │ │ ├── info-proc-umap.cgi │ │ ├── majestic-config-compare.cgi │ │ ├── send.cgi │ │ ├── firmware-update.cgi │ │ ├── dl2.cgi │ │ ├── info-log.cgi │ │ ├── config.cgi │ │ ├── info-imp.cgi │ │ ├── info-ipctool.cgi │ │ ├── reset.cgi │ │ ├── network-socks5.cgi │ │ ├── status.cgi │ │ ├── file-manager.cgi │ │ ├── firmware-upload-parts.cgi │ │ ├── admin.cgi │ │ ├── plugin-vtun.cgi │ │ ├── plugin-playonspeaker.cgi │ │ ├── plugin-send2webhook.cgi │ │ ├── plugin-send2yadisk.cgi │ │ ├── console.cgi │ │ ├── firmware.cgi │ │ ├── ssh-keys.cgi │ │ ├── sensor.cgi │ │ ├── plugin-send2ntfy.cgi │ │ ├── plugin-send2ftp.cgi │ │ ├── sdcard.cgi │ │ ├── plugin-send2telegram.cgi │ │ ├── plugin-send2openwall.cgi │ │ ├── config-light.cgi │ │ ├── tools.cgi │ │ ├── time-config.cgi │ │ ├── majestic-config-actions.cgi │ │ ├── users.cgi │ │ ├── plugin-send2email.cgi │ │ ├── webui-settings.cgi │ │ ├── texteditor.cgi │ │ ├── plugin-send2mqtt.cgi │ │ ├── plugin-motion.cgi │ │ ├── plugin-zerotier.cgi │ │ ├── majestic.cgi │ │ ├── network.cgi │ │ └── majestic-endpoints.cgi │ │ ├── index.html │ │ ├── majestic │ │ └── index.html │ │ ├── 401.html │ │ └── wait.html └── usr │ └── sbin │ ├── imp-control.sh │ ├── send2pastebin.sh │ ├── updatewebui.sh │ ├── common-plugins │ ├── color.sh │ ├── irled.sh │ ├── common │ ├── motion.sh │ ├── ircut.sh │ ├── playonspeaker.sh │ ├── snapshot4cron.sh │ ├── send2webhook.sh │ ├── daynight.sh │ ├── send2ntfy.sh │ ├── send2ftp.sh │ ├── sendcoredump.sh │ ├── send2yadisk.sh │ ├── send2mqtt.sh │ ├── send2openwall.sh │ ├── send2email.sh │ ├── send2telegram.sh │ └── updatemajestic.sh ├── .gitignore ├── dev ├── devstrap.sh └── css │ └── main.scss ├── wirebox ├── preview-video.cgi └── plugin-ipeye.cgi ├── LICENSE └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | *.cgi linguist-detectable=false 2 | -------------------------------------------------------------------------------- /files/var/www/a/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/webui/HEAD/files/var/www/a/favicon.png -------------------------------------------------------------------------------- /files/var/www/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/webui/HEAD/files/var/www/favicon.ico -------------------------------------------------------------------------------- /files/var/www/a/logo-ipeye.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/webui/HEAD/files/var/www/a/logo-ipeye.webp -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .~* 3 | src/* 4 | .env 5 | _Deparsed_XSubs.pm 6 | files/var/www/a/SMPTE_Color_Bars.svg 7 | files/var/www/a/SMPTE_Color_Bars_16x9.svg 8 | -------------------------------------------------------------------------------- /files/var/www/cgi-bin/info-top.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% page_title="Top processes" %> 4 | <%in p/header.cgi %> 5 | <% ex "top -n 1 -b" %> 6 | <%in p/footer.cgi %> 7 | -------------------------------------------------------------------------------- /files/var/www/cgi-bin/info-modules.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% page_title="Modules" %> 4 | <%in p/header.cgi %> 5 | <% ex "lsmod" %> 6 | <% button_refresh %> 7 | <%in p/footer.cgi %> 8 | -------------------------------------------------------------------------------- /files/var/www/cgi-bin/info-dmesg.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% page_title="Diagnostic messages" %> 4 | <%in p/header.cgi %> 5 | <% ex "/bin/dmesg" %> 6 | <% button_refresh %> 7 | <% button_download "dmesg" %> 8 | <%in p/footer.cgi %> 9 | -------------------------------------------------------------------------------- /files/var/www/cgi-bin/info-netstat.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% page_title="Networking statistics" %> 4 | <%in p/header.cgi %> 5 | <% ex "netstat -a" %> 6 | <% button_refresh %> 7 | <% button_download "netstat" %> 8 | <%in p/footer.cgi %> 9 | -------------------------------------------------------------------------------- /files/var/www/cgi-bin/info-httpd.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% page_title="HTTPd" %> 4 | <%in p/header.cgi %> 5 | <% ex "cat /etc/httpd.conf" %> 6 | <% button_restore_from_rom "/etc/httpd.conf" %> 7 | <% ex "/bin/printenv" %> 8 | <%in p/footer.cgi %> 9 | -------------------------------------------------------------------------------- /files/usr/sbin/imp-control.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # This script provides a control interface for the libimp_control library. 4 | # It sends commands to the server listening on localhost port 4000. 5 | 6 | # Send the command and parameters to the server 7 | echo "imp_control $*" | nc localhost 4000 8 | -------------------------------------------------------------------------------- /files/var/www/cgi-bin/p/reset-firmware.cgi: -------------------------------------------------------------------------------- 1 |
Revert firmware to its original state by wiping out overlay partition. All custom settings and all files stored on overlay partition will be lost!
4 | <% button_reset_firmware %> 5 |<% 14 | for f in $files; do 15 | css="btn btn-sm btn-primary" 16 | [ "$f" = "$file" ] && css="${css} active" 17 | echo "${f}" 18 | done 19 | %> 20 |
21 | <% ex "cat /proc/umap/${file}" %> 22 | <% button_refresh %> 23 | <%in p/footer.cgi %> 24 | -------------------------------------------------------------------------------- /files/var/www/cgi-bin/majestic-config-compare.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% page_title="Majestic configuration changes" %> 4 | <%in p/header.cgi %> 5 |Please enable DEBUG level of logging in Majectic config to activate the button.
13 |<% 23 | for c in $actions; do 24 | css="btn btn-sm btn-primary" 25 | [ "$c" = "$action" ] && css="${css} active" 26 | echo "${c}" 27 | done 28 | %> 29 |
30 | <% ex "${command}" %> 31 | <% button_refresh %> 32 | <%in p/footer.cgi %> 33 | -------------------------------------------------------------------------------- /files/var/www/cgi-bin/j/irled.cgi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # parse parameters from query string 4 | [ -n "$QUERY_STRING" ] && eval $(echo "$QUERY_STRING" | sed "s/&/;/g") 5 | 6 | # quit if no mode set 7 | if [ -z "$mode" ]; then 8 | echo "HTTP/1.1 400 Bad Request" 9 | echo # separate headers from content 10 | echo "missing required mode parameter" 11 | exit 1 12 | fi 13 | 14 | # use ir850 as default LED if not set 15 | [ -z "$type" ] && type="ir850" 16 | 17 | case "$mode" in 18 | off | on | toggle) 19 | /usr/sbin/irled.sh "$mode" "$type" 20 | echo "HTTP/1.1 200 OK 21 | Content-type: application/json 22 | Pragma: no-cache 23 | Expires: $(TZ=GMT0 date +'%a, %d %b %Y %T %Z') 24 | Etag: \"$(cat /proc/sys/kernel/random/uuid)\" 25 | 26 | {\"led_${type}\":\"${mode}\"} 27 | " 28 | ;; 29 | *) 30 | echo "HTTP/1.1 400 Bad Request" 31 | echo # separate headers from content 32 | echo "unknown mode" 33 | exit 1 34 | ;; 35 | esac 36 | 37 | exit 0 -------------------------------------------------------------------------------- /files/var/www/a/ir940.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /files/var/www/cgi-bin/reset.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% page_title="Reset things" %> 4 | <%in p/header.cgi %> 5 | 6 |Reboot camera to apply new settings. That will also delete all data on partitions mounted into system memory, e.g. /tmp.
11 | <% button_reboot %> 12 |Revert Majestic configuration file /etc/majestic.yaml to its pristine state. All changes will be lost!
21 | You might want to back up recent configuration before you reset.
Have you tried to use username "root" and password "12345"?
20 |You can find more useful information in our wiki.
21 |
40 | <%
41 | xl "mv $file /tmp/${file_name}"
42 | $cmd
43 | %>
44 |
45 | Go home
46 | <% fi %>
47 | <%in p/footer.cgi %>
48 |
--------------------------------------------------------------------------------
/files/var/www/cgi-bin/p/footer.cgi:
--------------------------------------------------------------------------------
1 |
2 |
3 |
15 |
16 | <% if [ "$debug" -gt 0 ]; then %>
17 |
18 |