Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@sryden/nebula
Advanced tools
Node.js wrapper for the Pterodactyl API. This isn't fully finished, actions such as edit are not added.
Install with npm:
npm install @sryden/nebula
const nebula = require('@sryden/nebula');
nebula.config({
panel: 'https://pterodactyl.test',
apikey: 'ptla_xxxxxxxxxxxxxxxxxxxx',
});
// Note: Use an admin API key, not a client one
// Example: Get server list
nebula.servers.list()
.then((serverList) => console.log('Server List:', serverList))
.catch((error) => console.error('Error:', error));
// Example: Get details of a server
nebula.servers.getDetails(1)
.then((serverDetails) => console.log('Server Details:', serverDetails))
.catch((error) => console.error('Error:', error));
// Example: Create a new server
const newServer = {
name: 'Kinetic Nibbler',
user: 1,
// Add other server details as per ptero API documentation
// Not all are necessary, keep that in mind
};
nebula.servers.create(newServer)
.then((createdServer) => console.log('Created Server:', createdServer))
.catch((error) => console.error('Error:', error));
// Similar usage for nodes and users, refer to the ptero API documentation for more details
Before using Nebula, make sure to configure it with your Pterodactyl panel URL and API key:
nebula.config({
panel: 'https://pterodactyl.test',
apikey: 'ptla_xxxxxxxxxxxxxxxxxxxx',
});
Replace the placeholder config with your actual Pterodactyl panel URL and API key.
FAQs
Node.js wrapper for the Pterodactyl API
The npm package @sryden/nebula receives a total of 1 weekly downloads. As such, @sryden/nebula popularity was classified as not popular.
We found that @sryden/nebula demonstrated a healthy version release cadence and project activity because the last version was released less than 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.