Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Latest commit

 

History

History
185 lines (149 loc) · 4.68 KB

README.md

File metadata and controls

185 lines (149 loc) · 4.68 KB


Azrael
Azrael Anti-Phish

A powerful API system built to maintain a list of currently known phishing links.

Key FeaturesGetting StartedHow To UseSupport

Key Features

  • Whitelist Only
    • Access to the API is only available via whitelisting, preventing the information from falling into the wrong hands
  • Easy to Use
    • Our API automatically detects links in your request, no need to sort through the data to send just the link.
  • 24/7 Support
    • We are here to help, reach out to our support team for assistance.

Getting Started

To gain access to our API, you will need to join our Discord server and reach out to our support team via the Phisherman and request access to the API.

If your request is approved, you will recieve a DM containing your API token.

How To Use

Required Headers

Authorization : Bearer Your Token Here
Content-Type : Supported: application/json and application/x-www-form-urlencoded

Example Body

{ "data": "This message contains a link example.com but its not a phishing link" }

Example Requests

Curl/Bash

#!/bin/bash

curl -X POST https://phish.azrael.gg/check -H "User-Agent: Azrael Interactive LLC (azrl.cc) / http 1.1" -H "Authorization: Bearer Your Token Here" -H "Content-Type: application/json" -d "{\"data\": \"example.com\"}"

Python

import requests
from requests.structures import CaseInsensitiveDict

url = "https://phish.azrael.gg/check"

headers = CaseInsensitiveDict()
headers["User-Agent"] = "Azrael Interactive LLC (azrl.cc) / http 1.1"
headers["Authorization"] = "Bearer Your Token Here"
headers["Content-Type"] = "application/json"

data = '{"data": "example.com"}'


resp = requests.post(url, headers=headers, data=data)

print(resp.status_code)

JavaScript/AJAX

var url = "https://phish.azrael.gg/check";

var xhr = new XMLHttpRequest();
xhr.open("POST", url);

xhr.setRequestHeader("User-Agent", "Azrael Interactive LLC (azrl.cc) / http 1.1");
xhr.setRequestHeader("Authorization", "Bearer Your Token Here");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.onreadystatechange = function () {
   if (xhr.readyState === 4) {
      console.log(xhr.status);
      console.log(xhr.responseText);
   }};

var data = '{"data": "discord-nitroapp.ru.com example.com"}';

xhr.send(data);

C#/.NET

var url = "https://phish.azrael.gg/check";

var httpRequest = (HttpWebRequest)WebRequest.Create(url);
httpRequest.Method = "POST";

httpRequest.Headers["User-Agent"] = "Azrael Interactive LLC (azrl.cc) / http 1.1";
httpRequest.Headers["Authorization"] = "Bearer Your Token Here";
httpRequest.ContentType = "application/json";

var data = "{\"data\": \" example.com\"}";

using (var streamWriter = new StreamWriter(httpRequest.GetRequestStream()))
{
   streamWriter.Write(data);
}

var httpResponse = (HttpWebResponse)httpRequest.GetResponse();
using (var streamReader = new StreamReader(httpResponse.GetResponseStream()))
{
   var result = streamReader.ReadToEnd();
}

Console.WriteLine(httpResponse.StatusCode);

Response(s)

400 Bad Request

{
    "status": 400,
    "message": "Bad Request",
    "status_ext": {
        "1": "Additional Details"
    }
}

401 Unauthorized

{
    "status": 401,
    "message": "Unauthorized",
    "status_ext": {
        "1": "Additional Details"
    }
}

403 Forbidden

{
    "status": 403,
    "message": "Forbidden",
    "status_ext": {
        "1": "Additional Details"
    }
}

200 OK (No Match)

{
    "matched": false
}

200 OK (Match Found)

{
    {
    "matched": true,
    "phish": {
        "matches": 1,
        "links": ["example.com"]
    }
  }
}

Support

Join Us


azrael.gg  ·  GitHub @Azrael-Interactive  ·  Twitter @AzraelAPI  ·  Instagram @AzraelAPI