Poker-AI.org

Poker AI and Botting Discussion Forum
It is currently Mon Nov 13, 2023 12:51 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Oct 04, 2017 8:55 pm 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
I was experimenting with a few programs in the past few days. My main goal would be to hook some text functions and be able to get all the actions and names, other than that I wanted to change the background of an app, to make it easier to OCR the things that I can not get through hooks.

My first idea about the image thing was just to repackage the .apk with new images. Took some while to set everything up, sign the apk and so on, but when I was finally able to install it, it turned out that the app computes a checksum and will not connect to the server if it was changed.

After that I tried to use XPosed. I am able to hook some things, but XPosed can not hook native code it seems and I was also unable to change any ressources in the assets folder. The app mostly uses native code called from compiled LUA scripts. I am also unable to decrypt the .luac files, because I have no way of hooking the app at the moment and getting the key.
So that didn't work too well, but maybe someone has an idea what to do.

I tried to use frida later. I am able to hook some apps, but the one I need to hook uses ARM and somehow there is a mismatch between frida libraries and the ones the app uses. It's a shame, as it seems to offer everything that I would need.

Last thing that I tried was Cydia Substrate. That one didn't even install.

So yea, if anyone has any experience with this I would be happy about any tips. I can also share a bit more of my own experiences.


Top
 Profile  
 
PostPosted: Thu Oct 05, 2017 3:06 pm 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
Yesterday I tried the adbi library (not to be confused with adb) but I also had problems with ARM, even after changing some code, so that will probably not work either.


Top
 Profile  
 
PostPosted: Fri Oct 06, 2017 6:43 pm 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
Ok, I was able to use Frida on my actual phone, the problems only happen with emulators. I will see if I can get the relevant information, but as it seems not many are programming for android devices, so I will not update this thread further for now.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group