summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2010-12-05 13:29:25 (GMT)
committer Jaromil <jaromil@dyne.org>2010-12-05 13:29:25 (GMT)
commitf6e555b041c6c38da6beda40e74affcfbf6c6dbe (patch)
tree77d58bc09be03452c18e7165da8decf3ee95ade4
parentd9522d8ca53ed84aa4c19347855b960863ebc6be (diff)
wdtvhack: updated to reset also the web password
-rw-r--r--tools/wdtvhack/AUTHORS6
-rw-r--r--tools/wdtvhack/S99wdtvhack6
2 files changed, 9 insertions, 3 deletions
diff --git a/tools/wdtvhack/AUTHORS b/tools/wdtvhack/AUTHORS
index 5b54434..595af8e 100644
--- a/tools/wdtvhack/AUTHORS
+++ b/tools/wdtvhack/AUTHORS
@@ -1,4 +1,6 @@
-Denis Roio <jaromil@dyne.org>
+Denis Roio <jaromil@dyne.org> http://jaromil.dyne.org
+
+This software is packaged to run on B-rad's WDLXTV firmware and
+benefits by the research and development of the wdlxtv.com community.
- http://jaromil.dyne.org
diff --git a/tools/wdtvhack/S99wdtvhack b/tools/wdtvhack/S99wdtvhack
index 47c45d3..4a1f133 100644
--- a/tools/wdtvhack/S99wdtvhack
+++ b/tools/wdtvhack/S99wdtvhack
@@ -18,12 +18,16 @@
# wait the boot to complete
sleep 5
+# reset ssh/login root password to root:hackme
cat /conf/shadow | awk '
/^root/ { print "root:$1$pzoRitzB$7neXyiUEdfXmTl9Mjb7Ck0:10933:0:99999:7:::"
next
}
{ print $0 }' > /tmp/shadow
-
mv /tmp/shadow /conf/shadow
+
+# reset web password to wdlxtv:wdlxtv
+rm -f /conf/htpasswd
+
sync