Comments (6)
It's running fine.
from node-tplink-api.
with a little modify the 'fetchPublicKey.js' I can run your script.
What modification did you need to do?
"You can login into your router and hook into data encrypt and decrypt methods with the following snippet."
Login with a browser and copy & paste the code snippet into the console.
from node-tplink-api.
Oh cool it works. Here is my small modification:
const [userSettings, eeLine, nnLine, seqLine, ] = js.split("\n").map((s) => s.trim());
and here is my info-Line:
info: {"authTimes":0,"forbidTime":0,"modelName":"Archer VR900v","modelDesc":"AC1900 WLAN Telefon DSL Router","locale_language":"de_DE","hasMobile":"1"}
Thank you - Danke
from node-tplink-api.
You are welcome - Bitte,
Seems like the output from POST cgi/getParm
call differs from TL-MR6400.
Could you share the full output please, masking the values of ee
& nn
?
const res = await fetch(new URL("cgi/getParm", baseUrl).href, {
method: "POST",
headers: { Referer: new URL("/", baseUrl).href },
});
console.log(await res.text());
from node-tplink-api.
Of course:
var userSetting=1;
var ee="010XXX";
var nn="A13E598CFXXXEC3FB8D9812C5581F2EDBAA939E8D912F9F75F15779CE0D67CA5479974AA417DC80EE087AA7305C7F512187ADDF41EDC636A6AE0E6XXXXXXXX";
var seq="657450562";
$.ret=0;
from node-tplink-api.
Should be fixed by #2 , can you install the latest (v0.0.5
) and try without your patches?
from node-tplink-api.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-tplink-api.