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 


CEserver's speedhack has no effects on programs

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Daswf852
How do I cheat?
Reputation: 0

Joined: 27 Aug 2017
Posts: 9
Location: Andromeda galaxy

PostPosted: Mon Sep 04, 2017 3:35 am    Post subject: CEserver's speedhack has no effects on programs Reply with quote

As the title says, ceserver (running as su of course) has no speedhack effect on programs.
Both ceserver and libceserver-extension.so have read write and execute permissions on all users and the apps im targeting are 64 bit. I'm running Linux 4.10.0-33-generic kernel on Linux Mint 18.2 'Sonya'.

Additional info:
There are no errors when i set speed multipliers and ceserver output is:
gist(dot)github(dot)com/Daswf852/a6e95b19db8e06d92f58c31373e92935
(there are 54k lines soo pastebin wouldnt accept that big of a file...)

P.S: sorry for avoiding me not being able to post links but the log is pretty damn big...

_________________
> "Your password must be no more than 32 characters."
> Doesn't accept 32 characters
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 342

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

PostPosted: Mon Sep 04, 2017 3:51 am    Post subject: Reply with quote

Not sure.
libceserver properly gets injected into the target and communicates as it should

perhaps the program's you've targeted use another function besides gettimeofday and clock_gettime

check the disassembler to see if those functions are hooked

selinux is permissive ?

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
Daswf852
How do I cheat?
Reputation: 0

Joined: 27 Aug 2017
Posts: 9
Location: Andromeda galaxy

PostPosted: Mon Sep 04, 2017 6:19 am    Post subject: Reply with quote

[email protected] ~/ceserver $ getenforce
Disabled

I tested on firefox and java
And could you guide me on how to see if the functions are hooked?

Sorry for late reply :/

_________________
> "Your password must be no more than 32 characters."
> Doesn't accept 32 characters
Back to top
View user's profile Send private message
Daswf852
How do I cheat?
Reputation: 0

Joined: 27 Aug 2017
Posts: 9
Location: Andromeda galaxy

PostPosted: Tue Sep 05, 2017 12:48 am    Post subject: Reply with quote

//Bump
_________________
> "Your password must be no more than 32 characters."
> Doesn't accept 32 characters
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 342

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

PostPosted: Tue Sep 05, 2017 1:58 am    Post subject: Reply with quote

try testing on an actual game instead of emulators like browsers and java. speedhack often doesn't work well on those, even in windows

and to check if it's hooked open memory view and go to the address of 'gettimeofday' and check if there is a jmp there after activating speedhack

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
Daswf852
How do I cheat?
Reputation: 0

Joined: 27 Aug 2017
Posts: 9
Location: Andromeda galaxy

PostPosted: Tue Sep 05, 2017 4:08 am    Post subject: Reply with quote

I tried using a real 'game' which is The Powder Toy, it seemed to have no effect.
I made a small program that explicitly uses gettimeofday (can be seen in attachment) and got the error in the image...
I'm not sure on how to find where gettimeofday in a large application which doesn't explicitly uses gettimeofday in the source code, please help me out on that Smile

Note: the app i wrote is 64 bits soo idk why the error was given



Screenshot from 2017-09-05 12-36-00.png
 Description:
 Filesize:  109.4 KB
 Viewed:  2021 Time(s)

Screenshot from 2017-09-05 12-36-00.png



_________________
> "Your password must be no more than 32 characters."
> Doesn't accept 32 characters
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 342

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

PostPosted: Tue Sep 05, 2017 4:14 am    Post subject: Reply with quote

don't run your program inside a debugger as that may block the .so injection

and to find the address open memory view, select the disassembler, press ctrl+g and type in
Code:

gettimeofday

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
Daswf852
How do I cheat?
Reputation: 0

Joined: 27 Aug 2017
Posts: 9
Location: Andromeda galaxy

PostPosted: Tue Sep 05, 2017 5:05 am    Post subject: Reply with quote

All apps I test do get injected but still has no effect...


Screenshot from 2017-09-05 13-37-57.png
 Description:
 Filesize:  147.98 KB
 Viewed:  2012 Time(s)

Screenshot from 2017-09-05 13-37-57.png



_________________
> "Your password must be no more than 32 characters."
> Doesn't accept 32 characters
Back to top
View user's profile Send private message
Daswf852
How do I cheat?
Reputation: 0

Joined: 27 Aug 2017
Posts: 9
Location: Andromeda galaxy

PostPosted: Wed Sep 06, 2017 3:21 am    Post subject: Reply with quote

Update: I filled gettimeofday with nops to see if it would effect anything, nope filling gettimeofday with nops dont do anything.

maybe the memory isnt actually being edited? Well that wouldnt be the case since i can change variables with memory scanning...

EDIT: changes are saved in memory, after restarting cheatengine and ceserver they are visible on the memory view (as a nop sled) soo I'm now more confused..

_________________
> "Your password must be no more than 32 characters."
> Doesn't accept 32 characters
Back to top
View user's profile Send private message
Daswf852
How do I cheat?
Reputation: 0

Joined: 27 Aug 2017
Posts: 9
Location: Andromeda galaxy

PostPosted: Thu Sep 07, 2017 2:44 am    Post subject: Reply with quote

Bump
_________________
> "Your password must be no more than 32 characters."
> Doesn't accept 32 characters
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 342

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

PostPosted: Thu Sep 07, 2017 4:15 am    Post subject: Reply with quote

I have no idea. Perhaps it's using a different version of gettimeofday (e.g a built-in one)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
Daswf852
How do I cheat?
Reputation: 0

Joined: 27 Aug 2017
Posts: 9
Location: Andromeda galaxy

PostPosted: Thu Sep 07, 2017 5:41 am    Post subject: Reply with quote

Well, thanks for help... I guess I can't speedhack in linux... But why is the same result given in all applications?

Update, I downloaded a copy of slacko linux iso and booted it in a virtual machine, the app, powder toy, which i ran on both systems, got succesfully injected and speedhack worked.

I'll try out a larger iso and a fresh install of linux mint when i get back home and have unlimitied itnernet (I'm limited to 10 gigs of mobile data...)

_________________
> "Your password must be no more than 32 characters."
> Doesn't accept 32 characters
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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