
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
domainprobe
Advanced tools
A Node.js package for retrieving detailed information about a domain including its IP address and location.
The Domain Info Extractor is a Node.js package that allows users to provide a domain name and retrieve detailed information such as IP address and location.
npm install domainprobe
const info = require('domainprobe');
info.get_ip('https://github.com/', (err, address) => {
if(err) {
console.error(err);
} else {
console.log(address);
}
});
[ { address: '20.207.73.82', family: 4 } ]
info.data_extract('https://github.com/', (err, data) => {
if(err) {
console.error(err);
} else {
console.log(data);
}
});
{
ip: '20.207.73.82',
city: 'Pune',
region: 'Maharashtra',
country: 'IN',
org: 'AS8075 Microsoft Corporation',
postal: '411001',
timezone: 'Asia/Kolkata',
longitude: 18.5196,
latitude: 73.8554
}
get_hostname(ip_address,callback)
this function is used to get hostname by using the ip address.
Example-
info.get_hostname('157.240.198.174', (err, data) => {
if(err) {
console.error(err);
} else {
console.log(data);
}
});
Hostnames for 157.240.198.174:
[ 'instagram-p42-shv-01-del1.fbcdn.net' ]
info.data_extract_ip('157.240.198.174', (err, data) => {
if(err) {
console.error(err);
} else {
console.log(data);
}
});
{
ip: '157.240.198.174',
hostname: 'instagram-p42-shv-01-del1.fbcdn.net',
city: 'Noida',
region: 'Uttar Pradesh',
country: 'IN',
org: 'AS32934 Facebook, Inc.',
postal: '201005',
timezone: 'Asia/Kolkata',
longitude: 28.58,
latitude: 77.33
}
info.exact_location(28.58,77.33, (err, result) => {
if (err) {
console.error('Error:', err);
} else {
console.log('Result:', result);
}
});
Result: {
suburb: 'Sector 10',
city: 'Noida',
town: 'Dadri',
state_district: 'Gautam Buddha Nagar District',
state: 'Uttar Pradesh',
'ISO3166-2-lvl4': 'IN-UP',
postcode: '201301',
country: 'India',
country_code: 'in'
}
info.get_text("https://github.com", (err, result) => {
if (err) {
console.error('Error:', err);
} else {
console.log('Result:', result);
}
});
//similar functions 'get_mx','get_cname'
const info = require('domainprobe');
info.get_ip('https://www.instagram.com/', (err, address) => {
if(err) {
console.error(err);
} else {
console.table(address);
}
});

const info = require('domainprobe');
info.data_extract('https://www.instagram.com/', (err, address) => {
if(err) {
console.error(err);
} else {
console.table(address);
}
});

const info = require('domainprobe');
info.get_ip('https://www.instagram.com/', (err, address) => {
if(err) {
console.error(err);
} else {
console.table(address);
}
});
info.data_extract('https://github.com/', (err, address) => {
if(err) {
console.error(err);
} else {
console.table(address);
}
});

FAQs
A Node.js package for retrieving detailed information about a domain including its IP address and location.
The npm package domainprobe receives a total of 17 weekly downloads. As such, domainprobe popularity was classified as not popular.
We found that domainprobe 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.