AdguardTeam / AdGuardVPNCLI

AdGuard VPN command-line version
https://adguard-vpn.com/
68 stars 1 forks source link

Extracting .tar.gz archives doesn't create a subdirectory #29

Closed ainar-g closed 1 month ago

ainar-g commented 5 months ago

Please answer the following question for yourself before submitting an issue

AdGuard VPN CLI version

AdGuard VPN CLI v0.99.76

Environment

Issue Details

Steps to reproduce:

  1. Download the .tar.gz archive provided on the Releases page on GitHub.
  2. tar -f ./archive.tar.gz -v -x -z.

Expected Behavior

A subdir is created, and the files are extracted there. E.g.:

adguardvpn-cli/adguardvpn-cli
adguardvpn-cli/adguardvpn-cli.sig

Actual Behavior

A subdir is not created, a potential tarbomb:

adguardvpn-cli
adguardvpn-cli.sig

Screenshots

Screenshot 1

Additional Information

No response