mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-07-04 21:37:47 +02:00
fix(archive): correct flat-layout path and entry-count wording
Drop the phantom <basename>/ level for flat-layout installs (profileDir == root), say "entries" not "files" (count is per source path), and add ZipDir/Unzip (>1MB, empty, Zip-Slip) + flat-layout tests.
This commit is contained in:
@@ -36,7 +36,7 @@ func archiveCmd() *cobra.Command {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
log.Infof("Archived %d file(s) to %s", n, outputPath)
|
||||
log.Infof("Archived %d entries to %s", n, outputPath)
|
||||
return nil
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user