README
phisherman.js
A NodeJS wrapper for phisherman API.
Installation
npm install phisherman.js
yarn add phisherman.js
Example
import { PhishermanClient } from '@fc5570/phisherman.js';
const client = new PhishermanClient({
apiKey: '<your-api-key>'
});
// Check if domain is a phish or scam
client.check('disczrd.com').then(console.log); // { classification: 'malicious', verifiedPhish: true }
// Report a phish
client.report('https://dicsords-gifted.ru/nitro').then(console.log); // { success: false, message: 'Domain already exists' }
API
PhishermanClient.constructor(options)
options
is an object with the following properties:
apiKey
(string): The api key to authorize requests.
PhishermanClient.check(domain)
Checks if a domain is a phish or scam.
PhishermanClient.report(domain)
Reports a phish or a scam.
If you encounter any issues, please join the Discord Server and ask for help, or contact FC#5104.