ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
okay
Snusmumriken
And answer now: what you exactly want? How it should work?
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
yess
Andrey
мб он достаточно напугался и не станет кулхакцером!
Snusmumriken
Ничо, мне уже интересно какой магией он собрался хакать
Andrey
ставлю, что ему 9-10 лет
Snusmumriken
Нет, ему 15-17, я его когда-то уже спрашивал.
Snusmumriken
Это почти Тони, но англоязычный.
Snusmumriken
Точнее, из Малайзии или откуда-то отсюда
Andrey
так а что он пишет-то?
mva
да, что-то, вот, хз
mva
у меня у пятилетней дочери меньше проблем с логикой, чем у него
mva
может, конечно, виноват языковой и культурный барьер, но всё же...
mva
yess
would you ever tell us why on the earth you was needed to assign anything to the numbers?
Anonymous
1. Variable names cannot start from number symbols. foo1 = 100 -- okay 1foo = 100 -- no 200 = 100 -- no 2. io.write accepts only one arg. io.write("100\n") -- ok io.write("100"); io.write("\n") -- ok io.write("100", "\n") -- no
как раз write поддерживает многа многа параметров, чтобы луа не страдал фигней и не соединял строки на своей стороне
Anonymous
а персонаж забавный, посмеялся бы, будь он чуть умнее
Igor
Хмм, надо проверить, я просто с телефона.
Да, варарги принимает io.write, но только строчные аргументы можно передавать, ну или числовые. Это хоть и избавляет со стороны луёв от лишней конкатинации, но добавляет ровно столько же IO операций по записи, сколько аргументов передано было. Я вообще об этом случайно узнал пару лет назад, когда решил посмотреть, как работает функция io.write в целом.
Igor
Код от Lua 5.3, если что
Igor
Но там во всех версиях примерно такая же фигня наворочена
Igor
ого вот это п*. после meltdown-ов бы еще syscall-ы накручивать...
Сам не сильно понял, зачем они вот так вот всё это навертели
Snusmumriken
Inscript "protection" it's nuts. Also user can easily hack it.
Snusmumriken
Base64 encryption, yea. Use plain text instead.
Snusmumriken
Luacoffee also looks like bit representation (like char -> bin -> replace 0/1 by stuff). I will try to decode it little later : )
Snusmumriken
Did you know the difference between encoding and encryption?
Snusmumriken
How what?
Snusmumriken
"how the difference" - it's incorrect. I will not explain it to you, my answer will not changed: google it. And respond me what is this difference.
Snusmumriken
Yes I can : )
Snusmumriken
Anyone can.
Snusmumriken
Have patience.
Snusmumriken
Easy. 1. I was restore "X" function (it's simple string split) 2. What is Mercy? Vikary maybe? 3. I was print what you "load" : ) 4. 'Xx' was not defined, so it's simple empty string.
Snusmumriken
No.
Snusmumriken
It's not an encryption. it's encoding.
Snusmumriken
Until you understand the difference, I will decode everything you write in the same way.
Snusmumriken
Omg 10mb of trash
Snusmumriken
It's not encrypted, just lua 5.2 bytecode.
Snusmumriken
So it can be decoded with this stuff: https://github.com/viruscamp/luadec But I'm too bored to compile it : )
Snusmumriken
Yes, it's easy but I'm bored to search lua5.2 packages, downloading of vs2013 and compile it with stuff. Losing of 2-3 hours for trash.
Snusmumriken
But still easy. It's not an ENCRYPTION.
Snusmumriken
First answer, what is the difference between encoding and encryption. I am not a circus clown who entertains you and spends his time on your stuff. There are limitations. And while you have not taken a single action in order to understand this difference, the clown is resting.
Snusmumriken
For what? I don’t want to see the crowd of morons who write to me to "decrypt" some trash to them. So what do you understand about encoding and encryption?
Igor
Думаю тут бесполезно объяснять разницу между кодированием и шифрованием)
Igor
Он всё равно не сильно-то и понимает
Snusmumriken
Я жду пока не загуглит. Ну там, прочитает про какие-нибудь ключи, открытые/закрытые, бла-бла.
Igor
Судя по тому, что писал выше, даже если и загуглит, то вряд ли что-то поймёт
Snusmumriken
Ну вот пущай напишет хоть что-нибудь )) Пока я увидел только попытку заставить меня декодировать то, что он не может декодировать.
Snusmumriken
Don't waste my time, what is the difference?
Snusmumriken
What? Ok, first: 1. What is encryption? 2. What is encoding? 3. What the difference?
Igor
хе
Igor
я ж говорил, не поймёт :D
Snusmumriken
Да, чот совсем туповат. Тони дубль два.
Igor
хехе
Snusmumriken
Yeah, looks like this. So how do people do it? Keys maybe? Tables of encoding?
Snusmumriken
Easy. 1. I was restore "X" function (it's simple string split) 2. What is Mercy? Vikary maybe? 3. I was print what you "load" : ) 4. 'Xx' was not defined, so it's simple empty string.
This is the "Caesar cipher", with decoding table near encrypted stuff. It's bad, bad "encryption". https://en.wikipedia.org/wiki/Caesar_cipher
Snusmumriken
Anyone can "decrypt" this, especially if the decryption table is in front of our eyes.
Igor
Про AES и прочее только не рассказывай, а то сломаешь его)
Snusmumriken
Про AES и прочее только не рассказывай, а то сломаешь его)
В этом я сам не шарю в подробностях, пересылаю plain text по TCP и радуюсь жизни.
Snusmumriken
GG and Revo stuff : )
Igor
Хе, аналогично. Ну я чуть-чуть в принцип работы AES углубляться пытался, но чёт стало скучно
Snusmumriken
Like this. It's special GG encryption. For GG only. GG has own private keys for decrypting this.
Snusmumriken
So use it.
Snusmumriken
Anyway use it
Snusmumriken
NO
Snusmumriken
Because I don't develop solutions, teaching by questions only.
Snusmumriken
It's not strong, it's also encoding, not an encryption.
Snusmumriken
No, it's also 5.2 bytecode.
Snusmumriken
No, learn yourself.
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
Anonymous
Thats why devs use code obfuscation, because this """encoding""" of source code can easily be "broken" by anyone who actually understands more than 2 lines of code at a time
Snusmumriken
Try to "decrypt" this
Snusmumriken
It's also simple but funny
ᴠɪᴋᴀʀɪ ʜᴏɴᴇsᴛ
Snusmumriken
Very simple
Anonymous
why do you even want to hide your code?
Anonymous
so you control the running application?
Snusmumriken
Very simple
Hmm, I can make obfuscator for it. 🤔