Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
mxtoolkit
Advanced tools
Readme
Node JS Wrapper for the MXTools API. https://mxtoolbox.com/User/Api/Usage.aspx
With this module you can easily lookup information on MX record's, DNS, blacklist and SMTP with a response in JSON.
Available Tools
blacklist: Check IP or host for reputation
smtp: Test mail server SMTP (port 25)
mx: DNS MX records for domain
a: DNS A record IP address for host name
spf: Check SPF records on a domain
txt: Check TXT records on a domain
ptr: DNS PTR record for host name
soa: Get Start of Authority record for a domain
tcp: Verify an IP Address allows tcp connections
http: Verify a URL allows http connections
https: Verify a URL allows secure http connections
ping: Perform a standard ICMP ping
trace: Perform a standard ICMP trace route
dns: Check your DNS Servers for possible problems New!
This module requires an api key from https://mxtoolbox.com otherwise you are severely rate limited.
Installation
npm install mxtoolkit
Usage Example
var mxToolkit = require("mxtoolkit");
var apiKey = '#########################'
var urlToQuery = 'google.com'
mxToolkit.dns(urlToQuery,apiKey,function(resp){
console.log(resp);
});
Each Tool is called by its name as it appears in the list above For example to lookup txt record information the above function would look like this
var mxToolkit = require("mxtoolkit");
var apiKey = '#########################'
var urlToQuery = 'google.com'
mxToolkit.txt(urlToQuery,apiKey,function(resp){
console.log(resp);
});
The only thing thats different from the first function is this bit 'mxToolkit.txt'.
All of the tools are called in this manner with the same parameters.
The response you get from these tools is always returned in JSON for valid requests and an error message will be returned in case of a failed call due to bad parameters.
Response will look something like this(this is truncated as the actual responses are much more verbose)
{
"UID": null,
"Command": "dns",
"IsTransitioned": false,
"CommandArgument": "example.com",
"TimeRecorded": "2016-01-14T06:36:51.9295768-06:00",
"ReportingNameServer": null,
"TimeToComplete": "0",
"RelatedIP": "93.184.216.34",
"IsEndpoint": false,
"HasSubscriptions": false,
"Failed": [],
"Warnings": [],
"Passed": [],
"Timeouts": [],
"Errors": []
}
FAQs
Node Api Wrapper for MXToolkit
The npm package mxtoolkit receives a total of 65 weekly downloads. As such, mxtoolkit popularity was classified as not popular.
We found that mxtoolkit 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.