Skip to content

Latest commit

Β 

History

History
65 lines (47 loc) Β· 1.96 KB

README.md

File metadata and controls

65 lines (47 loc) Β· 1.96 KB

Simple License Management API

A clean, simple, and production-ready license key management system with automatic HWID binding and API endpoints.

πŸš€ Quick Start (Out of the Box)

1. Install Dependencies

pip install -r requirements.txt

2. Run the System

python auth_system.py

3. Start the API Server

  • Select option 5 from the menu
  • The API automatically starts on 0.0.0.0:5000 (best for all network access)
  • No configuration needed!

4. Use the Client Script

python license_checker.py

✨ Features

  • Auto-Configuration: API automatically selects optimal host/port
  • HWID Auto-Detection: Automatically generates device IDs from client IP/User-Agent
  • License Validation: Real-time license checking with expiration dates
  • Admin Panel: Generate, list, and manage licenses
  • Client Script: Ready-to-use license validation tool
  • Production Ready: Clean code, error handling, and proper API responses

πŸ”§ API Endpoints

  • GET /api/health - Server health check
  • POST /api/license/validate - Validate license keys
  • GET /api/admin/licenses - List all licenses (admin only)

πŸ“± Client Usage

The license_checker.py script provides a user-friendly interface:

  • Enter license key to proceed
  • Automatic server connection checking
  • Clear validation results with expiration info
  • HWID binding information

🎯 What Happens Out of the Box

  1. Database: Automatically created and initialized
  2. API Server: Ready to start with optimal settings
  3. License System: Full validation and binding capabilities
  4. Client Tools: Ready-to-use validation script
  5. Admin Interface: Complete license management system

πŸ” Default Admin Password

  • Password: admin123
  • Used for accessing admin functions and listing licenses

🌟 Ready to Use!

No configuration files, no complex setup - just run and go! The system automatically handles everything needed for production use.