
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
A library to connect to the TR-064 and UPnP API of an AVM Fritz!Box and to interact with it.
This library is capable of:
More info about capabilities provided by the TR-064 specification: http://www.avm.de/de/Extern/files/tr-064/AVM_TR-064_first_steps.pdf
This library is a complete rework of the tr-064 library from Hendrik Westerberg. Thanks for the initial work.
npm install tr-064
Connect to the device and read a Service.
var Fritzbox = require('fritzbox');
var options = {
host: 'fritz.box',
port: 49000,
ssl: false,
user: 'username',
password: 'password'
}
var fritzbox = new Fritzbox(options);
fritzbox.initTR064Device().then(function(){
console.log('Successfully initialized device');
var wanip = fritzbox.services["urn:dslforum-org:service:WANIPConnection:1"];
return wanip.actions.GetInfo();
}).then(function(result) {
console.log(result);
}).catch(function(error) {
console.log(error);
});
Get the info from both protocols.
var Fritzbox = require("./lib/Fritzbox");
var Promise = require("bluebird");
var options = {
host: 'fritz.box',
port: 49000,
ssl: false,
user: 'username',
password: 'password'
}
var fritzbox = new Fritzbox.Fritzbox(options);
//Initialize Device
Promise.all([fritzbox.initTR064Device(), fritzbox.initIGDDevice()])
//Print information about available services
.then(function() {
for (var serviceName in box.services) {
console.log("=== "+serviceName+" ===");
for (var actionName in box.services[serviceName].actionsInfo) {
console.log(" # " + actionName + "()");
box.services[serviceName].actionsInfo[actionName].inArgs.forEach(function(arg) {
console.log(" IN : " + arg);
});
box.services[serviceName].actionsInfo[actionName].outArgs.forEach(function(arg) {
console.log(" OUT : " + arg);
});
}
}
})
Initialize the TR - 064 UPnP controller and adds the TR-064 services to the services array.
Returns
PromiseInitialize the TR - 064 IGD controller and adds the IGD services to the services array.
Returns
PromiseFAQs
Fritzbox - UPnP/IGD for node.js
The npm package fritzbox receives a total of 88 weekly downloads. As such, fritzbox popularity was classified as not popular.
We found that fritzbox demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.