SDK Integration Suite
Plug military-grade licensing, HWID locking, and cloud streaming into any C++, C#, Python, or Node.js application in under 3 minutes.
Visual C++ (WinINet)
Zero external dependencies. Uses Windows native network library. Ideal for ImGui, DLLs, and games.
C# .NET (WPF/WinForms)
Compatible with .NET Framework 4.7+, .NET 6/7/8, and Unity. Automatic WMI machine GUID grabber.
Python 3 (urllib)
Pure Python standard library. No pip install required. Automatic cross-platform hardware detection.
JavaScript / Electron
Asynchronous Promise-based client for Node.js, Electron desktop applications, and React.
Java / Minecraft / Desktop
Zero external dependencies. Pure standard library. Ideal for Minecraft clients, desktop GUI apps, and plugins.
Pre-configured with your application credentials
#include <iostream>
#include <windows.h>
#include "BlackAuth.hpp"
// 1. Initialize BlackAuth Object with your Credentials
BlackAuth::api BlackAuthApp(
"My First Project", // Application Name
"cbA9CmQzWf", // Application Owner ID
"sec_xxxxxxxxxxxxxxxxxxxxxxxx", // Application Secret
"1.0", // Client Version
"https://blackauth.online/api/1.2/" // BlackAuth Server URL
);
int main() {
SetConsoleTitleA("BlackAuth Protected Application");
std::cout << "[*] Initializing BlackAuth Enclave...\n";
// 2. Perform Session Handshake & Integrity Check
BlackAuthApp.init();
if (!BlackAuthApp.response.success) {
std::cout << "[-] Init Failed: " << BlackAuthApp.response.message << "\n";
Sleep(2500);
return 1;
}
std::cout << "[+] Connected! Session: " << BlackAuthApp.sessionid << "\n\n";
std::cout << "[1] Login with License Key\n";
std::cout << "[2] Login with Username and Password\n";
std::cout << "[3] Register New Account\n";
std::cout << "Choose Option: ";
int choice; std::cin >> choice;
if (choice == 1) {
std::string key;
std::cout << "Enter Key: "; std::cin >> key;
BlackAuthApp.license(key);
} else if (choice == 2) {
std::string user, pass;
std::cout << "Username: "; std::cin >> user;
std::cout << "Password: "; std::cin >> pass;
BlackAuthApp.login(user, pass);
} else {
std::string user, pass, key;
std::cout << "Username: "; std::cin >> user;
std::cout << "Password: "; std::cin >> pass;
std::cout << "Key: "; std::cin >> key;
BlackAuthApp.regstr(user, pass, key);
}
// 3. Verify Authentication Response
if (!BlackAuthApp.response.success) {
std::cout << "[-] Access Denied: " << BlackAuthApp.response.message << "\n";
Sleep(3000);
return 1;
}
// 4. Access Granted
std::cout << "\n[+] Welcome, " << BlackAuthApp.user_data.username << "!\n";
std::cout << "[+] Plan: " << BlackAuthApp.user_data.subscriptions[0].subscription << "\n";
std::cout << "[+] Expiry: " << BlackAuthApp.user_data.subscriptions[0].expiry << "\n";
// Optional: Fetch Cloud Variables or Download Protected DLL/Binary into RAM
// std::string secretOffset = BlackAuthApp.var("server_offset");
// std::vector<uint8_t> rawPayload = BlackAuthApp.file("797b6f93");
std::cout << "\n[+] Running application logic...\n";
system("pause");
return 0;
}
Pre-configured for WinForms / WPF / Console
using System;
using BlackAuth;
namespace MyProtectedApp
{
class Program
{
// 1. Configure BlackAuth Client
public static api BlackAuthApp = new api(
name: "My First Project",
ownerid: "cbA9CmQzWf",
secret: "sec_xxxxxxxxxxxxxxxxxxxxxxxx",
version: "1.0",
url: "https://blackauth.online/api/1.2/"
);
static void Main(string[] args)
{
Console.WriteLine("[*] Connecting to BlackAuth Sentinel...");
BlackAuthApp.init();
if (!BlackAuthApp.response.success)
{
Console.WriteLine("[-] Connection Failed: " + BlackAuthApp.response.message);
Console.ReadKey();
return;
}
Console.Write("Enter your License Key: ");
string license = Console.ReadLine();
// 2. Authenticate
BlackAuthApp.license(license);
if (!BlackAuthApp.response.success)
{
Console.WriteLine("[-] Auth Failed: " + BlackAuthApp.response.message);
Console.ReadKey();
return;
}
Console.WriteLine("[+] Login Successful!");
Console.WriteLine("[+] User: " + BlackAuthApp.user_data.username);
Console.WriteLine("[+] Expiry: " + BlackAuthApp.user_data.subscriptions[0].expiry);
// Fetch dynamic cloud variable
// string myVar = BlackAuthApp.var("cheat_version");
Console.WriteLine("[+] Protected features unlocked!");
Console.ReadKey();
}
}
}
Pre-configured for Python 3.7+
from blackauth import BlackAuth
# 1. Initialize BlackAuth
app = BlackAuth(
name="My First Project",
ownerid="cbA9CmQzWf",
secret="sec_xxxxxxxxxxxxxxxxxxxxxxxx",
version="1.0",
url="https://blackauth.online/api/1.2/"
)
print("[*] Connecting to BlackAuth Sentinel...")
if not app.init():
print("[-] Init Error:", app.response.get("message"))
exit(1)
print("[+] Session Initialized:", app.sessionid)
key = input("Enter License Key: ")
if app.license(key):
print("[+] Login Successful! Welcome,", app.user_data.get("username"))
print("[+] Plan:", app.user_data.get("subscription"))
print("[+] Expiry:", app.user_data.get("expiry"))
# Fetch Cloud Variable
# config_data = app.var("config_secret")
else:
print("[-] Authentication Failed:", app.response.get("message"))
Pre-configured for Node.js & Electron apps
const BlackAuth = require("./blackauth.js");
async function main() {
const app = new BlackAuth(
"My First Project",
"cbA9CmQzWf",
"sec_xxxxxxxxxxxxxxxxxxxxxxxx",
"1.0",
"https://blackauth.online/api/1.2/"
);
console.log("[*] Connecting to BlackAuth...");
const initialized = await app.init();
if (!initialized) {
console.error("[-] Handshake Failed:", app.response.message);
return;
}
const key = "YOUR_LICENSE_KEY";
const authResult = await app.license(key);
if (authResult.success) {
console.log("[+] Access Granted! User:", authResult.username);
} else {
console.error("[-] Auth Error:", authResult.message);
}
}
main();
Pre-configured for JDK 8+, Minecraft clients, & Kotlin
import com.blackauth.sdk.BlackAuth;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// 1. Initialize BlackAuth Object with your Credentials
BlackAuth.Api auth = new BlackAuth.Api(
"My First Project", // Application Name
"cbA9CmQzWf", // Application Owner ID
"sec_xxxxxxxxxxxxxxxxxxxxxxxx", // Application Secret
"1.0", // Application Version
"https://blackauth.online/api/1.2/" // Enclave Endpoint
);
System.out.println("[*] Connecting to BlackAuth Enclave...");
// 2. Perform Session Handshake & Security Verification
auth.init();
if (!auth.response.success) {
System.err.println("[-] Init Failed: " + auth.response.message);
System.exit(1);
}
System.out.println("[+] Session Established: " + auth.sessionid);
System.out.println("[+] Machine HWID: " + BlackAuth.Api.get_hwid());
// 3. Authenticate User or License Key
Scanner scanner = new Scanner(System.in);
System.out.print("\nEnter License Key: ");
String licenseKey = scanner.nextLine().trim();
auth.license(licenseKey);
if (auth.response.success) {
System.out.println("[+] Authentication Successful: " + auth.response.message);
System.out.println("[+] Welcome, " + auth.user_data.username);
// 4. Stream Cloud Variable or Decryption Key
String cloudSecret = auth.var("secret_key");
System.out.println("[+] Cloud Variable Loaded: " + cloudSecret);
} else {
System.err.println("[-] Verification Failed: " + auth.response.message);
}
scanner.close();
}
}
Connect from any programming language or embedded environment
curl -X POST "https://blackauth.online/api/1.2//init" \
-H "Content-Type: application/json" \
-d '{"name":"My First Project","ownerid":"cbA9CmQzWf","secret":"sec_xxxxxxxxxxxxxxxxxxxxxxxx","version":"1.0","hwid":"CLIENT_HWID_HASH"}'
curl -X POST "https://blackauth.online/api/1.2//license" \
-H "Content-Type: application/json" \
-d '{"sessionid":"YOUR_SESSION_ID","key":"LICENSE_KEY","hwid":"CLIENT_HWID_HASH"}'
curl -X POST "https://blackauth.online/api/1.2//var" \
-H "Content-Type: application/json" \
-d '{"sessionid":"YOUR_SESSION_ID","varid":"VARIABLE_SECRET_NAME"}'
// ENTERPRISE ANTI-CRACK ARCHITECTURE
BlackAuth SDKs feature proactive client-side defenses, kernel-level debugger hooks, memory header stripping, and automated intrusion blacklisting to safeguard your commercial software against reverse engineering.
Direct PEB inspection, hardware breakpoint scanning (DR0-DR3), and NtSetInformationThread thread hiding to crash x64dbg and IDA Pro.
Continuously scans for reverse engineering utilities: Cheat Engine, Process Hacker, Fiddler, HTTPDebugger, KsDumper, Scylla, and dnSpy.
erase_pe_headers() overwrites DOS and NT headers in RAM with zeros, preventing memory dumpers from reconstructing a runnable PE binary.
Prevent simple assembly patching (JZ → JNZ) by storing decryption keys or offsets inside BlackAuth Cloud Variables (auth.var()).