XUI.one License Cracked System: Discover the Hidden HWID, MAC & IP Verification & AES Logic
โ IPTVTools
๐ How XUI.one Verifies Licenses: Secrets Behind IPTV License Security
If you're passionate about IPTV or developing custom solutions on top of XUI.one, understanding the licensing system is crucial. In this deep technical breakdown, we explore the full lifecycle of how XUI.one verifies licenses โ from HWID collection to AES decryption and internal validation. Whether you're debugging, securing, or simply learning, this is the ultimate license flow guide for XUI.one users.

Install XUI.one Latest 1.5.13 Guide step-by-step
โ COMPLETE LICENSE VERIFICATION FLOW IN XUI
๐น 1. Collecting Hardware Identity (HWID) Information
XUI.one gathers hardware and network-specific identifiers to verify its license:
{
"uuid": "9d13e21g-1d7b-ca52-17d7-07a81fcbecab",
"mac": "2c:4d:56:46:6b:bd",
"ip": "93.150.37.234",
"license_key": "cracked",
"time": 1752229791
}
Data sources:
uuid
:blkid -o value -s UUID
mac
:ip link | awk '/ether/ {print $2}'
ip
:getHostByName(getHostName())
license_key
: Read from[XUI]
inconfig.ini
time
: UNIX timestamp viatime()
๐น 2. Calling the verifyLicense(...)
Function
Main PHP call:
Xui\Functions::verifyLicense($uuid, $mac, $ip, false);
This links to the C function zim_Xui_Functions_verifyLicense
within the encrypted binary xui.so
.
๐น 3. Accessing the License File
The binary accesses the local license stored at:
/home/xui/config/license
Process:
- Reads base64url-encoded first line
- Decrypts using AES-256-CBC with a hardcoded key & IV
- Parses JSON result containing uuid, mac, ip, time, license key
๐น 4. Validating HWID Fields
Each input value is validated against the decrypted license data:
input_uuid == license.uuid
input_mac == license.mac
input_ip == license.ip
Any mismatch results in rejection.
๐น 5. License Expiry Check
A timestamp comparison validates expiry:
if (decrypted_data.time < current_time - 31536000)
return false;
This allows licenses valid up to 1 year.
๐น 6. Final Result
- All fields match and license not expired โ โ Valid
- Any mismatch or outdated timestamp โ โ Invalid
๐ Structure of /home/xui/config/license
<EhDZ... base64url string>
------ LICENSE FILE DATA -------
<multiple blocks of encrypted lines>
--------------------------------
- First line: Encrypted JSON license block
- Additional section: May hold extended or future-proofed payload
๐ Encryption Details
- Algorithm: AES-256-CBC
- Key + IV: Hardcoded in binary
- Input: JSON object with uuid, mac, ip, license key, time
- Output: Base64url string used for verification
๐ง Summary: XUI License Verification Logic
Step | Action |
---|---|
1 | Extract uuid, mac, ip |
2 | Call verifyLicense() |
3 | Read encrypted license file |
4 | Decrypt and parse JSON |
5 | Match HWID and IP fields |
6 | Check timestamp validity |
7 | Return true or false |