
| Current Path : /var/www/web-klick.de/dsh/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/web-klick.de/dsh/uui |
if arg ~= nil and arg[1] == "decodeorder" then
local x = App:new(1)
html_parameter = arg[2]
local pos = string.sub(html_parameter,1,1) -- Hineincodieren der serial number modulo 4096
pos = "0x" + pos
pos = tonumber(pos) + 2
local a1 = string.sub(html_parameter,1,pos)
local a2 = string.sub(html_parameter,pos+2,pos+2)
local a3 = string.sub(html_parameter,pos+4,pos+4)
local a4 = string.sub(html_parameter,pos+6)
local sk1 = string.sub(html_parameter,pos+1,pos+1)
local sk2 = string.sub(html_parameter,pos+3,pos+3)
local sk3 = string.sub(html_parameter,pos+5,pos+5)
html_parameter = a1 .. a2 .. a3 .. a4
print( sk1 .. sk2 .. sk3 .. x:decrypt(pub_key1,html_parameter) )
end