Enum SymlinkExtractAction
pub enum SymlinkExtractAction
Symlink extract action
Variants
-
NoExtract Omit symlinks.
-
ExtractAsFile Convert symlinks to text file
-
ExtractAsFileUtf8 Convert symlinks to text file as utf8
-
ExtractRecursiveInFolder Extract symlinks if the recursive target is in the destination folder (default on Unix and Windows, but not possible on other platforms).
-
ExtractInFolder Extract symlinks if the direct target is in the destination folder (i.e. it can point to a pre-existing symlink that in turn points outside the folder).
-
ExtractNoRestrictions Extract symlinks with no restrictions.
On Windows, creating a symlink requires that we know whether the target is a file or directory. To determine that, this option will open the file metadata of the target path, which will cause NTLMv2 authentication to be sent if the target is on an SMB network share. This may be a security risk, because it allows relay attacks and offline cracking. WebDAV is also vulnerable, but only when a file host in the Intranet Zone is already compromised.
Trait Implementations
impl Clone for SymlinkExtractAction
fn clone(&self) -> Self
impl Copy for SymlinkExtractAction
impl Debug for SymlinkExtractAction
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for SymlinkExtractAction
fn default() -> Self