davidjb / technicolor-tg799vac-hacks

A collection of configuration for detoxing and improving the Technicolor TG799vac modem
MIT License
50 stars 14 forks source link

No Factory Reset Confirmation in relay-modal Card #3

Closed flywire closed 6 years ago

flywire commented 6 years ago

Unintentional factory reset risks ISP forcing firmware update locking out vulnerability allowing root access. Factory reset at command line with rtfd.

Factory reset interface is better in gateway-modal.lp so suggest at least hide it in www/docroot/modals/relay-modal.lp.

#!/bin/sh
# Hide factory reset in GUI
# Note regex for special characters – backslash before space
sed -e '/--/!s/.*"Factory\ Defaults",/--&/' -i www/docroot/modals/relay-modal.lp
stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.