Downloading PowerShell as tar.gz payload requires users to have some dependencies on the machine.
The dependencies are inherited by .NET.
Existing PowerShell dependencies are outdated.
List of .NET dependencies can be found here
List of Powershell dependencies can be found here
PowerShell lists additional dependencies “liblttng-ust0, libcurl3, libunwind8, libuuid1”.
We can remove all of them.
Libcurl - .NET 5 removed libcurl dependency.
Libunwind - .NET 2.1 remove the libunwind dependency. Link to .NET commit
libuuid1, liblttng-ust0 – PowerShell is not using.
Downloading PowerShell as tar.gz payload requires users to have some dependencies on the machine.
The dependencies are inherited by .NET.
Existing PowerShell dependencies are outdated.
List of .NET dependencies can be found here
List of Powershell dependencies can be found here
PowerShell lists additional dependencies “liblttng-ust0, libcurl3, libunwind8, libuuid1”.
We can remove all of them.
Libcurl - .NET 5 removed libcurl dependency.
Libunwind - .NET 2.1 remove the libunwind dependency. Link to .NET commit
libuuid1, liblttng-ust0 – PowerShell is not using.