add stuff
This commit is contained in:
commit
26cd15d899
65 files changed
+4820
No files matched your search
@@ -0,0 +1,25 @@
|
||||
// upload_to_appdata.js — paste into the TV recon page console (after root).
|
||||
// Downloads the SSH/Dropbear deploy files from the host server into
|
||||
// /3rd_rw/appdata so deploy_sshd.sh can install them.
|
||||
(function(){
|
||||
var files = [
|
||||
"dropbear",
|
||||
"dropbear-sftp",
|
||||
"dropbearkey",
|
||||
"sftp-server",
|
||||
"authorized_keys",
|
||||
"start_sshd.sh",
|
||||
"root_loop.sh",
|
||||
"hamservice-wrapper.sh",
|
||||
"deploy_sshd.sh",
|
||||
"verify.sh",
|
||||
"rollback.sh"
|
||||
];
|
||||
var o = {};
|
||||
for (var i = 0; i < files.length; i++) {
|
||||
o[files[i]] = HiBrowser.File.download(location.origin + "/pub/" + files[i],
|
||||
files[i], 1);
|
||||
}
|
||||
fetch("/recon", {method:"POST", body:"UPLOAD "+JSON.stringify(o)});
|
||||
return o;
|
||||
})();
|
||||
Reference in new issue
Block a user