3 ms·
That's kinda surprising it "crashes", but it's also kinda meta code... (and either i typed it or HN's formatter munged it...) Assume some javascript that loops
by bigiain 5y ago
That's kinda surprising it "crashes", but it's also kinda meta code... (and either i typed it or HN's formatter munged it...)
Assume some javascript that loops through:
http://192.168.0.1/cgi-bin/factoryRestore.sh http://192.168.0.1/cgi-bin/factoryRestore.sh
http://192.168.0.2/cgi-bin/factoryRestore.sh http://192.168.0.2/cgi-bin/factoryRestore.sh
http://192.168.0.3/cgi-bin/factoryRestore.sh http://192.168.0.3/cgi-bin/factoryRestore.sh
up to
http://192.168.0.254/cgi-bin/factoryRestore.sh http://192.168.0.254/cgi-bin/factoryRestore.sh
Those just give connection errors for me, but:
http://192.168.1.1/cgi/ACT_FACTORY_RESET http://192.168.1.1/cgi/ACT_FACTORY_RESET
gives me a 403 Forbidden error, and if there was a known default password to my router - it'd try and do a factory reset on it. (It actually wouldn't, it'd send back a confirmation popup, but...)