Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


I have a problem in encryption

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Liger
Cheater
Reputation: 0

Joined: 26 Jan 2019
Posts: 36
Location: don't have

PostPosted: Sat Jan 26, 2019 4:04 pm    Post subject: I have a problem in encryption Reply with quote

Is there anything that prevents a symbolic appearance after encryption
_________________
(^_^)


Last edited by Liger on Fri Feb 01, 2019 4:13 pm; edited 1 time in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sat Jan 26, 2019 4:24 pm    Post subject: Reply with quote

replace showMessage with a table containing functions you're calling

e.g:
Code:

bla={}
bla[223143]=showMessage
bla[223143]('test123')


And replace the lua files in your CE build with https://cheatengine.org/download/havefunwiththisluabuild.rar (And do use this to encode functions as well)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Liger
Cheater
Reputation: 0

Joined: 26 Jan 2019
Posts: 36
Location: don't have

PostPosted: Sun Jan 27, 2019 12:08 pm    Post subject: Reply with quote

Dark Byte wrote:
replace showMessage with a table containing functions you're calling

e.g:
Code:

bla={}
bla[223143]=showMessage
bla[223143]('test123')


And replace the lua files in your CE build with
Code:
https://cheatengine.org/download/havefunwiththisluabuild.rar
(And do use this to encode functions as well)



I did as I said and nothing changed

Did I do something wrong or what?

_________________
(^_^)


Last edited by Liger on Fri Feb 01, 2019 4:13 pm; edited 1 time in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sun Jan 27, 2019 1:22 pm    Post subject: Reply with quote

you have to add more unrelated functions to that array obviously
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Liger
Cheater
Reputation: 0

Joined: 26 Jan 2019
Posts: 36
Location: don't have

PostPosted: Sun Jan 27, 2019 1:59 pm    Post subject: Reply with quote

Can you give me an example


Because I want to use it to encrypt / Assemble script

_________________
(^_^)
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
AylinCE
Grandmaster Cheater Supreme
Reputation: 31

Joined: 16 Feb 2017
Posts: 1234

PostPosted: Sun Jan 27, 2019 2:26 pm    Post subject: Reply with quote

Liger wrote:
Can you give me an example


Because I want to use it to encrypt / Assemble script


The same is found if you search while the .CT is on.
Save the form as code and .cetrainer.
open and query, the result should be zero.
It was also shared so that the method you used could be developed.
you can find a top method on the following link. Wink

https://forum.cheatengine.org/viewtopic.php?t=609124

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sun Jan 27, 2019 2:35 pm    Post subject: Reply with quote

Code:

bla={}
bla[223143]=showMessage
bla[12345]=readInteger
bla[999999]=nonexistant
bla[223143]('test123')

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Liger
Cheater
Reputation: 0

Joined: 26 Jan 2019
Posts: 36
Location: don't have

PostPosted: Sun Jan 27, 2019 3:00 pm    Post subject: Reply with quote

Aylin wrote:
Liger wrote:
Can you give me an example


Because I want to use it to encrypt / Assemble script


The same is found if you search while the .CT is on.
Save the form as code and .cetrainer.
open and query, the result should be zero.
It was also shared so that the method you used could be developed.
you can find a top method on the following link. Wink

Code:
https://forum.cheatengine.org/viewtopic.php?t=609124



I followed what I said but even after extracting it in format CETRAINER
I can show what you've encrypted

_________________
(^_^)


Last edited by Liger on Fri Feb 01, 2019 4:14 pm; edited 1 time in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sun Jan 27, 2019 3:18 pm    Post subject: Reply with quote

you're likely attaching to the same process that did the original encoding
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
AylinCE
Grandmaster Cheater Supreme
Reputation: 31

Joined: 16 Feb 2017
Posts: 1234

PostPosted: Sun Jan 27, 2019 3:18 pm    Post subject: Reply with quote

Solve the following cetrain by the method you are using (CE-String).
If you can't solve it, it is coded by the method I gave above link.
.Cetrainer link:
https://www.dosyaupload.com/r0jR

But there are those who decode these encodings.
That is why the shared code is exemplary,
You should always write your own encryption code. Wink

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Liger
Cheater
Reputation: 0

Joined: 26 Jan 2019
Posts: 36
Location: don't have

PostPosted: Sun Jan 27, 2019 3:19 pm    Post subject: Reply with quote

Dark Byte wrote:
Code:

bla={}
bla[223143]=showMessage
bla[12345]=readInteger
bla[999999]=nonexistant
bla[223143]('test123')


Sorry for the inconvenience Embarassed

This method did not work with Auto Assemble script

It is easy to find the entire script even after encrypting it

As it is in the picture

_________________
(^_^)


Last edited by Liger on Fri Feb 01, 2019 4:15 pm; edited 1 time in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sun Jan 27, 2019 3:26 pm    Post subject: Reply with quote

then don't use one aa script. Split it up into little lua scripts that end up doing the same or partial aa scripts

also, add this code to your cetrainer main lua script
Code:

enableDRM()
z=getHandleList(3)
for i=1,#z do
  closeRemoteHandle(z[i].HandleValue, z[i].ProcessID)
end

and when creating .exe trainers add the driver to the package

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Liger
Cheater
Reputation: 0

Joined: 26 Jan 2019
Posts: 36
Location: don't have

PostPosted: Mon Jan 28, 2019 7:52 am    Post subject: Reply with quote

Dark Byte wrote:
then don't use one aa script. Split it up into little lua scripts that end up doing the same or partial aa scripts

also, add this code to your cetrainer main lua script
Code:

enableDRM()
z=getHandleList(3)
for i=1,#z do
  closeRemoteHandle(z[i].HandleValue, z[i].ProcessID)
end

and when creating .exe trainers add the driver to the package



This function does not work on system 32 bit

Code:
enableDRM()
z=getHandleList(3)
for i=1,#z do
  closeRemoteHandle(z[i].HandleValue, z[i].ProcessID)
end

_________________
(^_^)
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites