Rdbo
CICyber Info
•Created by Rdbo on 9/7/2023 in #❓︱support-requests
Resolve /app in Flatpak's /proc/<pid/maps
Hello, guys. I really need some help here, I have asked this in so many places and have never gotten a response. Basically, on Linux there's the
/proc/<pid>/maps
file which displays the paths of loaded modules. Something like this 50000000-5100000 rwx- /usr/lib/libc.so
. I have a program to parse that file which helps a lot in process injections and stuff. It works fine on most cases. But there is a problem with Flatpaks. They use a virtual path /app
to refer to the installation path of the Flatpak itself. I need a programmatic way to resolve the /app
path into a real path. E.g /app/myapp
should be like /home/some_user/.var/org.test.Test/mybin
. Maybe there's a way to disable this virtual path from Flatpak itself, or a way to resolve it using regular Linux APIs?6 replies