The Wayback Machine - https://web.archive.org/web/20201114034513/https://github.com/topics/extract
Skip to content
#

extract

Here are 545 public repositories matching this topic...

coolaj86
coolaj86 commented Sep 29, 2020

I was able to confirm that os.Create() will happily follow symlinks.

Although standard tools like tar will not likely allow you to add two files with the same name to an archive file, it's certainly easy enough to do in code. This means that we need to add an additional check before writing to a destination to make sure that it's not a symlink outside of the destination.

The vulnerab

hellishvictor
hellishvictor commented Apr 26, 2020

Hi, the program creates a file on:
C:\Users\USERNAME\AppData\Local\LessMsi\lessmsi-gui.exe_Url_2f40pggqe2qwc3oufnjnqq0l3gqel3k3\1.6.91.0\user.config

It would awesome if it were created only on the same folder where the executable is, so that it can be used as portable on a USB pendrive, and without leave traces.
Cheers.

Improve this page

Add a description, image, and links to the extract topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the extract topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.