This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
# Reproduce btrfs receive exposure of files outside path | |
# Background: assume two clients Alice and Mallory are using btrfs send to | |
# send snapshots to a single server for backup. Each client has their | |
# own directory on the server and the server always receives into a path | |
# starting at their own directory. This script demostrates that Mallory can | |
# get access to Alice's files if he knows Alice's subvolume UUID. | |
CHROOT="-C" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...lots of stats removed... | |
2016/07/15 04:44:33 | |
Transferred: 18.702 GBytes (877.377 kBytes/s) | |
Errors: 11 | |
Checks: 1 | |
Transferred: 48 | |
Elapsed time: 6h12m30.7s | |
Transferring: | |
* DARsystemFull.4.dar.gpg: 59% done. avg: 275.5, cur: 68.4 kByte/s. ETA: 2h26m4s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Offset Size Content | |
------ ----- ---------------------------------- Header Block, Size 0x1004 (4100) bytes --------------------------------------------- | |
0x0000 2 byte 0x1701 Constant. | |
0x0000 126 byte All Nulls.Constant | |
------ ----- ---------------------------------- This next part is rewritten when playback completes/pauses | |
It seems to contain information about the recording | |
0x0080 string 254 byte max Recording file path e.g. "/media/sda1/My Video/" (not needed when creating hmt) | |
0x017F string 256 byte max Recording date-extended file name e.g. "The One Show_21010816_1817" | |
0x0280 4 byte 0x11223344 Recording start time (Epoch format) | |
0x0284 4 byte 0x11223344 Recording end time (Epoch format) |