I need the latest mateI hope it can help you and other members the documentation is old but the structure remains the same.
You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.
Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"
I need the latest mateI hope it can help you and other members the documentation is old but the structure remains the same.
import requests
import json
# LicenseBox API anahtarı ve ürün ID'si
licensebox_api_key = "YOUR_LICENSEBOX_API_KEY"
licensebox_product_id = "YOUR_LICENSEBOX_PRODUCT_ID"
license_key = "USER_LICENSE_KEY" # Kullanıcının lisans anahtarı
# Kullanıcının lisansını kontrol eden fonksiyon
def check_license():
# LicenseBox API'nin istek URL'si (A.com üzerinde LicenseBox kurulu olduğunu varsayalım)
url = "https://A.com/api/licenses/verify"
# API isteği için gereken header bilgileri
headers = {
"Authorization": f"Bearer {licensebox_api_key}",
"Content-Type": "application/json"
}
# API isteği için gerekli verilerin oluşturulması
data = json.dumps({"key": license_key, "product_id": licensebox_product_id})
# LicenseBox API'sine istek yapılıyor
response = requests.post(url, headers=headers, data=data)
# API yanıtı işleniyor
result = response.json()
# Lisans durumunu kontrol et
if result.get("status") == "active":
return True # Lisans geçerli
else:
return False # Lisans geçersiz veya hata
# Lisansı kontrol edin
if check_license():
print("Lisans doğrulandı. Uygulamayı kullanabilirsiniz.")
else:
print("Lisans doğrulanamadı. Uygulamayı kullanamazsınız.")
It will work with your own credentials :to check license key I created below codes regarding author documentation , it will use licensebox api as internal but with nulled version we dont have original api key and product id so If I enter any value in these areas ,code will work ?
Code:import requests import json # LicenseBox API anahtarı ve ürün ID'si licensebox_api_key = "YOUR_LICENSEBOX_API_KEY" licensebox_product_id = "YOUR_LICENSEBOX_PRODUCT_ID" license_key = "USER_LICENSE_KEY" # Kullanıcının lisans anahtarı # Kullanıcının lisansını kontrol eden fonksiyon def check_license(): # LicenseBox API'nin istek URL'si (A.com üzerinde LicenseBox kurulu olduğunu varsayalım) url = "https://A.com/api/licenses/verify" # API isteği için gereken header bilgileri headers = { "Authorization": f"Bearer {licensebox_api_key}", "Content-Type": "application/json" } # API isteği için gerekli verilerin oluşturulması data = json.dumps({"key": license_key, "product_id": licensebox_product_id}) # LicenseBox API'sine istek yapılıyor response = requests.post(url, headers=headers, data=data) # API yanıtı işleniyor result = response.json() # Lisans durumunu kontrol et if result.get("status") == "active": return True # Lisans geçerli else: return False # Lisans geçersiz veya hata # Lisansı kontrol edin if check_license(): print("Lisans doğrulandı. Uygulamayı kullanabilirsiniz.") else: print("Lisans doğrulanamadı. Uygulamayı kullanamazsınız.")
Can you guide with pictures? Thanks!It will work with your own credentials :
licensebox_api_key = "YOUR_LICENSEBOX_API_KEY"
licensebox_product_id = "YOUR_LICENSEBOX_PRODUCT_ID"
First: install the nulled version in one of your sub-domain. Then create your product and api key,
Second: thereafter create a fresh copy and go to :
application\core\core_init.php.
then fill these in line 49,50 and 51 which you have generated in first step.
$this->product_id = "your produt id";
$this->api_url = "your api url";
$this->api_key = "your api key";
It's like activating licensebox api from your own licensebox.
Third: now you save it and install it on any website and activate it with your own license key. Now you are the owner of this script and even sell it and activate it and monitor it..
Good Luck...!!!
def check_license(license_key, status_label):
if not license_key:
show_license_entry_warning()
return
envato_personal_token = "cFAKETOKENabcREPLACEME*******" # Envato kişisel erişim belirtecinizi buraya ekleyin
licensebox_product_id = "2******" # Licensebox ürün kimliğinizi buraya ekleyin
# Envato API'sini kullanarak lisansı doğrulama
envato_verification_result = verify_with_envato(license_key, envato_personal_token)
# Licensebox API'sini kullanarak lisansı doğrulama
licensebox_verification_result = verify_with_licensebox(license_key, licensebox_product_id)
# Her iki doğrulama sonucunu da değerlendirme
if envato_verification_result.get("status") or licensebox_verification_result.get("status"):
status_label.config(text="License successful! Thank you.")
else:
envato_message = envato_verification_result.get("message", "")
licensebox_message = licensebox_verification_result.get("message", "")
combined_message = "Envato: {}\nLicense Control: {}".format(envato_message, licensebox_message)
status_label.config(text=combined_message)
messagebox.showwarning("Invalid License", "The license key is invalid. The program will now close.")
def verify_with_envato(license_key, envato_personal_token):
url = "https://****/v3/market/author/sale?code="
headers = {
"Authorization": f"Bearer {envato_personal_token}"
}
params = {
"code": license_key
}
response = requests.get(url, headers=headers, params=params)
print(response.text) # Yanıtın metnini yazdır
result = response.json()
print("Envato API Response:", result) # API'den gelen cevabı yazdırma
return result
def verify_with_licensebox(license_key, licensebox_product_id):
url = "https://****.com/license/api/activate_license"
headers = {
"LB-API-KEY": "****4DA****", # Licensebox API anahtarınızı buraya ekleyin
"LB-URL": "https://*****.com",
"LB-IP": "127.0.0.1",
"LB-LANG": "english",
"Content-Type": "application/json",
}
data = {
"verify_type": "envato",
"product_id": licensebox_product_id,
"license_code": license_key,
}
response = requests.post(url, headers=headers, json=data)
result = response.json()
print("Licensebox API Response:", result) # API'den gelen cevabı yazdırma
return result
We get it, advertisements are annoying!
However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.
If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.