Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gui shortcut files of users #195

Merged
merged 1 commit into from
Jan 20, 2024
Merged

gui shortcut files of users #195

merged 1 commit into from
Jan 20, 2024

Conversation

Herbert-Karl
Copy link
Contributor

while playing around with detecting use of linpeas, I stumbled upon desktop shortcut files (stored e. g. under ~/.local/share/RecentDocuments/ )

one example of its content:

user@system:~/.local/share/RecentDocuments$ cat linpeas_linux_amd64.desktop 
[Desktop Entry]
Icon=application-x-executable
Name=linpeas_linux_amd64
Type=Link
URL[$e]=file:$HOME/Downloads/linpeas_linux_amd64
X-KDE-LastOpenedWith=

(file downloaded via browser and Download folder opened via Browser popup)

I didn't directly find much documentation on them, but they seem to be a kind of shortcut and standardizes by freedesktop / XDG ( https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html ).

They are bound to the system being used with a (modern) GUI.
I stumbled on it, because one of the files pointed me to a linpeas binary which I had downloaded via browser.
They appear to be removed when the file that its pointing to does not exist anymore.

Copy link
Owner

@tclahr tclahr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Thanks!

@tclahr tclahr merged commit be3db99 into tclahr:develop Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants