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

[Dolphin] Follow Symbolic Link for Filetype #254

Open
ghost opened this issue Aug 7, 2022 · 0 comments
Open

[Dolphin] Follow Symbolic Link for Filetype #254

ghost opened this issue Aug 7, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 7, 2022

In the example bellow I linked a bash script with a symbolic link called file.pdf of which the pdf extension hides the real file type, this could be used to trick an unsuspecting victim if abused. the fix for this would likely be to follow the symlink to the pointed file and display it's real file type.
example

an alternative approach would be to use something like libmagic to identify all files by the file contents and use MAGIC_SYMLINK to follow the symlink with .extentions as fall back for unknown file types.

@ghost ghost changed the title Follow Symbolic Link for Filetype [Dolphin] Follow Symbolic Link for Filetype Aug 7, 2022
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

No branches or pull requests

0 participants