Security News
How Threat Actors are Abusing GitHub’s File Upload Feature to Host Malware
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
namemaster
Advanced tools
Readme
Client for Namemaster API. This client library uses bluebird Promises as its return values.
Create a client for a given zone.
const namemaster = require('namemaster')
let client = namemaster('username', 'apiKey', 'example.de')
Set TTL for requests.
client.setTTL(3600) // TTL for records
Query the hosts in the zone. As per the Namemaster API, if you use the value 'ALL' as the zone name, this call will return records for all your zones.
client.getHosts().then(function (answer) {
answer.records.forEach(function (record) {
console.log(record.typ) // 'A', 'MX', 'C', 'SPF', 'TXT'
console.log(record.dns_id) // namemaster internal ID
console.log(record.hostname) // e.g. 'subdomain.example.de'
console.log(record.ip) // e.g. '127.0.0.1' (A records)
console.log(record.alias) // e.g. 'server.example.de' (C records)
console.log(record.spf) // e.g. 'v=spf1 a mx -all' (SPF records)
console.log(record.txt) // e.g. 'google-site-verification=...' (TXT records)
})
})
Create or set an A record for a host.
client.setHostAddress('subdomain', '127.0.0.1').then(function (answer) {
console.log(answer.result) // 'Success'
console.log(answer.fehler) // 0
})
Delete a host A record.
client.deleteHost('subdomain').then(function (answer) {
console.log(answer.result) // 'Success'
console.log(answer.fehler) // 0
})
FAQs
namemaster.de API client
The npm package namemaster receives a total of 3 weekly downloads. As such, namemaster popularity was classified as not popular.
We found that namemaster 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
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.