
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
bulk-whois-parser
Advanced tools
Bulk whois data parser. It automatically downloads and caches bulk whois data. It parses and filters the data, and returns it as JavaScript objects. It also removes some format differences across the various whois servers.
Install:
npm install bulk-whois-parser
Import:
import WhoisParser from "bulk-whois-parser";
Usage example:
const filterFunction = (object) => {
// A function that returns true or false, used to filter the results
// Make this function as selective as possible, since the amount of whois data
// can be overwhelming.
}
// The fields you want to see in the object. Use null to get all the fields
const fields = ["inetnum", "inet6num", "remarks"];
new WhoisParser({ repos: ["ripe", "lacnic", "apnic", "afrinic", "arin"] })
.getObjects(["inetnum", "inet6num"], filterFunction, fields)
.then(objects => {
// Do something with the objects (array)
});
You don't have to pass any file or anything, the library will automatically download the data.
Result example:
[
{
inet6num: '2001:67c:370::/48',
netname: 'ietf-ipv6-meeting-network',
country: 'CH',
org: 'ORG-IS136-RIPE',
'admin-c': 'DUMY-RIPE',
'tech-c': 'DUMY-RIPE',
status: 'ASSIGNED PI',
notify: 'ripedb-updates@noc.ietf.org',
'mnt-by': [ 'RIPE-NCC-END-MNT', 'IETF-MNT', 'netnod-mnt' ],
'mnt-routes': 'IETF-MNT',
'mnt-domains': 'ietf-MNT',
created: '2010-11-18T17:16:42Z',
'last-modified': '2020-09-14T13:46:23Z',
source: 'RIPE',
'sponsoring-org': 'ORG-NIE1-RIPE',
remarks: [
'Geofeed https://noc.ietf.org/geo/google.csv',
'****************************',
'* THIS OBJECT IS MODIFIED',
'* Please note that all data that is generally regarded as personal',
'* data has been removed from this object.',
'* To view the original object, please query the RIPE Database at:',
'* http://www.ripe.net/whois',
'****************************'
]
},
...
]
Enjoy!
FAQs
A lib to parse bulk whois data
The npm package bulk-whois-parser receives a total of 31 weekly downloads. As such, bulk-whois-parser popularity was classified as not popular.
We found that bulk-whois-parser 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.