mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 23:06:32 +00:00
commit
b40dea29ad
@ -1117,7 +1117,7 @@ Details
|
|||||||
Exploiting the vulnerability requires a Linux/Unix system which saves backups via restic and
|
Exploiting the vulnerability requires a Linux/Unix system which saves backups via restic and
|
||||||
a Windows systems which restores files from the repo. In addition, the attackers need to be able
|
a Windows systems which restores files from the repo. In addition, the attackers need to be able
|
||||||
to create create files with arbitrary names which are then saved to the restic repo. For
|
to create create files with arbitrary names which are then saved to the restic repo. For
|
||||||
example, by creating a file named "..\test.txt" (which is a perfectly legal filename on Linux)
|
example, by creating a file named `..\test.txt` (which is a perfectly legal filename on Linux)
|
||||||
and restoring a snapshot containing this file on Windows, it would be written to the parent of
|
and restoring a snapshot containing this file on Windows, it would be written to the parent of
|
||||||
the target directory.
|
the target directory.
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ var cmdGenerate = &cobra.Command{
|
|||||||
Use: "generate [command]",
|
Use: "generate [command]",
|
||||||
Short: "Generate manual pages and auto-completion files (bash, zsh)",
|
Short: "Generate manual pages and auto-completion files (bash, zsh)",
|
||||||
Long: `
|
Long: `
|
||||||
The "generate" command writes automatically generated files like the man pages
|
The "generate" command writes automatically generated files (like the man pages
|
||||||
and the auto-completion files for bash and zsh).
|
and the auto-completion files for bash and zsh).
|
||||||
`,
|
`,
|
||||||
DisableAutoGenTag: true,
|
DisableAutoGenTag: true,
|
||||||
|
@ -36,7 +36,8 @@ The modes are:
|
|||||||
* raw-data: Counts the size of blobs in the repository, regardless of
|
* raw-data: Counts the size of blobs in the repository, regardless of
|
||||||
how many files reference them.
|
how many files reference them.
|
||||||
* blobs-per-file: A combination of files-by-contents and raw-data.
|
* blobs-per-file: A combination of files-by-contents and raw-data.
|
||||||
* Refer to the online manual for more details about each mode.
|
|
||||||
|
Refer to the online manual for more details about each mode.
|
||||||
`,
|
`,
|
||||||
DisableAutoGenTag: true,
|
DisableAutoGenTag: true,
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
|
@ -15,7 +15,7 @@ restic\-generate \- Generate manual pages and auto\-completion files (bash, zsh)
|
|||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.PP
|
.PP
|
||||||
The "generate" command writes automatically generated files like the man pages
|
The "generate" command writes automatically generated files (like the man pages
|
||||||
and the auto\-completion files for bash and zsh).
|
and the auto\-completion files for bash and zsh).
|
||||||
|
|
||||||
|
|
||||||
|
@ -40,7 +40,8 @@ raw\-data: Counts the size of blobs in the repository, regardless of
|
|||||||
how many files reference them.
|
how many files reference them.
|
||||||
.IP \(bu 2
|
.IP \(bu 2
|
||||||
blobs\-per\-file: A combination of files\-by\-contents and raw\-data.
|
blobs\-per\-file: A combination of files\-by\-contents and raw\-data.
|
||||||
.IP \(bu 2
|
|
||||||
|
.PP
|
||||||
Refer to the online manual for more details about each mode.
|
Refer to the online manual for more details about each mode.
|
||||||
|
|
||||||
.RE
|
.RE
|
||||||
|
Loading…
Reference in New Issue
Block a user