Hi, I have an application that I would love to modify a Qt resource that is compiled into the executable. I used this script right here to decompress/extract the resource files, but there is no way re-reimport them, this is the script I used.
https://github.com/axstin/qtextract
Is this possible to do with quickbms?
Is it possible to edit/modify compressed QT Resources?
-
- Posts: 13
- Joined: Thu May 14, 2015 8:09 pm
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Is it possible to edit/modify compressed QT Resources?
In theory it would be possible to extract and replace the resource from the executable with tools like resource hacker, and then parsing the dumped resource with a quickbms script.
The format looks quite simple, do you have a sample to analyze?
The format looks quite simple, do you have a sample to analyze?
-
- Posts: 13
- Joined: Thu May 14, 2015 8:09 pm
Re: Is it possible to edit/modify compressed QT Resources?
First of all, thank you for responding!
I tried using resource hacker but the file system is embedded.
I'm interested in the themes/DarkTheme.json file
Download Link:https://drive.google.com/uc?export=download&id=1ea8ARWy8KjTdqU9xgaEZoLqSxZRpUKEl
I tried using resource hacker but the file system is embedded.
I'm interested in the themes/DarkTheme.json file
Download Link:https://drive.google.com/uc?export=download&id=1ea8ARWy8KjTdqU9xgaEZoLqSxZRpUKEl
-
- Posts: 13
- Joined: Thu May 14, 2015 8:09 pm
Re: Is it possible to edit/modify compressed QT Resources?
aluigi wrote:In theory it would be possible to extract and replace the resource from the executable with tools like resource hacker, and then parsing the dumped resource with a quickbms script.
The format looks quite simple, do you have a sample to analyze?
CC'd I updated the thread!
-
- Posts: 13
- Joined: Thu May 14, 2015 8:09 pm
Re: Is it possible to edit/modify compressed QT Resources?
Hi sorry to bump, any updates or leads that will point me in the right direction?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Is it possible to edit/modify compressed QT Resources?
The main problem is locating the archived data in the resources, that's why that lua script is a bit complicated with its searching function.
What I mean is that it's not just a standalone archive.
And since it's in a PE resource it would make it even more complicated to edit it using new files which are bigger messing everything.
What I mean is that it's not just a standalone archive.
And since it's in a PE resource it would make it even more complicated to edit it using new files which are bigger messing everything.