Authentication
Authenticate admin access.
{
"key": "your_admin_key"
}
Response
{
"success": true
}
User Management
Get all registered users.
Response
{
"success": true,
"users": [
{
"id": 1,
"username": "user1",
"hwid": "hwid_string",
"blacklisted": false
}
]
}
Get all currently active users.
Response
{
"success": true,
"activeUsers": [
{
"hwid": "hwid_string",
"username": "user1",
"connectedAt": "timestamp",
"lastHeartbeat": "timestamp"
}
]
}
Ban a specific user.
Response
{
"success": true
}
Unban a specific user.
Response
{
"success": true
}
Reset HWID for a specific user.
Response
{
"success": true,
"message": "HWID reset successful"
}
Token Management
Get all authentication tokens.
Response
{
"success": true,
"tokens": [
{
"token": "token_string",
"used": false,
"created_at": "timestamp"
}
]
}
Generate a new authentication token.
Response
{
"success": true,
"token": "generated_token_string"
}
Client Control
Send a message to a specific client.
{
"hwid": "client_hwid",
"message": "Your message"
}
Response
{
"success": true
}
Force close the application for a specific client.
{
"hwid": "client_hwid"
}
Response
{
"success": true
}
Shutdown the PC for a specific client.
{
"hwid": "client_hwid"
}
Response
{
"success": true
}
Version Control
Get current application version.
Response
{
"success": true,
"version": "1.0.0"
}
Update application version.
{
"version": "new_version_string"
}
Response
{
"success": true,
"version": "new_version_string"
}
Database Management
Get data from a specific database table (users or tokens).
Response
{
"success": true,
"rows": [/* table data */]
}
Update data in a specific database table.
{
"original": [/* original data */],
"updated": [/* updated data */]
}
Response
{
"success": true
}