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?
CF
Cyber Forum221d ago
Post created!
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord 🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Forum Profile" role in <id:customize> ✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution (if you don't see the option, try refreshing Discord with Ctrl + R)
From An unknown user
R
Rdbo221d ago
Before someone says something, yes, I have asked this in the Flatpak forum (no reply as of now): discourse . flathub . org/t/resolve-real-path-of-app-from-proc-pid-maps/5101
W
w33t221d ago
Flathub Discourse
Resolve real path of /app from /proc//maps
Hello, I have a separate program that parses /proc//maps and returns the loaded modules. It seem though that all Flatpak apps do not show the real path of the modules, instead it shows /app/libsomething.so for example. I need to find a way to get the real path of the modules, either by resolving /app in some way or have Flatpak show the real pat...
W
w33t221d ago
But man, this is definitely way over my head. Whenever I get a free moment, I'll see if maybe I can dig up something, but truthfully you've probably already looked at everything I'd dig up and you've probably got more experience with this specific thing Very interesting question, though. Let me know if they get back to you on the flatpak forum
More Posts
virus not getting detected svchost.exe filei have a virus on my computer, its not getting detected by Kaspersky, windows defender or virustotalHello everyoneI need access to a bot's steam accountSnort Struggles: How to detect the FTP service name?I am muddling through learning Snort and feeling a bit daft. I'm trying to write a rule that allows Hi there, I am having an issue with my instagram account, its hacked. can you help with this.Hi there, I am here to bring this into your notice that my account is hacked few days ago. i can't rNeed some help answering this questionI have answered it but It's mostly wrong im pretty sure would just appreciate someone to help me outIdk if im wording this right.I was wondering if someone could kinda guide or teach me a little about code stuff. Maybe just enoughow to set up a proxy?So im living here in Delhi, India and I have wifi connection in Mumbai, india how can I use that wifNeed help choosing what to do for my future in cybersecurity (PLEASE READ)Im a full time college student getting my bachelors in IT and cyber , i do 40 hrs a week in college,hello i'm violet how can i learn cybersequrityEthical Hacking ReportI want someone to look through this please and give me suggests on improvementsI wanna learn ethical hackingHi, i cant disclose my name because i dont want to but you can refer me as unknown. I have some knowwanting to learn Cyber securityHI my name is sal, and i wanted to ask if any know someone and is a mentor on teaching me cyber secu