English | Magyar
JS ki | CSS ki | Ékezetek ki | HiContrast
Lapozó:  (0 - 1424) 
<== | ==>
Ugrás a végére | Összes megjelenítése | Utolsó oldal
OpenOpera patches | Opera-SSL patches | Opera 12.15 source (Git repository) | Opera 12.15 source (Torrent) | Opera internal pages | Otter Browser Linux x64 - Qt5.15.2/QtWebKit5.602.1 (2024.04.27. 20:05)
OS for MC680x0 | OS for PPC | OS for Sparc64 | besztofbégéaefcé | CSÉNDZSLOG | WebToolz | DDG Shit Filter | Google Shit Filter | Progz | Fast CSS Box | Browser | OS | Agent | Statisztika | BBCode
Monospace font-family: Courier New | Browser default monospace
Email értesítő / Email notification ===> 
Keresés
Σ: 1 post

miklos_akos  (statz) Lófasz
#7, Lófasz (871)
1827 | #5801 | ^ | Idézet | Sun, 21 May 2023 19:47:45 +02
185.187.*.* Apple Mac OS X x86 Mozilla Firefox Unknown *.75.187.185.dialin.segfault.club
Nnnnaaa, megtudtam, hogy letezik egy orosz fejlesztesu modolt Ubuntu disztro Uncom OS neven. Ez eddig nem is lenne meme, de az aktivalasi rendszer az.
A rendszer a /usr/bin alatt szallit egy uncom-activate nevu python scriptet, ami egy valamit figyel aktivalaskor: a szerver JSON valaszkent visszaadja-e ezt: {'is_activated': True}

Szoval kb 5 perc utan gyartottam hozza aktivatort aminek a source codeja konkretan annyi, hogy ha meghivod a domain.tld/activate_key url-t egy POST requesttel akkor visszadobja barmilyen serialra a vart valaszt, plusz valami check_keyt is implementaltam, fogalmam sincs mit csinal azon kivul, hogy a script egy {is_activation_valid: True} valaszt var vissza.
from flask import Flask, request
import json
app = Flask(__name__)
@app.route("/activate_key",methods = ['POST','GET'])
def activ():
    data_out = {'is_activated': True, 'is_activation_valid': True}
    return json.dumps(data_out),200,{'Content-Type':'application/json'}
@app.route("/check_key",methods = ['POST','GET'])
def check():
    data_out = {'is_activation_valid': True}
    return json.dumps(data_out),200,{'Content-Type':'application/json'}
@app.route("/")
def mainpage():
    return "run sudo apt update and sudo apt upgrade -y before proceeding, then open up /usr/bin/uncom-activate and change LICENSE_SERVER_URL to https://domain.tld and just click Activate.",200

app.run()

Ja es mivel a Flask app minden esetben a vart valaszt adja vissza, az aktivator elfogad URES serialt is.
XDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD


English | Magyar
JS ki | CSS ki | Ékezetek ki | HiContrast
Lapozó:  (0 - 1424) 
<== | ==>
Ugrás a végére | Összes megjelenítése | Utolsó oldal
OpenOpera patches | Opera-SSL patches | Opera 12.15 source (Git repository) | Opera 12.15 source (Torrent) | Opera internal pages | Otter Browser Linux x64 - Qt5.15.2/QtWebKit5.602.1 (2024.04.27. 20:05)
OS for MC680x0 | OS for PPC | OS for Sparc64 | besztofbégéaefcé | CSÉNDZSLOG | WebToolz | DDG Shit Filter | Google Shit Filter | Progz | Fast CSS Box | Browser | OS | Agent | Statisztika | BBCode
Monospace font-family: Courier New | Browser default monospace
Email értesítő / Email notification ===> 
Keresés

Név: (max 255 byte)

Email: (max 255 byte) Nem kötelező!

Üzenet: (max 65536 kar.) 65536-0=65536




crap_vkn v4.34.0 by TCH
Thx to saxus for the escaped string decoder function (PHP), the realIP function (PHP) & the SQL handle layer (PHP), to thookerov for the int_divide function (PHP), to Jeff Anderson for the getSelText function (JS), to Alex King for the insertAtCursor function (JS), Flood3r for the new CSS styles, Pety for the spamprotection idea and some design and comfort ideas, MaxMind for the IP2Country database, famfamfam for the flags of countries and an unknown PHP programmer for the removeAccents function.



Kecskebaszók ide!